Skip to content

Conversation

awgu
Copy link
Collaborator

@awgu awgu commented Jul 5, 2022

Stack from ghstack:

The mixed precision config was being passed to the wrapped module instead of propagating to the FSDP constructor. This fix will become obsolete with the FSDPTestModel PR higher in the stack, but it is still worth fixing by itself.

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Jul 5, 2022

🔗 Helpful links

✅ No Failures (0 Pending)

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

Expand to see more

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


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@awgu
Copy link
Collaborator Author

awgu commented Jul 5, 2022

@pytorchbot rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a rebase job. Check the current status here

The mixed precision config was being passed to the wrapped module instead of propagating to the FSDP constructor. This fix will become obsolete with the `FSDPTestModel` PR higher in the stack, but it is still worth fixing by itself.

[ghstack-poisoned]
@pytorchmergebot
Copy link
Collaborator

Successfully rebased gh/awgu/65/orig onto refs/remotes/origin/master, please pull locally before adding more changes (for example, via ghstack checkout https://github.com/pytorch/pytorch/pull/80869)

Copy link
Contributor

@rohan-varma rohan-varma left a comment

Choose a reason for hiding this comment

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

Great catch!

The mixed precision config was being passed to the wrapped module instead of propagating to the FSDP constructor. This fix will become obsolete with the `FSDPTestModel` PR higher in the stack, but it is still worth fixing by itself.

[ghstack-poisoned]
@awgu
Copy link
Collaborator Author

awgu commented Jul 5, 2022

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a merge job. Check the current status here

@pytorchmergebot
Copy link
Collaborator

Merge failed due to Refusing to merge as mandatory check(s) pull failed for rule superuser
Raised by https://github.com/pytorch/pytorch/actions/runs/2619179700

The mixed precision config was being passed to the wrapped module instead of propagating to the FSDP constructor. This fix will become obsolete with the `FSDPTestModel` PR higher in the stack, but it is still worth fixing by itself.

[ghstack-poisoned]
@awgu
Copy link
Collaborator Author

awgu commented Jul 8, 2022

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a merge job. Check the current status here

@github-actions
Copy link
Contributor

github-actions bot commented Jul 8, 2022

Hey @awgu.
You've committed this PR, but it does not have both a 'release notes: ...' and 'topics: ...' label. Please add one of each to the PR. The 'release notes: ...' label should represent the part of PyTorch that this PR changes (fx, autograd, distributed, etc) and the 'topics: ...' label should represent the kind of PR it is (not user facing, new feature, bug fix, perf improvement, etc). The list of valid labels can be found here for the 'release notes: ...' and here for the 'topics: ...'.
For changes that are 'topic: not user facing' there is no need for a release notes label.

@facebook-github-bot facebook-github-bot deleted the gh/awgu/65/head branch July 12, 2022 14:17
facebook-github-bot pushed a commit that referenced this pull request Jul 12, 2022
Summary:
The mixed precision config was being passed to the wrapped module instead of propagating to the FSDP constructor. This fix will become obsolete with the `FSDPTestModel` PR higher in the stack, but it is still worth fixing by itself.

Pull Request resolved: #80869
Approved by: https://github.com/rohan-varma

Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/f583f81b6e7c9e61151dd263e487ce65af54eab3

Reviewed By: mehtanirav

Differential Revision: D37749398

Pulled By: awgu

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

Successfully merging this pull request may close these issues.

4 participants