Skip to content
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

[Pool] About using ray.util.multiprocessing import Pool #7542

Open
zewenli98 opened this issue Mar 10, 2020 · 1 comment
Open

[Pool] About using ray.util.multiprocessing import Pool #7542

zewenli98 opened this issue Mar 10, 2020 · 1 comment
Labels
P3 Issue moderate in impact or severity question Just a question :)

Comments

@zewenli98
Copy link
Contributor

When I run the example of doc for the second time, why these problems below come up? (the first time is ok!)
image

Besides, I wonder if I just need to replace from multiprocessing import Pool with from ray.util.multiprocessing import Pool, and the other codes don't have to change? Thanks in advance!

@zewenli98 zewenli98 added the question Just a question :) label Mar 10, 2020
@zewenli98
Copy link
Contributor Author

When I use from multiprocessing import Pool to create an instance of Pool and use pool.apply_async(), then feed it with an instance of multiprocessing.Manager().Queue(), I can get good results. But when I change to from ray.util.multiprocessing import Pool, and the other codes don't change, I cannot get good results? Who can help me? Thx!
image

@ericl ericl added the P3 Issue moderate in impact or severity label Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Issue moderate in impact or severity question Just a question :)
Projects
None yet
Development

No branches or pull requests

2 participants