Skip to content

Conversation

@awgu
Copy link
Collaborator

@awgu awgu commented Jan 11, 2023

Stack from ghstack:

Closes #83054. The new version of the test ensures that the parent FSDP instance has managed parameters to trigger the module.to(device_from_device_id) call, which moves the child FSDP instance's managed parameters (and hence must be hackily moved back).

@pytorch-bot
Copy link

pytorch-bot bot commented Jan 11, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/92031

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 8b06f89:
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

Closes #83054. The new version of the test ensures that the parent FSDP instance has managed parameters to trigger the `module.to(device_from_device_id)` call, which moves the child FSDP instance's managed parameters (and hence must be hackily moved back).

[ghstack-poisoned]
@awgu awgu added the release notes: distributed (fsdp) release notes category label Jan 12, 2023
@awgu awgu marked this pull request as ready for review January 12, 2023 00:16
Closes #83054. The new version of the test ensures that the parent FSDP instance has managed parameters to trigger the `module.to(device_from_device_id)` call, which moves the child FSDP instance's managed parameters (and hence must be hackily moved back).

[ghstack-poisoned]
@awgu awgu added the ciflow/trunk Trigger trunk jobs on your pull request label Jan 12, 2023
Closes #83054. The new version of the test ensures that the parent FSDP instance has managed parameters to trigger the `module.to(device_from_device_id)` call, which moves the child FSDP instance's managed parameters (and hence must be hackily moved back).

[ghstack-poisoned]
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.

LGTM, thanks for enhancing the test!

Closes #83054. The new version of the test ensures that the parent FSDP instance has managed parameters to trigger the `module.to(device_from_device_id)` call, which moves the child FSDP instance's managed parameters (and hence must be hackily moved back).

[ghstack-poisoned]
@awgu
Copy link
Collaborator Author

awgu commented Jan 16, 2023

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: distributed (fsdp) release notes category topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants