Skip to content

Conversation

@zasdfgbnm
Copy link
Collaborator

We should recommend DDP instead of DP. Hope we can also cherry-pick this for 1.5

@zasdfgbnm zasdfgbnm requested a review from apaszke as a code owner March 19, 2020 21:18
@zasdfgbnm zasdfgbnm requested a review from ngimel March 19, 2020 21:18
Copy link
Collaborator

@ngimel ngimel left a comment

Choose a reason for hiding this comment

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

Looks good! Can you also please link to torch.distributed.launch for instructions on how to start multiple processes?

@zasdfgbnm
Copy link
Collaborator Author

Sure

@zasdfgbnm
Copy link
Collaborator Author

@ngimel Added

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@ngimel has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@dr-ci
Copy link

dr-ci bot commented Mar 20, 2020

💊 CircleCI build failures summary and remediations

As of commit 6688130 (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no CircleCI failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker.

This comment has been revised 1 time.

@facebook-github-bot
Copy link
Contributor

@ngimel merged this pull request in df8d6ee.

@h6197627
Copy link
Contributor

h6197627 commented Mar 21, 2020

@zasdfgbnm, any chances to overcome this limitation

.. warning::
Forward and backward hooks defined on :attr:`module` and its submodules
won't be invoked anymore, unless the hooks are initialized in the
:meth:`forward` method.

without requiring user edit each model's code?
I think it would be really helpful

@ngimel
Copy link
Collaborator

ngimel commented Mar 21, 2020

Please file a feature request.

gchanan pushed a commit to zasdfgbnm/pytorch that referenced this pull request Mar 24, 2020
Summary:
We should recommend DDP instead of DP. Hope we can also cherry-pick this for 1.5
Pull Request resolved: pytorch#35063

Differential Revision: D20549621

Pulled By: ngimel

fbshipit-source-id: 86b1b2134664065cc6070ea4212895f993eaf543
gchanan pushed a commit that referenced this pull request Mar 25, 2020
Summary:
We should recommend DDP instead of DP. Hope we can also cherry-pick this for 1.5
Pull Request resolved: #35063

Differential Revision: D20549621

Pulled By: ngimel

fbshipit-source-id: 86b1b2134664065cc6070ea4212895f993eaf543
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants