-
Notifications
You must be signed in to change notification settings - Fork 212
Fix un-usability of manual optimization in Flash. #1342
Fix un-usability of manual optimization in Flash. #1342
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1342 +/- ##
==========================================
- Coverage 92.68% 92.68% -0.01%
==========================================
Files 286 286
Lines 12802 12802
==========================================
- Hits 11866 11865 -1
- Misses 936 937 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
LGTM! Can you also add an entry to the changelog?
Sure, I'll update it. |
Hello @justusschock , could you please re-run the failed tests. They have failed because of some |
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.
LGTM 😃
What does this PR do?
In a Flash Task,
self.optimizers()
andself.lr_schedulers()
point to the respective Flash Registry instead of returning the optimizers and the lr schedulers used by the training job. This stands in the way of performing manual optimization.This PR attempts to fix this issue.
Before submitting
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 🙃