Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDp interpreter #2482

Merged
merged 2 commits into from
Jul 3, 2020
Merged

DDp interpreter #2482

merged 2 commits into from
Jul 3, 2020

Conversation

Borda
Copy link
Member

@Borda Borda commented Jul 3, 2020

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 馃檭

@Borda Borda added the bug Something isn't working label Jul 3, 2020
@Borda Borda added this to the 0.8.x milestone Jul 3, 2020
@mergify mergify bot requested a review from a team July 3, 2020 08:14
@codecov
Copy link

codecov bot commented Jul 3, 2020

Codecov Report

Merging #2482 into master will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff           @@
##           master   #2482   +/-   ##
======================================
  Coverage      89%     89%           
======================================
  Files          69      69           
  Lines        5533    5533           
======================================
  Hits         4898    4898           
  Misses        635     635           

@mergify mergify bot requested a review from a team July 3, 2020 14:13
@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a string?

Copy link
Contributor

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@mergify mergify bot requested a review from a team July 3, 2020 17:23
@williamFalcon williamFalcon merged commit fc61c20 into master Jul 3, 2020
@Borda Borda deleted the bugfix/python branch July 3, 2020 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DDP breaks when python does not refer to the correct interpreter
3 participants