diff --git a/torch_npu/csrc/distributed/ProcessGroupHCCL.cpp b/torch_npu/csrc/distributed/ProcessGroupHCCL.cpp index 6678f8ab93e8045f1ea979205f23384fcc1a6909..01a91edef86e85e0fe1c5db4d602bcf5fe0f3507 100644 --- a/torch_npu/csrc/distributed/ProcessGroupHCCL.cpp +++ b/torch_npu/csrc/distributed/ProcessGroupHCCL.cpp @@ -3199,7 +3199,7 @@ HcclCommConfig ProcessGroupHCCL::createHcclCommConfigWithOptions() if (options_->hccl_config.find("hccl_world_rank_id") != options_->hccl_config.end()) { if (std::holds_alternative(options_->hccl_config["hccl_world_rank_id"])) { - config.hcclOpExpansionMode = std::get(options_->hccl_config["hccl_world_rank_id"]); + config.hcclWorldRankID = std::get(options_->hccl_config["hccl_world_rank_id"]); } else { TORCH_CHECK(false, "Value type of hccl_world_rank_id should be int.", DIST_ERROR(ErrCode::TYPE)); } @@ -3207,7 +3207,7 @@ HcclCommConfig ProcessGroupHCCL::createHcclCommConfigWithOptions() if (options_->hccl_config.find("hccl_job_id") != options_->hccl_config.end()) { if (std::holds_alternative(options_->hccl_config["hccl_job_id"])) { - config.hcclOpExpansionMode = std::get(options_->hccl_config["hccl_job_id"]); + config.hcclJobID = std::get(options_->hccl_config["hccl_job_id"]); } else { TORCH_CHECK(false, "Value type of hccl_job_id should be int.", DIST_ERROR(ErrCode::TYPE)); }