-
Notifications
You must be signed in to change notification settings - Fork 24.2k
Define USE_C10D_XCCL and USE_XCCL in pytorch #147593
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/147593
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 373f4df with merge base 014726d ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
To add the ciflow label This helps ensure we don't trigger CI on this PR until it is actually authorized to do so. Please ping one of the reviewers if you do not have access to approve and run workflows. |
I'm not sure if this change will pass the CI build without modifying torch-xpu-ops. |
I was wondering if both the
|
I agree with outputting the |
Currently, what we are doing for XCCL backend is on par with NCCL backend. If you think it's better to group all those information under this |
That works also - thank you for the feedback. |
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.
This code should be generated thru some sort of a template, but sure, why not
@pytorchbot rebase |
@pytorchbot merge |
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
Successfully rebased |
2a91dd8
to
dacc989
Compare
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
Successfully rebased |
0fac2c1
to
b6340bb
Compare
for pytorch/pytorch#147593 pass ci --------- Co-authored-by: Yutao Xu <yutao.xu@intel.com> Co-authored-by: mengfei25 <mengfei.li@Intel.com>
@pytorchbot rebase |
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
Successfully rebased |
b6340bb
to
ff07e01
Compare
@pytorchbot merge |
@pytorchmergebot rebase -b main |
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
Successfully rebased |
ff07e01
to
373f4df
Compare
@pytorchbot merge -i |
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 |
The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command |
Merge startedYour change will be merged while ignoring the following 0 checks: Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Motivation:
Add
USE_XCCL
andUSE_C10D_XCCL
to enable support of XCCL backend building in stock PyTorch, similar toUSE_NCCL
andUSE_C10D_NCCL
.By default,
USE_XCCL
is OFF and allowed set to ON explicitly.cc @gujinghui @EikanWang @fengyuan14 @guangyey