Home
last modified time | relevance | path

Searched refs:rank_id_str (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/communication/
Dmanagement.py69 rank_id_str = os.getenv("RANK_ID")
70 if not rank_id_str:
73 int(rank_id_str)
/third_party/mindspore/mindspore/ccsrc/debug/debugger/offline_debug/
Ddbg_services.cc83 std::vector<std::string> rank_id_str = std::get<std::vector<std::string>>(attr_map["rank_id"]); in AddWatchpoint() local
86 rank_id_str.begin(), rank_id_str.end(), std::back_inserter(rank_id), in AddWatchpoint()
126 … std::vector<std::string> rank_id_str = std::get<std::vector<std::string>>(attr_map["rank_id"]); in AddWatchpoint() local
128 … (void)std::transform(rank_id_str.begin(), rank_id_str.end(), std::back_inserter(rank_id), in AddWatchpoint()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/
Dtbe_utils.cc130 std::string rank_id_str = common::GetEnv(kRankID); in GetOpDebugPath() local
131 if (rank_id_str.empty()) { in GetOpDebugPath()
133 rank_id_str = "0"; in GetOpDebugPath()
136 debug_path = config_path + "rank_" + rank_id_str + "/"; in GetOpDebugPath()
138 debug_path = config_path + "/" + "rank_" + rank_id_str + "/"; in GetOpDebugPath()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_kernel_runtime.cc101 auto rank_id_str = common::GetEnv("RANK_ID"); in GetRankIdStr() local
102 if (rank_id_str.empty()) { in GetRankIdStr()
105 return rank_id_str; in GetRankIdStr()
1104 std::string rank_id_str = GetRankIdStr(); in HcclInit() local
1110 MS_LOG(INFO) << "MINDSPORE_HCCL_CONFIG_PATH : " << full_path << ", RANK_ID: " << rank_id_str; in HcclInit()
1111 …cclAdapter::GetInstance().InitHccl(context_ptr->get_param<uint32_t>(MS_CTX_DEVICE_ID), rank_id_str, in HcclInit()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/cache_embedding/
Dcache_embedding.cc293 std::string rank_id_str = common::GetEnv("RANK_ID"); in CreateMapCacheIdx() local
294 if (!rank_id_str.empty()) { in CreateMapCacheIdx()
295 int64_t rank_id = atoi(rank_id_str.c_str()); in CreateMapCacheIdx()