dask-jobqueue icon indicating copy to clipboard operation
dask-jobqueue copied to clipboard

Potentially confusing information about `processes` in the docs

Open Andrew-S-Rosen opened this issue 1 year ago • 1 comments

The docs state

By default Dask will run one Python process per job

However, the docstring for processes says by default it is sqrt(cores). I suppose if cores is 1, the first statement is indeed true, but it can give a false impression.

Andrew-S-Rosen avatar Mar 07 '24 08:03 Andrew-S-Rosen

Once again you are right, documentation should be updated, since we rely on https://github.com/dask/distributed/blob/main/distributed/deploy/utils.py#L16 to compute the default number of processes.

guillaumeeb avatar Mar 08 '24 09:03 guillaumeeb