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
{{ message }}
Repository navigation
Support configuring the multiprocessing context #3758
multiprocessing supports different context, with different tradeoffs. Currently Dask only allows setting a custom global pool. This causes some problems:
It's not possible to use a different context with multiple pools: users are forced to use a single global pool if they want to use a different context.
Activity
itamarst commentedon Jul 14, 2018
Going to start on this during the sprint.
mrocklin commentedon Jul 14, 2018
mrocklin commentedon Jul 14, 2018
itamarst commentedon Jul 14, 2018
Bit tricky in that one needs to create compatible Lock/Queue/etc. from the same context object, so need to figure out how to ensure that happens.
jakirkham commentedon Jul 16, 2018
Would you be able to comment more on your motivating use case?
mrocklin commentedon Jul 16, 2018
@itamarst would like to move our default from
forktospawn. This is a lightweight step in that direction.itamarst commentedon Jul 16, 2018
@jakirkham in particular see #3759.
jakirkham commentedon Jul 16, 2018
Hmm...thought our default was
forkserveror is that just in Distributed?itamarst commentedon Jul 17, 2018
In non-Distributed the default is the Python default, which on POSIX is the broken
fork.