-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Improving parallelization user guide #5407
base: main
Are you sure you want to change the base?
Conversation
The ``delayed`` call prevents ``load_and_threshold`` from executing immediately | ||
while setting up the parallel processing. Instead, it becomes a task that can | ||
be scheduled. Setting ``n_jobs`` to ``-1`` tells ``joblib`` to use all cores | ||
available. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By experience, I prefer -2, all cores minus one, to do not freeze/overload the computer.
a) parallelizing computation and b) reducing the amount of memory | ||
used at any point in time. | ||
|
||
``dask`` has tbe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it is a WIP :)
Awhile back I was doing some benchmarking for dask-image and had also looked at Maybe this would be something to make a wiki page for: |
Description
Improves parallelization user guide. Closes #1578.
For reviewers
later.
__init__.py
.doc/release/release_dev.rst
.