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

[Core] Raise deprecation warning when passing non-iterables to imap and imap_unordered methods of ray.util.multiprocessing.Pool #31845

Merged

Conversation

cadedaniel
Copy link
Member

Context: #24237

We will raise this warning in Ray 2.3. For Ray 2.4, we will merge #31799 which causes a TypeError to be raised instead.

@scv119
Copy link
Contributor

scv119 commented Jan 22, 2023

change looks good to me. but what's going on with our CI...

…red are called with non-iterable arguments.

Signed-off-by: Cade Daniel <[email protected]>
@cadedaniel cadedaniel force-pushed the mp-pool-non-iterable-map-deprecation branch from 67f3d27 to 2a462bf Compare January 23, 2023 02:18
@rkooo567 rkooo567 merged commit 96854d5 into ray-project:master Jan 23, 2023
@cadedaniel cadedaniel deleted the mp-pool-non-iterable-map-deprecation branch January 23, 2023 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Issues that should be addressed in Ray Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants