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

Revert "Revert "[core] Support generators for tasks with multiple return values (#25247)" (#25380)" #25383

Merged
merged 2 commits into from
Jun 2, 2022

Conversation

stephanie-wang
Copy link
Contributor

Why are these changes needed?

Duplicate for #25247.

Adds a fix for Dask-on-Ray. Previously, for tasks with multiple return values, we implicitly allowed returning a dict with the return index as the key. This was used by Dask-on-Ray, but this is not documented behavior, and we now require task returns to be iterable instead.

@stephanie-wang stephanie-wang changed the title Revert 25380 Revert "Revert "[core] Support generators for tasks with multiple return values (#25247)" (#25380)" Jun 1, 2022
Copy link
Contributor

@clarkzinzow clarkzinzow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I checked the multiple-return uses and it looks like this has full coverage.

python/ray/util/dask/scheduler.py Show resolved Hide resolved
@stephanie-wang stephanie-wang merged commit ab8785c into ray-project:master Jun 2, 2022
@stephanie-wang stephanie-wang deleted the revert-25380 branch June 2, 2022 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants