From ff75860d73ee1a76216a02cdd8ef3d076aa0ba54 Mon Sep 17 00:00:00 2001 From: Arm Patinyasakdikul Date: Fri, 10 Oct 2025 13:35:06 -0700 Subject: [PATCH] Fix unroll factor display bug. (#1969) --- src/rccl_wrap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rccl_wrap.cc b/src/rccl_wrap.cc index 2b1bf1f0a8..2ab0cac8ea 100644 --- a/src/rccl_wrap.cc +++ b/src/rccl_wrap.cc @@ -378,7 +378,7 @@ ncclResult_t commSetUnrollFactor(struct ncclComm* comm) { else comm->unroll = NCCL_UNROLL_4; - INFO(NCCL_INIT, "RCCL Unroll Factor (pre-set): %d", comm->unroll+1); + INFO(NCCL_INIT, "RCCL Unroll Factor (pre-set): %d", (int) (pow(2.0, (double)comm->unroll))); return ncclSuccess; }