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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training deadlock #19

Closed
rotabulo opened this issue Jun 26, 2018 · 1 comment
Closed

Training deadlock #19

rotabulo opened this issue Jun 26, 2018 · 1 comment

Comments

@rotabulo
Copy link
Contributor

There is an issue in the implementation of DistributedDataParallel that triggers a deadlock of processes.
Specifically, in the method flat_dist_call, there is a for loop over a dictionary with calls to collective operations (like broadcasting) in the body. Since the ordering of the dictionary's keys is random, we obtain non-matching calls to the collective operations, which induce a deadlock of the processes.
I have fixed this issue and created a pull request.

@csarofeen
Copy link
Contributor

Closed via #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants