You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just recently discovered joblib, and I had a few quick questions.
When I set n_jobs=-1 in multiprocessing, python uses 8 threads on my quad-core macbook pro. But with joblib.Parallel(n_jobs=-1), it appears to be using only 4 threads? This the same function, just called via joblib. The only reason I'm asking is that the sklearn random forests implementation (which presumably runs on top of joblib.parallel) uses all 8 threads. Am I doing something wrong?
How do you specify the "chunk size" using joblib.Parallel?
The kernel frequently dies when running joblib.Parallel in ipython notebook, although I've never had any such issues when running sklearn. Are there some tricks I should be aware of?
Thanks,
Vishal
The text was updated successfully, but these errors were encountered:
Hi,
I just recently discovered joblib, and I had a few quick questions.
Thanks,
Vishal
The text was updated successfully, but these errors were encountered: