Skip to content

Commit

Permalink
modifying PATTERN_TREE case
Browse files Browse the repository at this point in the history
  • Loading branch information
PedramAlizadeh authored and corey-derochie-amd committed Feb 11, 2025
1 parent 73a0f8e commit f366914
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/graph/rome_models.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2092,7 +2092,7 @@ ncclResult_t parseRome4P2H(struct ncclTopoSystem* system, struct ncclTopoGraph*
}
}
break;
case NCCL_TOPO_PATTERN_BALANCED_TREE:
case NCCL_TOPO_PATTERN_BALANCED_TREE: case NCCL_TOPO_PATTERN_TREE:
if (romeTopoModels[i].treeBase != nullptr) {
NCCLCHECK(parseGraphLight(romeTopoModels[i].treeBase, system, graph, g));
if (graph->nChannels) return ncclSuccess;
Expand All @@ -2118,12 +2118,6 @@ ncclResult_t parseRome4P2H(struct ncclTopoSystem* system, struct ncclTopoGraph*
}
}
break;
case NCCL_TOPO_PATTERN_TREE:
if (romeTopoModels[i].treeBase != nullptr) {
NCCLCHECK(parseGraphLight(romeTopoModels[i].treeBase, system, graph, g));
if (graph->nChannels) return ncclSuccess;
}
break;
}
return ncclSuccess;
}
Expand Down

0 comments on commit f366914

Please sign in to comment.