Searched refs:GlobalComm (Results 1 – 25 of 25) sorted by relevance
/third_party/mindspore/mindspore/communication/ |
D | management.py | 21 _get_local_rank_helper, _get_local_size_helper, GlobalComm 36 return GlobalComm.WORLD_COMM_GROUP 66 if not GlobalComm.CHECK_ENVS: 133 GlobalComm.BACKEND = Backend("hccl") 135 GlobalComm.BACKEND = Backend("hccl_mpi") 137 GlobalComm.WORLD_COMM_GROUP = HCCL_WORLD_COMM_GROUP 138 GlobalComm.INITED = True 141 GlobalComm.BACKEND = Backend("nccl") 142 GlobalComm.WORLD_COMM_GROUP = NCCL_WORLD_COMM_GROUP 143 GlobalComm.INITED = True [all …]
|
D | __init__.py | 19 from .management import GlobalComm, init, release, get_rank, get_group_size, get_world_rank_from_gr…
|
D | _comm_helper.py | 92 class GlobalComm: class 155 if not GlobalComm.INITED:
|
/third_party/mindspore/tests/ut/python/communication/ |
D | test_management_api.py | 44 D.GlobalComm.BACKEND = D.Backend.HCCL 49 D.GlobalComm.BACKEND = D.Backend.HCCL 54 D.GlobalComm.BACKEND = D.Backend.HCCL 59 D.GlobalComm.BACKEND = D.Backend.UNDEFINED 64 D.GlobalComm.BACKEND = D.Backend.HCCL 69 D.GlobalComm.BACKEND = D.Backend.HCCL 74 D.GlobalComm.BACKEND = D.Backend.HCCL 79 D.GlobalComm.BACKEND = D.Backend.UNDEFINED 84 D.GlobalComm.BACKEND = D.Backend.HCCL 89 D.GlobalComm.BACKEND = D.Backend.HCCL [all …]
|
D | test_comm.py | 23 …pore.communication.management import HCCL_WORLD_COMM_GROUP, NCCL_WORLD_COMM_GROUP, GlobalComm, init 40 GlobalComm.CHECK_ENVS = False 42 GlobalComm.CHECK_ENVS = True 80 if GlobalComm.BACKEND is Backend.HCCL: 82 elif GlobalComm.BACKEND is Backend.NCCL:
|
/third_party/mindspore/tests/ut/python/train/ |
D | test_dataset_helper.py | 22 from mindspore.communication._comm_helper import GlobalComm 78 GlobalComm.CHECK_ENVS = False 80 GlobalComm.CHECK_ENVS = True 92 GlobalComm.CHECK_ENVS = False 94 GlobalComm.CHECK_ENVS = True 108 GlobalComm.CHECK_ENVS = False 110 GlobalComm.CHECK_ENVS = True
|
D | test_amp.py | 24 from mindspore.communication._comm_helper import GlobalComm 160 GlobalComm.CHECK_ENVS = False 162 GlobalComm.CHECK_ENVS = True
|
/third_party/mindspore/tests/ut/python/parallel/ |
D | test_broadcast_dict.py | 22 from mindspore.communication._comm_helper import GlobalComm 52 GlobalComm.CHECK_ENVS = False 54 GlobalComm.CHECK_ENVS = True 67 GlobalComm.CHECK_ENVS = False 69 GlobalComm.CHECK_ENVS = True
|
D | __init__.py | 20 from mindspore.communication._comm_helper import GlobalComm 25 GlobalComm.INITED = True 33 GlobalComm.INITED = False
|
D | test_auto_parallel_resnet_predict.py | 21 from mindspore.communication._comm_helper import GlobalComm 26 GlobalComm.CHECK_ENVS = False 28 GlobalComm.CHECK_ENVS = True
|
D | test_optimizer.py | 27 from mindspore.communication._comm_helper import GlobalComm 50 GlobalComm.CHECK_ENVS = False 52 GlobalComm.CHECK_ENVS = True
|
D | test_gather_v2_primitive.py | 31 from mindspore.communication._comm_helper import GlobalComm 128 GlobalComm.CHECK_ENVS = False 130 GlobalComm.CHECK_ENVS = True
|
D | test_alltoall.py | 32 from mindspore.communication.management import GlobalComm, init 36 GlobalComm.CHECK_ENVS = False 38 GlobalComm.CHECK_ENVS = True
|
D | test_auto_parallel_resnet_sharding_propagation2.py | 33 from mindspore.communication._comm_helper import GlobalComm 37 GlobalComm.CHECK_ENVS = False 39 GlobalComm.CHECK_ENVS = True
|
D | test_auto_parallel_resnet_sharding_propagation.py | 34 from mindspore.communication._comm_helper import GlobalComm 38 GlobalComm.CHECK_ENVS = False 40 GlobalComm.CHECK_ENVS = True
|
D | test_auto_parallel_resnet.py | 34 from mindspore.communication._comm_helper import GlobalComm 38 GlobalComm.CHECK_ENVS = False 40 GlobalComm.CHECK_ENVS = True
|
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pre_activate/ |
D | all_to_all_unify_mindir_test.py | 18 from mindspore.communication.management import GlobalComm, init 21 GlobalComm.CHECK_ENVS = False 23 GlobalComm.CHECK_ENVS = True
|
/third_party/mindspore/mindspore/ops/operations/ |
D | comm_ops.py | 21 from ...communication.management import get_rank, get_group_size, GlobalComm, _get_group 88 group != GlobalComm.WORLD_COMM_GROUP: 147 def __init__(self, op=ReduceOp.SUM, group=GlobalComm.WORLD_COMM_GROUP): 223 def __init__(self, group=GlobalComm.WORLD_COMM_GROUP): 260 …def __init__(self, group=GlobalComm.WORLD_COMM_GROUP, grad_accumulation_step=None, mean_flag=None): 293 def __init__(self, group=GlobalComm.WORLD_COMM_GROUP, mean_flag=None): 417 def __init__(self, op=ReduceOp.SUM, group=GlobalComm.WORLD_COMM_GROUP): 553 def __init__(self, root_rank, group=GlobalComm.WORLD_COMM_GROUP): 601 def __init__(self, group=GlobalComm.WORLD_COMM_GROUP): 644 group=GlobalComm.WORLD_COMM_GROUP): [all …]
|
D | _inner_ops.py | 26 from ...communication.management import GlobalComm 421 …def __init__(self, sr_tag, dest_rank, group=GlobalComm.WORLD_COMM_GROUP, group_back=GlobalComm.WOR… 477 def __init__(self, sr_tag, src_rank, shape, dtype, group=GlobalComm.WORLD_COMM_GROUP, 478 group_back=GlobalComm.WORLD_COMM_GROUP):
|
/third_party/mindspore/mindspore/parallel/ |
D | _cell_wrapper.py | 19 from mindspore.communication import GlobalComm 70 _allgather_cell = AllGatherCell(GlobalComm.WORLD_COMM_GROUP)
|
/third_party/mindspore/tests/st/networks/models/resnet50/src_thor/ |
D | metric.py | 19 from mindspore.communication.management import GlobalComm 52 self.allreduce = P.AllReduce(P.ReduceOp.SUM, GlobalComm.WORLD_COMM_GROUP)
|
/third_party/mindspore/tests/st/networks/models/resnet50/src/ |
D | metric.py | 17 from mindspore.communication.management import GlobalComm 52 self.allreduce = P.AllReduce(P.ReduceOp.SUM, GlobalComm.WORLD_COMM_GROUP)
|
/third_party/mindspore/mindspore/nn/wrap/ |
D | grad_reducer.py | 18 from mindspore.communication.management import GlobalComm, get_group_size 30 def _init_allreduce_operators(length, split_indices, group=GlobalComm.WORLD_COMM_GROUP): 366 …def __init__(self, parameters, mean=True, degree=None, fusion_type=1, group=GlobalComm.WORLD_COMM_…
|
/third_party/mindspore/mindspore/profiler/ |
D | profiling.py | 23 from mindspore.communication.management import GlobalComm, release, get_rank, get_group_size 152 if GlobalComm.WORLD_COMM_GROUP == "nccl_world_group": 257 if self._profile_communication and not GlobalComm.INITED: 260 if GlobalComm.INITED: 365 if GlobalComm.WORLD_COMM_GROUP == "nccl_world_group":
|
/third_party/mindspore/mindspore/train/summary/ |
D | _summary_adapter.py | 26 from mindspore.communication.management import GlobalComm 62 if device_num > 1 or GlobalComm.WORLD_COMM_GROUP == 'nccl_world_group':
|