Skip to content

Commit

Permalink
Add the world size info in NCCL metadata
Browse files Browse the repository at this point in the history
Summary: This diff adds the world size info in NCCL metadata, as we need the information to calculate the algorithmic bandwidth and bus Bandwidth.

Differential Revision: D50439185
  • Loading branch information
yoyoyocmu authored and facebook-github-bot committed Oct 20, 2023
1 parent 22e6b27 commit 943e87c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/torch_ucc_tracing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ void CommTraceLogger::recordComms(
outSize,
dtype,
curInSplitSizes_,
curOutSplitSizes_);
curOutSplitSizes_,
world_size);

++seqnum;

Expand Down

0 comments on commit 943e87c

Please sign in to comment.