This commit is contained in:
Yehuda Yitschak 2025-07-22 20:58:01 +02:00 committed by GitHub
commit 1c1f49dcb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -951,7 +951,7 @@ void* ncclProxyProgress(void *proxyState_) {
__atomic_store_n(&proxyState->asyncResult, ret, __ATOMIC_RELEASE);
INFO(NCCL_ALL,"%s:%d -> %d [Progress Thread]", __FILE__, __LINE__, ret);
}
if (added == 0) {
if (added == 0 && idle) {
sched_yield(); // No request progressed. Let others run.
}
}