Increase P2P channels per peer (#1060)

Dieser Commit ist enthalten in:
Wenkai Du verfasst und GitHub committed 2024-01-25 11:21:58 -08:00
1 Ursprung 7d6da4c66b
Commit ffde530af5
1 Datei geändert
+1
+1
Datei anzeigen
@@ -861,6 +861,7 @@ ncclResult_t ncclTopoComputeP2pChannels(struct ncclComm* comm) {
} else {
// Round to next pow2 nChannelsPerPeer and nChannels
comm->p2pnChannelsPerPeer = (ncclParamNChannelsPerPeer() == -2 ? nextPow2(minChannels) : ncclParamNChannelsPerPeer());
comm->p2pnChannelsPerPeer *= 2;
comm->p2pnChannels = nextPow2(comm->p2pnChannels);
}