-
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
DDp interpreter #2482
DDp interpreter #2482
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2482 +/- ##
======================================
Coverage 89% 89%
======================================
Files 69 69
Lines 5533 5533
======================================
Hits 4898 4898
Misses 635 635 |
@@ -419,7 +419,8 @@ def spawn_ddp_children(self, model): | |||
full_path = abspath(command[0]) | |||
|
|||
command[0] = full_path | |||
command = ['python'] + command | |||
# use the same python interpreter and actually running | |||
command = [sys.executable] + command |
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.
is this a string?
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.
it is haha. just found it
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.
yes
What does this PR do?
Fixes #2472
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 🙃