-
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
add ddp sync for logging in result step #2822
Conversation
Hello @justusschock! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-08-05 08:07:18 UTC |
I will fix pep8 and retriever tests once #2568 is merged :) |
it has been merged... |
97f97e1
to
0bf6dd4
Compare
Codecov Report
@@ Coverage Diff @@
## master #2822 +/- ##
======================================
- Coverage 90% 90% -0%
======================================
Files 78 78
Lines 6921 6925 +4
======================================
+ Hits 6238 6241 +3
- Misses 683 684 +1 |
Okay, I'll revert those changes. That was automatically formatted, since there were some pep8 issues :D |
I think that pep8, is not soo strict about " and ' and as there is no wider consensus which shall be used I would drop this format changes... but you are free to re-open the question and et a conclusion :] |
Will this |
@xiadingZ When you reduce your metric with SUM, you will get what you expected (a sum across all processes in DDP) on every node. When you now sync it again with The general way to go here is: Whenever something has built-in support for DDP Sync, use this one, since we may have customised it (currently we are working on providing a more useful way to sync certain metrics). If not, use the sync from results. |
What does this PR do?
Adds the possibility to sync between DDP Processes with the result object
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 🙃