Fix ignore NUMA not being observed for NICs during model matching (#1164)

This commit is contained in:
Wenkai Du authored and GitHub committed 2024-05-03 16:42:07 -07:00
1 parent 6f5a8ce1fb
commit bb58b1c258
1 file changed
+1 -1
+1 -1
Vedi File
@@ -1393,7 +1393,7 @@ ncclResult_t parseRome4P2H(struct ncclTopoSystem* system, struct ncclTopoGraph*
if (k == n[f]) break;
if (f < found) continue;
// check NUMA
if (romeTopoModels[i].nicNuma[j] != romeTopo.nicNuma[k]) continue;
if (!ignore_numa && romeTopoModels[i].nicNuma[j] != romeTopo.nicNuma[k]) continue;
int g;
// check GDR
for (g = 0; g < ngpus; g++)