Repository navigation
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/123953
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 39efd62 with merge base 7cd7a7a ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@weifengpy I was thinking that it would be better to include the The reason is that the call-site for the This would matter only for the case of |
nice. I am good with passing |
|
@weifengpy sorry, no more planned changes -- I just wanted to check with you first 😅 |
all good. all good |
cc mrshenli pritamdamania87 zhaojuanmao satgera rohan-varma gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 penguinwu fegin XilunWu wanchaol fduwjj wz337 tianyu-l wconstab yf225 chauhang [ghstack-poisoned]
|
@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 |
This PR adds a `mesh: DeviceMesh` argument to `fsdp_pre_all_gather()` so that the extension can know over which mesh the all-gather is happening. This can be useful in recovering the post-all-gather tensor size in the `fsdp_post_all_gather()` (e.g. for `NF4Tensor`). Pull Request resolved: pytorch#123953 Approved by: https://github.com/Skylion007, https://github.com/wanchaol ghstack dependencies: pytorch#119302, pytorch#122908
This PR adds a `mesh: DeviceMesh` argument to `fsdp_pre_all_gather()` so that the extension can know over which mesh the all-gather is happening. This can be useful in recovering the post-all-gather tensor size in the `fsdp_post_all_gather()` (e.g. for `NF4Tensor`). Pull Request resolved: pytorch#123953 Approved by: https://github.com/Skylion007, https://github.com/wanchaol ghstack dependencies: pytorch#119302, pytorch#122908
Stack from ghstack (oldest at bottom):
mesharg tofsdp_pre_all_gather#123953This PR adds a
mesh: DeviceMeshargument tofsdp_pre_all_gather()so that the extension can know over which mesh the all-gather is happening. This can be useful in recovering the post-all-gather tensor size in thefsdp_post_all_gather()(e.g. forNF4Tensor).cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @penguinwu @fegin @XilunWu @wanchaol @fduwjj @wz337 @tianyu-l @wconstab @yf225 @chauhang