Home
last modified time | relevance | path

Searched refs:enable_parallel_optimizer (Results 1 – 17 of 17) sorted by relevance

/third_party/mindspore/tests/ut/python/parallel/
Dtest_parallel_optimizer.py86 …t.set_auto_parallel_context(parallel_mode=mode, device_num=dev_num, enable_parallel_optimizer=True)
147 …_auto_parallel_context(parallel_mode="data_parallel", device_num=2, enable_parallel_optimizer=True)
163 …_auto_parallel_context(parallel_mode="data_parallel", device_num=2, enable_parallel_optimizer=True)
179 …_auto_parallel_context(parallel_mode="data_parallel", device_num=2, enable_parallel_optimizer=True,
196 context.set_auto_parallel_context(enable_parallel_optimizer=True)
Dtest_shared_param_and_mix_precision.py60 …el_compile_net(mode, dev_num, net, strategy1=None, strategy2=None, enable_parallel_optimizer=False, argument
64 enable_parallel_optimizer=enable_parallel_optimizer,
Dtest_pipeline_split.py203 …to_parallel_context(device_num=8, global_rank=0, pipeline_stages=2, enable_parallel_optimizer=True)
221 …to_parallel_context(device_num=8, global_rank=4, pipeline_stages=2, enable_parallel_optimizer=True)
239 …to_parallel_context(device_num=8, global_rank=0, pipeline_stages=2, enable_parallel_optimizer=True)
254 …to_parallel_context(device_num=8, global_rank=4, pipeline_stages=2, enable_parallel_optimizer=True)
Dtest_set_auto_parallel_context.py90 context.set_auto_parallel_context(enable_parallel_optimizer=True)
Dtest_distribute_predict.py53 enable_parallel_optimizer=True)
Dtest_loss_and_o2_level.py125 enable_parallel_optimizer=True)
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dcontext.h123 void set_enable_parallel_optimizer(bool enable_parallel_optimizer) { in set_enable_parallel_optimizer() argument
124 enable_parallel_optimizer_ = enable_parallel_optimizer; in set_enable_parallel_optimizer()
126 bool enable_parallel_optimizer() const { return enable_parallel_optimizer_; } in enable_parallel_optimizer() function
Dstep_parallel.cc1011 if (ParallelContext::GetInstance()->enable_parallel_optimizer()) { in FindCNode()
1027 …if (ParallelContext::GetInstance()->enable_parallel_optimizer() && IsInAllGatherNodeList(use_apply… in FindCNode()
1045 if (ParallelContext::GetInstance()->enable_parallel_optimizer() && IsInAllGatherNodeList(cnode)) { in InsertMirrorBeforeCast()
1684 bool enable_parallel_optimizer = ParallelContext::GetInstance()->enable_parallel_optimizer(); in SetParallelShape() local
1685 if (enable_parallel_optimizer) { in SetParallelShape()
Dparameter_manager.cc519 if (ParallelContext::GetInstance()->enable_parallel_optimizer()) { in SetClonedTensorShapeForOptimizer()
/third_party/mindspore/mindspore/parallel/
D_auto_parallel_context.py471 def set_enable_parallel_optimizer(self, enable_parallel_optimizer): argument
479 if not isinstance(enable_parallel_optimizer, bool):
481 self._context_handle.set_enable_parallel_optimizer(enable_parallel_optimizer)
683 strategy_ckpt_save_file=str, full_batch=bool, enable_parallel_optimizer=bool,
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/hccl/
Dhccl_kernel_metadata.cc39 if (parallel_context_instance->enable_parallel_optimizer() && op_name == kBroadcast) { in GetKernelFormat()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dpipeline_split_utils.cc118 bool enable_parallel_optimizer = ParallelContext::GetInstance()->enable_parallel_optimizer(); in InsertVirtualAssignAdd() local
119 if (IsPrimitiveCNode(cnode, prim::kPrimDepend) && enable_parallel_optimizer) { in InsertVirtualAssignAdd()
/third_party/mindspore/mindspore/
Dcontext.py347 strategy_ckpt_save_file=str, full_batch=bool, enable_parallel_optimizer=bool,
/third_party/mindspore/tests/st/auto_parallel/
Doptimizer_parallel.py295 enable_parallel_optimizer=True)
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/
Dinit.cc187 .def("get_enable_parallel_optimizer", &ParallelContext::enable_parallel_optimizer, in PYBIND11_MODULE()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/
Dcommunication_op_fusion.cc158 if (!parallel_context->enable_parallel_optimizer()) { in GetSplitSegments()
/third_party/mindspore/mindspore/parallel/nn/
Dtransformer.py219 context.set_auto_parallel_context(enable_parallel_optimizer=value)