Skip to content

sc.external.pp.magic: what is n_jobs's default _really_? #2387

Open
0 of 1 issue completed
Open
@alexlenail

Description

@alexlenail

scanpy docs:

n_jobs : Optional[int] (default: None)
Number of threads to use in training. All cores are used by default.

magic docs:

n_jobs (integer, optional, default: 1) – The number of jobs to use for the computation. If -1 all CPUs are used. If 1 is given, no parallel computing code is used at all, which is useful for debugging.

scanpy code:

n_jobs = settings.n_jobs if n_jobs is None else n_jobs

n_jobs=1,

I'm guessing the scanpy docs are wrong when they say "All cores are used by default." ?

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions