-
Notifications
You must be signed in to change notification settings - Fork 531
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
First initialize dist with gloo #1133
Conversation
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.
minor comments, thank you!
This might break on >300 GPUs per @sandeep-krishnamurthy-db's point on GLOO's limitations. Can you doubel check max size for GLOO? |
Co-authored-by: Mihir Patel <mihir.v.patel7@gmail.com>
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.
CC: @bigning this is roughly what im thinking for control plane except we wouldn't destroy it and would name it something else
This reverts commit 76f74b6.
…aicml#1139)" This reverts commit 4aef5de.
There seems to be an issue with the first nccl barrier, where the timeout does not properly apply. It does apply correctly to a gloo barrier though. So we add a gloo barrier at the start to make sure all ranks are alive, and then proceed with the normal process group intialization.
Run with this that runs successfully:
gloo-baseline-1-cAcvEB
Run with this change and a rank sleeping in the gloo section (does timeout):
gloo-messed-up-no-gloo-2-CZw9ru
(on a7616ea)Run with this change and a rank sleeping in the nccl section (does not timeout):
gloo-messed-up-5-HB6gOH
(on ac258b9)