Home
last modified time | relevance | path

Searched refs:local_rank (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Ddevice_matrix.cc130 uint32_t local_rank = 0; in GetDevicesByTensorMap() local
135 ++local_rank; in GetDevicesByTensorMap()
137 if (local_rank == dev_list_.size()) { in GetDevicesByTensorMap()
138 MS_LOG(ERROR) << "Rank id: " << local_rank << "is not in the device list."; in GetDevicesByTensorMap()
142 Shape current_rank_coordinate = ConvertRankToCoordinate((int32_t)local_rank, dev_shape_); in GetDevicesByTensorMap()
/third_party/mindspore/mindspore/parallel/
D_utils.py317 local_rank = int(_get_global_rank() % (_get_device_num() / _get_pipeline_stages()))
319 local_rank = _get_global_rank()
343 ret[param_name] = ([local_rank], True)
349 ret[param_name] = ([rank_list[local_rank]], True)
/third_party/boost/boost/mpi/
Dintercommunicator.hpp134 int local_rank() const { return this->rank(); } in local_rank() function in boost::mpi::intercommunicator
/third_party/mindspore/mindspore/ccsrc/fl/server/
Ddistributed_count_service.h85 uint32_t local_rank() { return local_rank_; } in local_rank() function
/third_party/mindspore/mindspore/ccsrc/fl/server/kernel/round/
Dpush_metrics_kernel.cc25 …csKernel::InitKernel(size_t) { local_rank_ = DistributedCountService::GetInstance().local_rank(); } in InitKernel()
Dreconstruct_secrets_kernel.cc131 std::string worker_id = std::to_string(DistributedCountService::GetInstance().local_rank()); in OnLastCountEvent()
Dpush_weight_kernel.cc30 local_rank_ = DistributedCountService::GetInstance().local_rank(); in InitKernel()
/third_party/mindspore/mindspore/ccsrc/fl/server/kernel/
Dfed_avg_kernel.h154 …name_, std::to_string(DistributedCountService::GetInstance().local_rank()) + "_" + std::to_string(… in Launch()