-
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
Use DistributedSampler when running with custom accelerator #7814
Conversation
Hello @ajtritt! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-06-18 09:47:48 UTC |
for more information, see https://pre-commit.ci
Codecov Report
@@ Coverage Diff @@
## master #7814 +/- ##
=======================================
- Coverage 92% 87% -5%
=======================================
Files 207 207
Lines 13484 13489 +5
=======================================
- Hits 12354 11719 -635
- Misses 1130 1770 +640 |
…htning into bug/ddp_dist_sampler
for more information, see https://pre-commit.ci
…htning into bug/ddp_dist_sampler
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 ! Nice catch !
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.
we probably have to add the same fix to select_precision_plugin()
?
Dear @ajtritt, The tests are failing. Do you need help resolving them ? Best, |
Co-authored-by: Adrian Wälchli <[email protected]>
for more information, see https://pre-commit.ci
@ajtritt Thanks for looking into this. Are you interested in sending an equivalent fix for the precision plugin logic for a custom accelerator? |
Co-authored-by: Jirka Borovec <[email protected]> Co-authored-by: Adrian Wälchli <[email protected]>
Co-authored-by: Jirka Borovec <[email protected]> Co-authored-by: Adrian Wälchli <[email protected]>
What does this PR do?
Fixes #7813.
This only fixes the problem for DDDPlugin. I suspect the same problem exists for other distributed data parallel plugins, but I'm not familiar enough with those training types to verify that.
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 🙃