-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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] Annotate modules for fully_shard
#104363
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/104363
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit ad2a45a: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ghstack-source-id: 76cfa78206a5d3ad44629eb1a1d5a84b834aea8b Pull Request resolved: #104363
ghstack-source-id: 76cfa78206a5d3ad44629eb1a1d5a84b834aea8b Pull Request resolved: pytorch#104363
This annotates modules managed by `fully_shard` for TorchDynamo to treat them specially. [ghstack-poisoned]
ghstack-source-id: b62d622a3c0745bc3149202a81ac730a7aefe995 Pull Request resolved: pytorch#104363
This annotates modules managed by `fully_shard` for TorchDynamo to treat them specially. [ghstack-poisoned]
ghstack-source-id: be9cf1181242ab75d34769e67e89a04b41334271 Pull Request resolved: pytorch#104363
ghstack-source-id: be9cf1181242ab75d34769e67e89a04b41334271 Pull Request resolved: pytorch#104363
This annotates modules managed by `fully_shard` for TorchDynamo to treat them specially. [ghstack-poisoned]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@pytorchbot merge |
Merge startedYour 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 |
Stack from ghstack (oldest at bottom):
ModuleWrapPolicy
#104427ignored_states
+ auto wrap (for now) #104418_get_fully_sharded_module_to_states
#104409fully_shard
auto wrap #104408_auto_wrap
forfully_shard
#104407ModuleWrapPolicy
to new path #104346fully_shard
#104363This annotates modules managed by
fully_shard
for TorchDynamo to treat them specially.