benchopt.parallel_backends.get_worker_config


benchopt.parallel_backends.get_worker_config#

benchopt.parallel_backends.get_worker_config(solver)#

Return the parallel config of the workers that run solver.

On the front node of a dask or submitit run, return the parallel config with its backend. With submitit, it is the SLURM config of the solver’s jobs, merged with its slurm_params and slurm_* parameters. Return None when the runs are on the local machine.