Use normal permute path when one NIC per GPU (#1171)

Tá an tiomantas seo le fáil i:
Wenkai Du údaraithe agus GitHub tiomanta 2024-05-08 06:59:57 -07:00
1 tuismitheoir a0cef69110
tiomantas f679db6ff6
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -1379,7 +1379,7 @@ ncclResult_t parseRome4P2H(struct ncclTopoSystem* system, struct ncclTopoGraph*
// permute GPU IDs
for (int j = 0; j < ngpus; j++) g[j] = (j+2)%ngpus;
if (!permuteGpuIds(g, 0, ngpus-1, romeTopoModels+i, &romeTopo, &time, ignore_cpu ? false : match_nbio, ignore_numa)) continue;
if (nnetspergpu) {
if (nnetspergpu > 1) {
int found = 0;
// initialize nics mapping
for (int j = 0; j < nnets; j++) n[j] = -1;