-
Notifications
You must be signed in to change notification settings - Fork 3.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
Optimizer closure #4190
Optimizer closure #4190
Conversation
Fixes #4083 too right? |
@rohitgr7 Not yet tested, net to get it working first :D |
nice. when it's ready, can you add tests that use the mock + count to verify that we perform the expected number of backward passes? also with a non-lbfgs optimizer to make sure we don't break current functionality |
@williamFalcon I think @awaelchli is currently looking into this. But no matter who does this: There will definitely be tests! |
Hello @justusschock! Thanks for updating this PR.
Comment last updated at 2020-10-21 14:34:14 UTC |
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
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.
🚀
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.
Great addition !
The GPU tests did not run, because of horovod installation failing, so we did not see the problem with amp closure. |
What does this PR do?
Fixes #4188 and also fixes #2785
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃