8000 [PyTorch][NCCL PG][Resubmit D67193887] Change getNCCLCommDumpMap to use new ncclCommDumpAll API by jiayulu · Pull Request #153636 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

[PyTorch][NCCL PG][Resubmit D67193887] Change getNCCLCommDumpMap to use new ncclCommDumpAll API #153636

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jiayulu
Copy link
@jiayulu jiayulu commented May 15, 2025

Copy link
pytorch-bot bot commented May 15, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/153636

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit b3c444f with merge base 480ae2d (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added oncall: distributed Add this issue/PR to distributed oncall triage queue release notes: distributed (c10d) release notes category labels May 15, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74820576

Comment on lines +394 to +396
std::stringstream ss;
ss << std::hex << ncclComm->getNcclUniqueHash();
std::string ncclUniqueHashStr = ss.str();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
std::stringstream ss;
ss << std::hex << ncclComm->getNcclUniqueHash();
std::string ncclUniqueHashStr = ss.str();
std::string ncclUniqueHashStr = fmt::format("{:x}", ncclComm->getNcclUniqueHash());

More efficient and readable to use libfmt here?

ss << std::hex << ncclComm->getNcclUniqueHash();
std::string ncclUniqueHashStr = ss.str();

ncclDumpMap[ncclUniqueHashStr] = ncclComm->ncclCommDump();
Copy link
Collaborator
@Skylion007 Skylion007 May 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ncclDumpMap[ncclUniqueHashStr] = ncclComm->ncclCommDump();
ncclDumpMap[std::move(ncclUniqueHashStr)] = ncclComm->ncclCommDump();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fb-exported oncall: distributed Add this issue/PR to distributed oncall triage queue release notes: distributed (c10d) release notes category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0