From 1b5a12196d32b155df9b31932e673466ae5e3466 Mon Sep 17 00:00:00 2001 From: SCh-zx <1325467101@qq.com> Date: Mon, 4 Aug 2025 17:32:56 +0800 Subject: [PATCH] test --- torch_npu/csrc/distributed/ProcessGroupHCCL.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/torch_npu/csrc/distributed/ProcessGroupHCCL.cpp b/torch_npu/csrc/distributed/ProcessGroupHCCL.cpp index b8ec10ef33..5c7be090c8 100644 --- a/torch_npu/csrc/distributed/ProcessGroupHCCL.cpp +++ b/torch_npu/csrc/distributed/ProcessGroupHCCL.cpp @@ -2185,7 +2185,6 @@ void ProcessGroupHCCL::setNSLBCommConfig(HcclCommConfig** commConfig) return; } uint32_t worldRankID = std::stoi(std::string(envPtr)); - options_->hccl_config["hccl_world_rank_id"] = worldRankID; uint32_t masterPort = tcpMasterPort; struct sockaddr_in sa; std::string master_addr = tcpMasterAddr; @@ -2194,11 +2193,6 @@ void ProcessGroupHCCL::setNSLBCommConfig(HcclCommConfig** commConfig) uint64_t jobID = masterPort; jobID = (jobID << NSLB_JOBID_OFFSET); jobID += masterIp; - options_->hccl_config["hccl_job_id"] = jobID; - if ((*commConfig) != nullptr) { - (*commConfig)->hcclWorldRankID = worldRankID; - (*commConfig)->hcclJobID = jobID; - } } void ProcessGroupHCCL::createHCCLComm( -- Gitee