-
-
Notifications
You must be signed in to change notification settings - Fork 719
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
Add local SubprocessCluster
that runs workers in separate processes
#7431
Conversation
Unit Test ResultsSee test report for an extended history of previous test failures. This is useful for diagnosing flaky tests. 22 files + 1 22 suites +1 9h 53m 54s ⏱️ + 1m 54s For more details on these failures, see this check. Results for commit 3a2d42d. ± Comparison against base commit d87cea9. ♻️ This comment has been updated with latest results. |
This is currently broken on Windows because we use the distributed/distributed/config.py Lines 185 to 189 in d87cea9
Upgrading to |
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.
In principle this looks sensible to me. I would add basic docstrings.
Maybe also a single line mentioning this class at the end of https://docs.dask.org/en/stable/deploying-python.html#localcluster ?
For something like this that's already supporting an odd corner case, I think that it's totally fine to just raise an informative error message on Windows and move on. |
Added a descriptive error message 👌 |
I was waiting for a bokeh release so it might be worth resurrecting that PR |
Thanks @hendrikmakait . Seems good to me. I'm going to wait until end of day to see if we get any user feedback and then I'll merge in. |
This is great; one benefit I can think of is the overhead of moving data from the scheduler process back to the client process disappears. What are other benefits/use cases? I can help test this further and add some more to the documentation, which is very little now. Is this eventually going to replace |
In some situations creating workers with the multiprocessing library can
cause issues. This is relatively rare though and not something we want to
focus on that much.
…On Sat, Jan 14, 2023 at 6:21 AM Altay Sansal ***@***.***> wrote:
This is great; one benefit I can think of is the overhead of going from
the scheduler process back to the client process disappears. What are other
benefits / use cases? I wouldn't mind testing this further and adding some
more to the documentation, which is very little now.
—
Reply to this email directly, view it on GitHub
<#7431 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACKZTAKVFAKMYAJRWDGTSTWSKY6LANCNFSM6AAAAAATG3TJTI>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Closes #xxxx
pre-commit run --all-files