Searched refs:rank_id_str (Results 1 – 5 of 5) sorted by relevance
69 rank_id_str = os.getenv("RANK_ID")70 if not rank_id_str:73 int(rank_id_str)
83 std::vector<std::string> rank_id_str = std::get<std::vector<std::string>>(attr_map["rank_id"]); in AddWatchpoint() local86 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() local128 … (void)std::transform(rank_id_str.begin(), rank_id_str.end(), std::back_inserter(rank_id), in AddWatchpoint()
130 std::string rank_id_str = common::GetEnv(kRankID); in GetOpDebugPath() local131 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()
101 auto rank_id_str = common::GetEnv("RANK_ID"); in GetRankIdStr() local102 if (rank_id_str.empty()) { in GetRankIdStr()105 return rank_id_str; in GetRankIdStr()1104 std::string rank_id_str = GetRankIdStr(); in HcclInit() local1110 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()
293 std::string rank_id_str = common::GetEnv("RANK_ID"); in CreateMapCacheIdx() local294 if (!rank_id_str.empty()) { in CreateMapCacheIdx()295 int64_t rank_id = atoi(rank_id_str.c_str()); in CreateMapCacheIdx()