From 28a83c3ea60db7ac46fbf66e74e6252814fab03f Mon Sep 17 00:00:00 2001 From: Arm Patinyasakdikul Date: Wed, 20 Aug 2025 16:52:35 -0500 Subject: [PATCH] Removing "Could not find any local path from gpu X to net." warning (#1866) * Removing "Could not find any local path from gpu X to net." warning to avoid confusion. --- src/graph/topo.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/graph/topo.cc b/src/graph/topo.cc index 2945f5d886..a61b100131 100644 --- a/src/graph/topo.cc +++ b/src/graph/topo.cc @@ -1546,7 +1546,9 @@ ncclResult_t ncclTopoGetLocalNet(struct ncclTopoSystem* system, int rank, int ch int localNetCount; NCCLCHECK(ncclTopoGetLocal(system, GPU, gpu, NET, localNets, &localNetCount, NULL)); if (localNetCount==0) { +#if !defined(__HIP_PLATFORM_AMD__) && !defined(__HIPCC__) WARN("Could not find any local path from gpu %d to net.", gpu); +#endif return ncclInternalError; }