question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Parallel(n_jobs=5)]: Using backend SequentialBackend with 1 concurrent workers.

See original GitHub issue

When I put nested parallel jobs I get the following message: [Parallel(n_jobs=5)]: Using backend SequentialBackend with 1 concurrent workers.

Which does not allow me to run some part of the code in parallel, how can I fix it?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tomMoralcommented, Oct 11, 2019

It seems like your program is trying to serialize the backend object. One you have set the backend object in the outer most call to Parallel, it will be passed automatically to the children so you don’t need to set it in the inner call. Does this solve your issue?

0reactions
tomMoralcommented, Oct 14, 2019

Great! Thanks for the feedback.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What needs to be done to make n_jobs work properly on ...
n_jobs = 8, perf_counter = 1.465600558090955 ([Parallel(n_jobs=1)]: Using backend SequentialBackend with 1 concurrent workers.) n_jobs = 12, ...
Read more >
Using backend SequentialBackend with 1 concurrent workers
I was trying to execute the following code as given here in my Jupyter notebook: fig = raw.plot_psd(tmax=np.inf, fmax=250, average=True) ...
Read more >
How to increase parallel jobs while training?
Fitting 2 folds for each of 6 candidates, totalling 12 fits [Parallel(n_jobs=1)]: Using backend SequentialBackend with 1 concurrent workers.
Read more >
Using backend LokyBackend with 4 concurrent workers.
I have "Using backend LokyBackend with 4 concurrent workers" written when I am using GridSearchCV. According to me, this has to do something...
Read more >
Python for Support Vector Machines - RPubs
... return_train_score=False, scoring=None, verbose=1) [Parallel(n_jobs=1)]: Using backend SequentialBackend with 1 concurrent workers.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found