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

这个提交包含在:
Wenkai Du 编写, GitHub 于 2024-05-08 06:59:57 -07:00 提交
1 父节点 a0cef69110
当前提交 f679db6ff6
1 个文件已更改
+1 -1
+1 -1
查看文件
@@ -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;