-
-
Notifications
You must be signed in to change notification settings - Fork 720
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 documentation and example for using a ProcessPoolExecutor #5059
Comments
+1 it'd be great to see an example for this. For anyone who is interested, #4869 is where the multiple executors functionality was added. Additionally, here is a test which was added distributed/distributed/tests/test_worker.py Lines 2007 to 2028 in 5f01fe6
which would be a good starting point for an example in the docs |
Also examples.dask.org
…On Wed, Jul 14, 2021 at 10:40 AM James Bourbeau ***@***.***> wrote:
+1 it'd be great to see an example for this. For anyone who is interested,
#4869 <#4869> is where the
multiple executors functionality was added. Additionally, here is a test
which was added
https://github.com/dask/distributed/blob/5f01fe6010a0a3621956920d0260ac5f0111f17d/distributed/tests/test_worker.py#L2007-L2028
which would be a good starting point for an example in the docs
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5059 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACKZTCTLJKF6AE35UGE7ZDTXWVYFANCNFSM5ALWAHIA>
.
|
I also suspect that we may have to use something with better serialization
support, like loky
…On Wed, Jul 14, 2021 at 10:44 AM Matthew Rocklin ***@***.***> wrote:
Also examples.dask.org
On Wed, Jul 14, 2021 at 10:40 AM James Bourbeau ***@***.***>
wrote:
> +1 it'd be great to see an example for this. For anyone who is
> interested, #4869 <#4869> is
> where the multiple executors functionality was added. Additionally, here is
> a test which was added
>
>
> https://github.com/dask/distributed/blob/5f01fe6010a0a3621956920d0260ac5f0111f17d/distributed/tests/test_worker.py#L2007-L2028
>
> which would be a good starting point for an example in the docs
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#5059 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AACKZTCTLJKF6AE35UGE7ZDTXWVYFANCNFSM5ALWAHIA>
> .
>
|
I have a video for this https://www.youtube.com/watch?v=vF2VItVU5zg This isn't yet publicized. I plan to wait until after the next release. Probably we should repurpose this into an example on examples.dask.org as well. |
I'd love to work on this! |
We recently added the ability to have multiple executors and annotate tasks to use those executors. A common situation where this would be useful is in farming out tasks to separate processes. This would be a good example to build.
One motivating use case is #5051
The text was updated successfully, but these errors were encountered: