-
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
5/n: Extract reference model call to plugins/accelerators #4773
Conversation
…tom wrapper logic to live within the plugin/accelerators
Hello @SeanNaren! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-11-23 16:38:09 UTC |
@SeanNaren I like it. This seems like a trivial function now, but could you maybe add a test for it to ensure that it still works, if we may come to more complicated cases? |
Absolutely, will do. Also ddp plugin tests are failing, need to ensure this logic is overridden correctly in the tests. |
Codecov Report
@@ Coverage Diff @@
## master #4773 +/- ##
======================================
Coverage 93% 93%
======================================
Files 118 118
Lines 9018 9020 +2
======================================
+ Hits 8389 8393 +4
+ Misses 629 627 -2 |
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.
Can you add a DDP test ?
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.
I have just concern about the methods which really do not require self
if they shall be rather a class method or static
What does this PR do?
Closes #4753. Final API change to allow custom DDP wrapper logic when extracting reference model.
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 in short, see following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃