Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix detach in place error in DDP#5829

Merged
soumith merged 3 commits into
pytorch:masterfrom
ailzhang:fix_detach
Mar 16, 2018
Merged

fix detach in place error in DDP#5829
soumith merged 3 commits into
pytorch:masterfrom
ailzhang:fix_detach

Conversation

@ailzhang
Copy link
Copy Markdown
Contributor

This PR fixed an error in >2 GPU DDP test exposed by #5581, that detach cannot be done in place in views.
@apaszke @ezyang @soumith @goldsborough

@goldsborough
Copy link
Copy Markdown
Contributor

Does this fix all your distributed training errors?

@ailzhang
Copy link
Copy Markdown
Contributor Author

@goldsborough Yep with this PR, DDP test passes on >2GPU machines.

@soumith soumith merged commit f5aa8d5 into pytorch:master Mar 16, 2018
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
* fix detach in DDP

* fix typo

* make lint happy
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

Successfully merging this pull request may close these issues.

4 participants