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

Make sure all-to-all operator return num outputs so progress bar can work #31825

Merged
merged 20 commits into from
Jan 23, 2023

Conversation

jianoaix
Copy link
Contributor

@jianoaix jianoaix commented Jan 21, 2023

Why are these changes needed?

To enable the new bulk execution backend: #30903

Based on the most recent test (https://buildkite.com/ray-project/oss-ci-build-pr/builds/9947#_), this should be last issue to fix it!
(note the failure of Dataset tests is not real as all tests passing, some issue with bazel test)

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@@ -226,6 +227,14 @@ def _sleep(block_iter: Iterable[Block]) -> Iterable[Block]:
wait_for_condition(lambda: (ray.available_resources().get("GPU", 0) == 1.0))


def test_prograss_bar():
Copy link
Contributor

Choose a reason for hiding this comment

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

why this unit test is testing progress bar? didn't see any assertion around progress bar, so asking.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a bit indirect because the progress bar is a local variable that's involved in execution. Make it test num outputs for operators.

@jianoaix
Copy link
Contributor Author

@ericl @c21 this is ready to review/merge. The failing tests in CI are not relevant to this PR.

@ericl ericl merged commit 40c4571 into ray-project:master Jan 23, 2023
Copy link
Contributor

@c21 c21 left a comment

Choose a reason for hiding this comment

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

late LGTM, thanks @jianoaix.

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