Fix protocol and channel override when tuner is used (#1985)

* Fix protocol and channel override when tuner is used

* Added comment

* Fix README for basic tuner implementation
This commit is contained in:
nawrinsu
2025-11-03 13:56:34 -08:00
committed by GitHub
parent caffd013f6
commit 166268d715
4 changed files with 11 additions and 5 deletions
+2 -2
View File
@@ -330,8 +330,8 @@ __hidden ncclResult_t pluginGetCollInfo(void* context, ncclFunc_t collType, size
TunerContext* ctx = (TunerContext*)context;
if (!ctx) return ncclInternalError;
// Default channels
*nChannels = 1;
// Set default channels to 0 to ensure RCCL uses its default channel selection logic in case no match is found or wildcard is used in config.
*nChannels = 0;
if (ctx->logFunction) {
ctx->logFunction(NCCL_LOG_TRACE, NCCL_TUNING, __FILE__, __LINE__,