-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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] Include module classes in ModuleWrapPolicy.__repr__
#89058
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/89058
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 1c982b1: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ghstack-source-id: 88c6116153ada8366264d37649ff32964730a11b Pull Request resolved: #89058
ghstack-source-id: 88c6116153ada8366264d37649ff32964730a11b Pull Request resolved: pytorch#89058
ghstack-source-id: 88c6116153ada8366264d37649ff32964730a11b Pull Request resolved: pytorch#89058
Before: ``` <torch.distributed.fsdp.wrap.ModuleWrapPolicy object at 0x7fd4280f0fd0> ``` After: ``` <torch.distributed.fsdp.wrap.ModuleWrapPolicy object at 0x7fd4280f0fd0>({<class 'transformers.models.t5.modeling_t5.T5Block'>}) ``` [ghstack-poisoned]
ghstack-source-id: 9414cc7bbacaa3757e63ce98e055260d681db677 Pull Request resolved: #89058
@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 |
…#89058) Before: ``` <torch.distributed.fsdp.wrap.ModuleWrapPolicy object at 0x7fd4280f0fd0> ``` After: ``` <torch.distributed.fsdp.wrap.ModuleWrapPolicy object at 0x7fd4280f0fd0>({<class 'transformers.models.t5.modeling_t5.T5Block'>}) ``` Pull Request resolved: pytorch#89058 Approved by: https://github.com/mrshenli
Stack from ghstack:
ModuleWrapPolicy.__repr__
#89058 [FSDP] Include module classes inModuleWrapPolicy.__repr__
Before:
After: