 @@ -460,20 +460,21 @@ int checkBDFFormat(char* bdf) {
    return 1;
  }
- 
+
 -ncclResult_t ncclTopoGetXmlFromSys(struct ncclXmlNode* pciNode, struct ncclXml* xml) {
 +ncclResult_t ncclTopoGetXmlNodeFromSys(struct ncclXmlNode* pciNode,
 +                                       struct ncclXml* xml,

   if (parent == NULL) {
-    if (path == NULL) NCCLCHECK(getPciPath(busId, &path));
+    NCCLCHECK(getPciPath(busId, path));
 
     // Save that for later in case next step is a CPU
     char numaIdStr[MAX_STR_LEN];
@@ -544,7 +546,6 @@ ncclResult_t ncclTopoGetXmlFromSys(struct ncclXmlNode* pciNode, struct ncclXml*

@@ -10,12 +10,12 @@
 #include <cuda_runtime.h>
 #include <cuda_fp16.h>

-#define NCCL_MAJOR ${nccl:Major}
-#define NCCL_MINOR ${nccl:Minor}
-#define NCCL_PATCH ${nccl:Patch}
-#define NCCL_SUFFIX "${nccl:Suffix}"
+#define NCCL_MAJOR 2
+#define NCCL_MINOR 7
+#define NCCL_PATCH 6
+#define NCCL_SUFFIX ""

-#define NCCL_VERSION_CODE ${nccl:Version}
+#define NCCL_VERSION_CODE 2703
 #define NCCL_VERSION(X,Y,Z) ((X) * 1000 + (Y) * 100 + (Z))

 #ifdef __cplusplus
See https://github.com/NVIDIA/nccl/pull/322.patch
From 410d341bd4569f60282576daa5c991717dbd560e Mon Sep 17 00:00:00 2001
