-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Conversation
Signed-off-by: Amog Kamsetty <[email protected]>
@@ -204,7 +204,7 @@ def _shutdown(): | |||
_session = None | |||
|
|||
|
|||
@PublicAPI | |||
@Deprecated(message=_deprecation_msg) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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).
…ecate-train-session
Signed-off-by: Amog Kamsetty <[email protected]>
Failing tests are unrelated, going to merge. |
Signed-off-by: Amog Kamsetty [email protected] Finish marking train. and tune. session APIs as deprecated Signed-off-by: Weichen Xu <[email protected]>
Signed-off-by: Amog Kamsetty [email protected]
Finish marking
train.
andtune.
session APIs as deprecatedWhy are these changes needed?
Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.