Skip to content
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

[FSDP] Clarify CPU offload implicitly in reshard_doc #98666

Closed
wants to merge 2 commits into from

Conversation

rohan-varma
Copy link
Member

@rohan-varma rohan-varma commented Apr 8, 2023

Stack from ghstack (oldest at bottom):

Per title

Differential Revision: D44812344

@pytorch-bot
Copy link

pytorch-bot bot commented Apr 8, 2023

🔗 Helpful Links

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

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

✅ No Failures

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

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

Copy link
Contributor

@awgu awgu 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 clarifying!

sharded flat parameter.
sharded flat parameter. Note that this also implicitly offloads
the sharded flat parameter (if CPU offload is enabled) by pointing
it to the local_shard attribute which resides on CPU.
Copy link
Contributor

@awgu awgu Apr 8, 2023

Choose a reason for hiding this comment

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

nit: Should we specify _local_shard with the prefixed underscore? (backticks do not matter much can be can do ``_local_shard`` for consistency)

@rohan-varma
Copy link
Member Author

@pytorchbot merge -f "Doc only"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes).

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

ZainRizvi pushed a commit that referenced this pull request Apr 19, 2023
vkallesh pushed a commit to amd/ZenDNN-pytorch that referenced this pull request Jul 5, 2023
Pull Request resolved: pytorch/pytorch#98666

Per title
ghstack-source-id: 185660099

Differential Revision: [D44812344](https://our.internmc.facebook.com/intern/diff/D44812344/)
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.

None yet

3 participants