-
Notifications
You must be signed in to change notification settings - Fork 24.2k
[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
base: main
Are you sure you want to change the base?
Conversation
…se new ncclCommDumpAll API Summary: see D67193887 Test Plan: https://www.internalfb.com/mlhub/pipelines/runs/mast/aps-dlrm_fsdp2_test-7711e496fc?job_attempt=0&version=0&tab=execution_details&env=PRODUCTION Differential Revision: D74820576
🔗 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 FailureAs of commit b3c444f with merge base 480ae2d ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D74820576 |
std::stringstream ss; | ||
ss << std::hex << ncclComm->getNcclUniqueHash(); | ||
std::string ncclUniqueHashStr = ss.str(); |
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.
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(); |
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.
ncclDumpMap[ncclUniqueHashStr] = ncclComm->ncclCommDump(); | |
ncclDumpMap[std::move(ncclUniqueHashStr)] = ncclComm->ncclCommDump(); |
Summary: see D67193887
Test Plan: https://www.internalfb.com/mlhub/pipelines/runs/mast/aps-dlrm_fsdp2_test-7711e496fc?job_attempt=0&version=0&tab=execution_details&env=PRODUCTION
Differential Revision: D74820576
cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k