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

[Tune] Fix Jupyter output with Ray Client and Tuner #29956

Merged

Conversation

Yard1
Copy link
Member

@Yard1 Yard1 commented Nov 2, 2022

Why are these changes needed?

Ensures that we can have rich Jupyter output with the Tuner API.

Related issue number

Closes #29863

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 :(

Signed-off-by: Antoni Baum <[email protected]>
Signed-off-by: Antoni Baum <[email protected]>
@Yard1 Yard1 changed the title Fix tuner jupyter output with client [Tune] Fix Jupyter output with Ray Client and Tuner Nov 2, 2022
Signed-off-by: Antoni Baum <[email protected]>
Signed-off-by: Antoni Baum <[email protected]>
Signed-off-by: Antoni Baum <[email protected]>
Signed-off-by: Antoni Baum <[email protected]>
Copy link
Contributor

@krfricke krfricke left a comment

Choose a reason for hiding this comment

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

Looks great, but let's clean up some legacy clutter while we're at it

python/ray/tune/tuner.py Outdated Show resolved Hide resolved
python/ray/tune/progress_reporter.py Outdated Show resolved Hide resolved
@Yard1 Yard1 requested a review from krfricke November 4, 2022 19:07
Copy link
Contributor

@krfricke krfricke left a comment

Choose a reason for hiding this comment

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

Two minor questions

python/ray/tune/impl/tuner_internal.py Outdated Show resolved Hide resolved
@Yard1 Yard1 requested a review from krfricke November 8, 2022 18:46
Copy link
Contributor

@krfricke krfricke left a comment

Choose a reason for hiding this comment

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

Thanks!!

@krfricke krfricke merged commit 993008e into ray-project:master Nov 10, 2022
@Yard1 Yard1 deleted the fix_tuner_jupyter_output_with_client branch November 10, 2022 17:35
WeichenXu123 pushed a commit to WeichenXu123/ray that referenced this pull request Dec 19, 2022
)

Ensures that we can have rich Jupyter output with the Tuner API.

Signed-off-by: Antoni Baum <[email protected]>
Signed-off-by: Weichen Xu <[email protected]>
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.

[Tune] Tuner doesn't support Jupyter rich output
3 participants