From 90e928bcd5075e47648d913a7888909ba3499732 Mon Sep 17 00:00:00 2001 From: Wenkai Du Date: Wed, 4 Dec 2019 21:05:10 +0000 Subject: [PATCH] Change default P2P level --- src/transport/p2p.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transport/p2p.cc b/src/transport/p2p.cc index 7045ee8abc..7ce944fef4 100644 --- a/src/transport/p2p.cc +++ b/src/transport/p2p.cc @@ -78,7 +78,7 @@ static int busIdToCudaDev(const char* busId) { /* Determine if we can communicate with the peer through p2p */ ncclResult_t p2pCanConnect(ncclTvalue_t* ret, struct ncclPeerInfo* myInfo, struct ncclPeerInfo* peerInfo) { // Do not use P2P across root complexes by default (provided CUDA permits it) - int p2pLevel = PATH_NODE; + int p2pLevel = PATH_SYS; if (ncclParamP2pDisable() == 1) p2pLevel = 0; if (ncclParamP2pLevel() != -2) p2pLevel = ncclParamP2pLevel();