8000 [c10d] Simplify ProcessGroupNCCL into single-device style by kwen2501 · Pull Request #118674 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

[c10d] Simplify ProcessGroupNCCL into single-device style #118674

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

Closed
wants to merge 16 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Correctly print device
  • Loading branch information
kwen2501 committed Feb 2, 2024
commit 87b14fb28df54bcd193f53a1fa1b22fa7d283352
2 changes: 1 addition & 1 deletion torch/csrc/distributed/c10d/ProcessGroupNCCL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1917,7 +1917,7 @@ std::shared_ptr<NCCLComm> ProcessGroupNCCL::getNCCLComm(
#endif

LOG(INFO) << logPrefix() << "ProcessGroupNCCL created ncclComm_ "
<< ncclComm->ncclComm_ << " on CUDA device: " << device.index();
<< ncclComm->ncclComm_ << " on CUDA device: " << deviceIndex;

// At this point NCCL should have been initialized, hence we can accurately
// get the env value even if NCCL sets it by reading from nccl.conf file
Expand Down
0