Browse Source

!2396 fix hccl env value

Merge pull request !2396 from jjfeing/master
tags/v0.5.0-beta
mindspore-ci-bot Gitee 5 years ago
parent
commit
5f742c269e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/device/ascend/ascend_kernel_runtime.cc

+ 1
- 1
mindspore/ccsrc/device/ascend/ascend_kernel_runtime.cc View File

@@ -538,8 +538,8 @@ bool AscendKernelRuntime::HcclInit() {
config_path_str = std::getenv("RANK_TABLE_FILE");
if (config_path_str == nullptr) {
MS_LOG(ERROR) << "get hccl json config failed, please set env MINDSPORE_HCCL_CONFIG_PATH or RANK_TABLE_FILE";
return false;
}
return false;
}
std::string rank_id_str = GetRankId();
auto full_path = realpath(config_path_str, nullptr);


Loading…
Cancel
Save