[GRAPH] Disable MSCCL override of no. of channels (#1187)

Signed-off-by: nileshnegi <Nilesh.Negi@amd.com>
Этот коммит содержится в:
Nilesh M Negi
2024-07-15 10:45:21 -05:00
коммит произвёл GitHub
родитель 9cbb3da224
Коммит 67e867271f
2 изменённых файлов: 30 добавлений и 18 удалений
+1 -1
Просмотреть файл
@@ -700,7 +700,7 @@ ncclResult_t ncclTopoPostset(struct ncclComm* comm, int* firstRanks, int* treePa
}
if (mscclEnabled() && (comm->topo->mscclEnabled || mscclForceEnabled())) {
int mscclNumChannelsRequired = 0;
int mscclNumChannelsRequired = maxNchannels;
mscclSchedulerInit(comm, &mscclNumChannelsRequired);
minNchannels = std::max(minNchannels, mscclNumChannelsRequired);
}