Skip to content

Commit

Permalink
Move the tuner's selecting debug print to INFO level
Browse files Browse the repository at this point in the history
This is a useful print to debug issues with algorithm selection at scale
without having to rebuild the plugin. While the actual costs calculated
are more developer-focused and can stay under TRACE, the final choice
should be available to INFO when the TUNING debug subsystem is enabled.

NCCL 2.20 moved their algo/proto selection print from a TRACE to INFO
for this reason as well.

Signed-off-by: Raghu Raja <[email protected]>
  • Loading branch information
rajachan committed Apr 4, 2024
1 parent 3defe9e commit b00760e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tuner/nccl_ofi_tuner.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ ncclResult_t nccl_ofi_tuner_get_coll_info(void *context, ncclFunc_t collType, si
}
}

NCCL_OFI_TRACE(NCCL_TUNING, "Choosing algo %d proto %d with cost %.8f µsecs for coll %d size %ld.",
NCCL_OFI_INFO(NCCL_TUNING, "Choosing algo %d proto %d with cost %.8f µsecs for coll %d size %ld.",
*algorithm, *protocol, lowest, collType, nBytes);
return ncclSuccess;
}
Expand Down

0 comments on commit b00760e

Please sign in to comment.