-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Raise warning for schedulers following chainable shedulers #31125
Conversation
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.
@vincentqb has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@vincentqb merged this pull request in 9459db8. |
…1125) Summary: Fixes pytorch#29697. Raise warning for schedulers following chainable schedulers in pytorch#26423. See explanation for * [new warning when load/save](pytorch#29697 (comment)) * [change from deprecation to user warning](pytorch#29697 (comment)). gchanan -- This should go in the upcoming release following pytorch#26423. Pull Request resolved: pytorch#31125 Differential Revision: D19143740 Pulled By: vincentqb fbshipit-source-id: 35b55fe6c5b39ca5a68b1a6e19f14eb95b9a784e
This change seems to raise a warning under all circumstances that |
Thanks for reporting this! Now that the warning has been part of 1.4, 1.5, and 1.6, we can remove it and replace it by a message in the documentation. Do you want to open a pull request to do this @jrmcornish ? Created #43352 to keep track of this. |
Fixes #29697.
Raise warning for schedulers following chainable schedulers in #26423. See explanation for
@gchanan -- This should go in the upcoming release following #26423.
Example
Version 1.3.1:
This is not correct, but no warnings are raised.
Version 1.3.1 and 1.4.0: