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

[AIR] More Train and Tune session deprecations #28856

Merged
merged 3 commits into from
Oct 3, 2022

Conversation

amogkam
Copy link
Contributor

@amogkam amogkam commented Sep 28, 2022

Signed-off-by: Amog Kamsetty [email protected]

Finish marking train. and tune. session APIs as deprecated

Why are these changes needed?

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

Signed-off-by: Amog Kamsetty <[email protected]>
@@ -204,7 +204,7 @@ def _shutdown():
_session = None


@PublicAPI
@Deprecated(message=_deprecation_msg)
Copy link
Contributor

Choose a reason for hiding this comment

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

just checking that this won't print out the message when the method is called right?
It is just reflecting in the doc string?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep thats right, this is just in the docstring (which actually won't really matter currently since we no longer show these APIs in the docs anymore).

@amogkam
Copy link
Contributor Author

amogkam commented Oct 3, 2022

Failing tests are unrelated, going to merge.

@amogkam amogkam merged commit 0e8eb8a into ray-project:master Oct 3, 2022
@amogkam amogkam deleted the deprecate-train-session branch October 3, 2022 19:38
WeichenXu123 pushed a commit to WeichenXu123/ray that referenced this pull request Dec 19, 2022
Signed-off-by: Amog Kamsetty [email protected]

Finish marking train. and tune. session APIs as deprecated

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.

2 participants