Skip to content

Conversation

@rohan-varma
Copy link
Contributor

@rohan-varma rohan-varma commented Aug 25, 2020

Stack from ghstack:

Closes #14691. This is not needed in the multiple outputs case, because gloo allreduce
broadcasts the result tensor to all the outputs. See
pytorch/gloo#152 and commit
pytorch/gloo@9cabb5a
for more details. Came across this when debugging #42577.

This effectively reverts #14688 while keeping the tests.

Tested by ensuring test_allreduce_basics in test_c10d.py still works as expected.

Differential Revision: D23173945

NOTE FOR REVIEWERS: This PR has internal Facebook specific changes or comments, please review them on Phabricator!

…reduce

Closes #14691. This is not needed in the multiple outputs case, because gloo allreduce
broadcasts the result tensor to all the outputs. See
pytorch/gloo#152 and commit
pytorch/gloo@9cabb5a
for more details. Came across this when debugging #42577.

This effectively reverts #14688 while keeping the tests.

Tested by ensuring `test_allreduce_basics` in `test_c10d.py` still works as expected.

Differential Revision: [D23173945](https://our.internmc.facebook.com/intern/diff/D23173945/)

**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D23173945/)!

[ghstack-poisoned]
rohan-varma added a commit that referenced this pull request Aug 25, 2020
…reduce

Closes #14691. This is not needed in the multiple outputs case, because gloo allreduce
broadcasts the result tensor to all the outputs. See
pytorch/gloo#152 and commit
pytorch/gloo@9cabb5a
for more details. Came across this when debugging #42577.

This effectively reverts #14688 while keeping the tests.

Tested by ensuring `test_allreduce_basics` in `test_c10d.py` still works as expected.

Differential Revision: [D23173945](https://our.internmc.facebook.com/intern/diff/D23173945/)

**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D23173945/)!

ghstack-source-id: 110636498
Pull Request resolved: #43543
@rohan-varma rohan-varma requested a review from jiayisuse August 25, 2020 08:55
@dr-ci
Copy link

dr-ci bot commented Aug 25, 2020

💊 CI failures summary and remediations

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


None of the CI failures appear to be your fault 💚



🚧 1 fixed upstream failure:

These were probably caused by upstream breakages that were already fixed.

Please rebase on the viable/strict branch (expand for instructions)

Since your merge base is older than viable/strict, run these commands:

git fetch https://github.com/pytorch/pytorch viable/strict
git rebase FETCH_HEAD

Check out the recency history of this "viable master" tracking branch.


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 or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 1 time.

Copy link
Contributor

@mrshenli mrshenli left a comment

Choose a reason for hiding this comment

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

Thanks for fixing!

@rohan-varma
Copy link
Contributor Author

test_backward_ddp_outside - ProcessGroupDdpUnderDistAutogradTestWithSpawn is unrelated and known to be flaky

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 5ca6cbb.

@facebook-github-bot facebook-github-bot deleted the gh/rohan-varma/157/head branch August 29, 2020 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants