Skip to content

BUG: n_jobs=None not handled properly anymore in Parallel #1473

@larsoner

Description

@larsoner

At least on my machine and implicitly in MNE-Python tests:

>>> import joblib
>>> with joblib.parallel_config('loky', n_jobs=2):
...     print(joblib.Parallel(n_jobs=None).n_jobs)
... 
1
>>> with joblib.parallel_config('loky', n_jobs=2):
...     print(joblib.Parallel().n_jobs)
... 
2
>>> joblib.__version__
'1.3.1'

No idea why it happens. On my machine it's from PyPI on Linux.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions