-
-
Notifications
You must be signed in to change notification settings - Fork 617
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
Fix zero_grad place resulting in zero logs #2555
Conversation
Also fix bug in min_lr check
…#2459) I have not changed the behavior of AMP, APEX, TPU as I don't have the means to test it.
Closes pytorch#2459 with help of PR pytorch#2470
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.
Thanks for the PR @sadra-barikbin
Few comments to make it better
a6d8ae3
to
48ea731
Compare
7b7d88e
to
ee21110
Compare
7eb5063
to
3cde27f
Compare
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.
Thanks @sadra-barikbin , lgtm
@sadra-barikbin your PR is failing on CUDA:
Please send a fixing PR that we'll test directly on CUDA |
Fixes #2459
Description:
Based on PR #2470 . Tests are added.
Check list: