-
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
Bugfix: horovod optimizer missing 2 required positional arguments #7840
Conversation
fixed issue #7839
Update horovod.py
for more information, see https://pre-commit.ci
Codecov Report
@@ Coverage Diff @@
## master #7840 +/- ##
=======================================
- Coverage 92% 88% -4%
=======================================
Files 217 217
Lines 14367 14375 +8
=======================================
- Hits 13260 12659 -601
- Misses 1107 1716 +609 |
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.
could simply add a trainer.test() call to an existing horovod test case :)
We should also be able to skip the whole optimizer wrapping when we are not training, i.e, there could be a check for ` if trainer.state.stage != RunningStage.TRAINING:
# no need to setup optimizers
return
# otherwise setup optimizers |
for more information, see https://pre-commit.ci
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 !
Co-authored-by: thomas chaton <[email protected]>
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 !
Co-authored-by: Carlos Mocholí <[email protected]>
What does this PR do?
Fixes #7839, #7853
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃