Home
last modified time | relevance | path

Searched refs:allreduce (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pre_activate/
Dir_fusion_test.py23 allreduce = P.AllReduce() variable
24 allreduce.add_prim_attr('fusion', 1)
56 y1 = allreduce(x1)
57 y2 = allreduce(x2)
58 y3 = allreduce(x3)
59 y4 = allreduce(x4)
60 y5 = allreduce(x5)
65 ar = allreduce(x1, x2, x3, x4, x5)
83 y1 = allreduce(x1)
84 y2 = allreduce(x2)
[all …]
Dbn_split.py32 allreduce = Primitive('AllReduce') variable
116 allreduce_output0 = allreduce(bn_training_reduce_output0)
117 allreduce_output1 = allreduce(bn_training_reduce_output1)
Dbn_grad_split.py31 allreduce = Primitive('AllReduce') variable
114 allreduce_output0 = allreduce(update_output0)
115 allreduce_output1 = allreduce(update_output1)
/third_party/mindspore/mindspore/nn/wrap/
Dgrad_reducer.py83 def _tensors_allreduce(degree, mean, allgather, allreduce, allreduce_filter, grad): argument
99 grad = allreduce(grad)
130 def _tensors_allreduce_ps(degree, mean, allgather, allreduce, allreduce_filter, grad, ps_parameter): argument
150 grad = allreduce(grad)
158 def _tensors_allreduce_with_sparse(degree, mean, allgather, allreduce, allreduce_filter, grad): argument
184 def _tensors_allreduce_with_sparse_ps(degree, mean, allgather, allreduce, allreduce_filter, grad, p… argument
389 self.allreduce = AllReduce().add_prim_attr('fusion', fusion_type)
422 … self.allreduce), self.allreduce_filter, grads, self.ps_parameters)
425 self.allreduce), self.allreduce_filter, grads)
Dloss_scale.py299 self.allreduce = P.AllReduce()
411 flag_reduce = self.allreduce(flag_sum)
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fission/
Dbn_split.cc217 auto allreduce = graph->NewCNode(allreduce_inputs); in CreateAllReduceAndMul() local
218 MS_EXCEPTION_IF_NULL(allreduce); in CreateAllReduceAndMul()
219 allreduce->set_abstract(input_node->abstract()); in CreateAllReduceAndMul()
220 allreduce->set_scope(allreduce_input->scope()); in CreateAllReduceAndMul()
221 AnfAlgo::SetNodeAttr(kAttrOp, MakeValue(kReduceOpSum), allreduce); in CreateAllReduceAndMul()
222 AnfAlgo::CopyNodeAttr(kAttrGroup, sync_bn_cnode, allreduce); in CreateAllReduceAndMul()
235 AnfAlgo::SetNodeAttr(kAttrFusion, MakeValue(opid), allreduce); in CreateAllReduceAndMul()
239 …:vector<AnfNodePtr> mul_inputs = {NewValueNode(std::make_shared<Primitive>(kMulOpName)), allreduce, in CreateAllReduceAndMul()
/third_party/mindspore/mindspore/boost/
Dadasum.py56 def _send_recv_res(left_send, recv_part, local_part, allreduce, parameter_divisibility, allreduce_n… argument
71 value_0 = allreduce(value_0)
72 value_1 = F.depend(allreduce(value_1), value_0)
73 value_2 = F.depend(allreduce(value_2), value_1)
79 res = allreduce(local_part)
88 def _adasum_opt_forward_process(left_send, allreduce, parameter_divisibility, allreduce_node_num, s… argument
105 …update_delta_w = _send_recv_res(left_send, recv_part, right_part, allreduce, parameter_divisibilit…
112 …update_delta_w = _send_recv_res(left_send, recv_part, left_part, allreduce, parameter_divisibility,
Dboost_cell_wrapper.py355 self.allreduce = P.AllReduce()
471 flag_reduce = self.allreduce(flag_sum)
/third_party/mindspore/tests/st/networks/models/resnet50/src_thor/
Dmetric.py52 self.allreduce = P.AllReduce(P.ReduceOp.SUM, GlobalComm.WORLD_COMM_GROUP)
61 total_correct = self.allreduce(y_correct)
/third_party/mindspore/tests/st/networks/models/resnet50/src/
Dmetric.py52 self.allreduce = P.AllReduce(P.ReduceOp.SUM, GlobalComm.WORLD_COMM_GROUP)
61 total_correct = self.allreduce(y_correct)
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dkernel_graph.h346 …void InsertFromSendRecvPair(const CNodePtr &allreduce, const std::pair<CNodePtr, CNodePtr> &send_r… in InsertFromSendRecvPair() argument
347 allreduce_from_send_recv_pairs_[allreduce] = send_recv_pair; in InsertFromSendRecvPair()
349 …void InsertToSendRecvPair(const CNodePtr &allreduce, const std::pair<CNodePtr, CNodePtr> &send_rec… in InsertToSendRecvPair() argument
350 allreduce_to_send_recv_pairs_[allreduce] = send_recv_pair; in InsertToSendRecvPair()
/third_party/mindspore/tests/st/networks/models/bert/src/
Dbert_for_pre_training.py357 self.allreduce = P.AllReduce()
427 flag_reduce = self.allreduce(flag_sum)
/third_party/mindspore/
DRELEASE.md2642 - Performance optimization of the distributed training with allreduce.
2966 - Fix allreduce ir inconsistency([!989](https://gitee.com/mindspore/mindspore/pulls/989)).