-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Retry #112889 (Opportunistically use ncclCommSplit when creating new NCCL groups) #114385
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
Conversation
…w NCCL groups (pytorch#112889) Currently `ncclCommInitRankConfig` is always used when creating new communicator groups. This is wasteful as it creates non-shared pairs of endpoint queues as well as costs time to re-establish communication. This change is transparent and opportunistic; when `dist.new_group` is called, it will use the existing, healthy world process group to select the right ranks to include in the process group. Original PR: pytorch#112889 Reverted due to ROCm incompatibility
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/114385
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (2 Unrelated Failures)As of commit 405af18 with merge base 84909fe ( FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
c8086d1
to
187c7f3
Compare
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.
Thank you for the fix! ROCm distributed job passes so LGTM! Please fix lint before landing this
@pytorchmergebot 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 |
ncclCommSplit
when creating new NCCL groups (Opportunistically usencclCommSplit
when creating new NCCL groups #112889)split_from
with ahasattr
check for cases when NCCL (or RCCL) lacksncclCommSplit
Fixes cause of revert of original PR
cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin @XilunWu @wanchaol @fduwjj @wz337 @tianyu-l @wconstab @yf225 @kiukchung @d4l3k @LucasLLC