Skip to content

Ensure that DDP wrapped module has parameters that require gradients #25858

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

Closed
wants to merge 3 commits into from

Conversation

danthe3rd
Copy link
Contributor

@danthe3rd danthe3rd commented Sep 9, 2019

…ent - see #25552

TEST PLAN

python test/run_test.py -f distributed

@danthe3rd danthe3rd requested a review from apaszke as a code owner September 9, 2019 13:24
@pytorchbot pytorchbot added oncall: distributed Add this issue/PR to distributed oncall triage queue module: nn Related to torch.nn labels Sep 9, 2019
@pietern pietern changed the title DDP: Ensure that the wrapped module has parameters that require gradi… Ensure that the DDP wrapped module has parameters that require gradients Sep 9, 2019
@pietern pietern changed the title Ensure that the DDP wrapped module has parameters that require gradients Ensure that DDP wrapped module has parameters that require gradients Sep 9, 2019
Copy link
Contributor

@pietern pietern left a comment

Choose a reason for hiding this comment

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

Thanks, @danthe3rd, one more comment regarding the naming of the test.

Can you update, check if CI stays green, and then land?

@pietern
Copy link
Contributor

pietern commented Sep 30, 2019

@pytorchbot retest this please

@danthe3rd
Copy link
Contributor Author

The failing tests seem unrelated to this change, as they fail with this error

#!/bin/bash -eo pipefail
~/workspace/.circleci/scripts/setup_linux_system_environment.sh
/bin/bash: /home/circleci/workspace/.circleci/scripts/setup_linux_system_environment.sh: No such file or directory
Exited with code 1

@pietern
Copy link
Contributor

pietern commented Sep 30, 2019

@pytorchbot rebase this please

@pietern
Copy link
Contributor

pietern commented Sep 30, 2019

@danthe3rd Thanks -- I think this must be due to CI staleness. The CircleCI workspace gets clobbered after a while, so retesting no longer works on the same commit.

@danthe3rd
Copy link
Contributor Author

So should I land it?

@pietern
Copy link
Contributor

pietern commented Oct 1, 2019

@danthe3rd Yes, let's do it! :)

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.

@danthe3rd is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@danthe3rd merged this pull request in 46539ee.

pdlive215 pushed a commit to pdlive215/pytorch that referenced this pull request Nov 27, 2019
…ytorch#25858)

Summary:
…ent - see pytorch#25552

**TEST PLAN**
```
python test/run_test.py -f distributed
```
Pull Request resolved: pytorch#25858

Differential Revision: D17687542

Pulled By: danthe3rd

fbshipit-source-id: 11bfe4142e72bb21382b30379fe10e60418c7ec9
thiagocrepaldi pushed a commit to thiagocrepaldi/pytorch that referenced this pull request Feb 4, 2020
…ytorch#25858)

Summary:
…ent - see pytorch#25552

**TEST PLAN**
```
python test/run_test.py -f distributed
```
Pull Request resolved: pytorch#25858

Differential Revision: D17687542

Pulled By: danthe3rd

fbshipit-source-id: 11bfe4142e72bb21382b30379fe10e60418c7ec9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Merged module: nn Related to torch.nn oncall: distributed Add this issue/PR to distributed oncall triage queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants