Commit Graph

163 Commits

Author SHA1 Message Date
jjfeing 8fb7d11ecb fix topk help 4096 2020-11-26 19:16:37 +08:00
huanghui 1c6c280da7 fix unsorted_segment_sum_fission pass 2020-11-11 11:25:55 +08:00
Yi Huaijie d7faa77b5e support int64 shape 2020-11-05 21:15:49 +08:00
huanghui b7519b7418 unify save_graphs_path 2020-10-15 10:15:16 +08:00
mindspore-ci-bot c951d42c2c !6728 [Ascend][DynamicShape] Dynamic shape feature
Merge pull request !6728 from caifubi/dynamic_shape_share_2
2020-10-12 09:07:39 +08:00
caifubi d3b978147f Ascend Dynamic Shape 2020-10-10 19:11:47 +08:00
jjfeing 755863ebae insert memcpy when hccl node 2020-10-10 17:03:50 +08:00
mindspore-ci-bot 3048240f16 !5508 Add AdamApplyOneWithDecayAssign fusion pass
Merge pull request !5508 from YuJianfeng/adam_assign
2020-09-02 11:23:34 +08:00
fary86 fcbb3e0edc Refactor ms_context implementation 2020-08-30 22:51:40 +08:00
yujianfeng 4b77f6b53c Add AdamApplyOneWithDecayAssign fusion pass 2020-08-29 17:54:15 +08:00
yujianfeng e688e1df32 Fix remove internal output for unique device target 2020-08-26 17:31:35 +08:00
Wei Luning c1c30a44f1 rename param_value -> param_info 2020-08-18 11:16:28 +08:00
huanghui b8d7f6d77f add UnsortedSegmentSum fission pass 2020-08-12 19:17:19 +08:00
yujianfeng 8a77751988 Add AdamApplyOneAssign and AdamApplyOneWithDecayAssign fusion pass 2020-08-10 14:46:37 +08:00
mindspore-ci-bot b045f47428 !3983 Add ReduceMin fission pass
Merge pull request !3983 from huanghui/reduce-min-fission-pass
2020-08-05 19:46:00 +08:00
huanghui 30000fdb52 add ReduceMin fission pass 2020-08-05 10:46:01 +08:00
liubuyu d81862a916 decoupling core and context 2020-08-05 08:15:14 +08:00
Wei Luning a05c38bb63 make python Parameter inherit from Tensor 2020-08-03 09:12:24 +08:00
WilliamLian 0179724dcd spilit unspported transdata to two transdata from special format -> defualt -> default -> special 2020-07-28 14:23:31 +08:00
liubuyu f4bc0bc9fe move the dependency of utils to core 2020-07-27 10:28:46 +08:00
chenfei 1f1a07e645 don't insert assign from condition to true branch of while 2020-07-26 14:38:42 +08:00
root 1b6f85dec8 split tuple parameter to parameters
add function trans tuple to maketuple
2020-07-23 16:46:55 +08:00
yujianfeng 4d18e9ec35 Fix internal multiple outputs check 2020-07-23 08:56:42 +08:00
huanghui f1563d2d37 insert memcpy async if hccl op cascade 2020-07-22 10:43:38 +08:00
mindspore-ci-bot 6f8863b65d !3198 synchronize latest Ascend software suite 18 Jul 2020, and merging branches
Merge pull request !3198 from yanghaoran/code_sync_0718
2020-07-19 14:14:45 +08:00
yanghaoran 859acc6d2a synchronize latest Ascend software suite 18 Jul 2020, and merging branches 2020-07-18 21:09:55 +08:00
yujianfeng fa0684d12d Add pack and concat fission pass 2020-07-18 15:39:06 +08:00
yujianfeng 188d74f15e Remove transdata and cast for internal outputs 2020-07-17 16:55:47 +08:00
changzherui f4cb445ea8 syn code for 0715 2020-07-16 17:18:21 +08:00
laiyongqiang 68c78ab6bb reuse communication op output's memory 2020-07-16 12:41:39 +08:00
liubuyu 43c79eb853 mindspore path adjust 2020-07-14 18:07:28 +08:00
huanghui 3eaf663545 add tensor scatter update fission pass 2020-07-10 15:41:22 +08:00
yujianfeng 24f6b9d77e Add input2output pass 2020-07-09 21:44:43 +08:00
He Wei 43e0967024 Decouple ir::Tensor class from python 2020-06-24 10:28:59 +08:00
gong chen a6dfa281ea Init GraphKernel.
- It provides a unified style to express graph and kernel for user.
- It provides a unified IR to represent graph and kernel for developer.
- It breaks the boundary between graph and kernel.
- It provides more opportunities to do compile optimization.
2020-06-20 22:31:54 +08:00
yujianfeng 7ad877a948 Add Split fission pass 2020-06-20 14:28:25 +08:00
yujianfeng f15cb6b7c9 Add sort by index for each group of AllReduce 2020-06-18 09:18:01 +08:00
mindspore-ci-bot 971f10d222 !1790 remove transdata only connected with control depend
Merge pull request !1790 from lianliguang/remove-the-useless-transdata-connected-with-the-control-depend
2020-06-15 16:59:33 +08:00
WilliamLian b86016a26f remove the useless transdata and cast of control depend node 2020-06-15 14:54:47 +08:00
huanghui 4acb61d59d code review fix for buffer fusion 2020-06-15 09:35:16 +08:00
huanghui 118496b3ec enhance insert memcpy 2020-06-10 18:00:08 +08:00
WilliamLian 9808e47663 change checkAicpu to CheckAICPU & add charge Scalar function to charge the input or output is scalar 2020-06-09 09:31:43 +08:00
huanghui b4c0ed4b36 add signle batchnorm fission pass 2020-06-08 10:08:23 +08:00
chujinjin 7465abc798 optimize transdata for pynative 2020-06-05 14:10:55 +08:00
mindspore-ci-bot c51d90d84e !1767 Move LayerNormGrad split pass ahead of kernel select
Merge pull request !1767 from huanghui/LayerNormGrad-split-pass
2020-06-05 09:13:24 +08:00
yujianfeng e87ac6525e Add batch norm fusion pattern for mix precision 2020-06-04 20:31:15 +08:00
huanghui cf87218fb7 place layernormgrad split pass before kernel select 2020-06-04 19:39:40 +08:00
huanghui d1cec14a0c add 2 pattern for softmaxgradext fusion pass 2020-06-01 18:48:41 +08:00
mindspore-ci-bot cc9c004bc1 !1696 Enable ConfusionMulGrad fusion pass
Merge pull request !1696 from huanghui/TMP
2020-05-30 14:44:29 +08:00
mindspore-ci-bot 59683a1d90 !1692 Fix topk bug for fasterrcnn
Merge pull request !1692 from meixiaowei/master
2020-05-30 09:56:40 +08:00
huanghui 71acaa5300 enable ConfusionMulGrad fusion pass in bert only 2020-05-30 09:46:21 +08:00
mindspore-ci-bot 387bcece9e !1666 Add 5 patterns for AdamApplyOneWithDecay fusion pass
Merge pull request !1666 from huanghui/AdamApplyOneWithDecay-fusion-pass
2020-05-30 09:43:07 +08:00
huanghui ff05aa1faa add newly 5 patterns for AdamApplyOneWithDecayRule fusion pass 2020-05-29 19:49:44 +08:00
yujianfeng e6f1cfa581 Check the input size of BatchNorm before fission in bert 2020-05-29 19:34:58 +08:00
meixiaowei 1778ec0135 fix topk bug 2020-05-29 19:04:18 +08:00
huanghui 99ca6b3e80 add SoftmaxGradExt fusion pass 2020-05-29 14:30:52 +08:00
mindspore-ci-bot 04398cf88e !1433 add tensor_minnie and separate py from ir
Merge pull request !1433 from leopz/tensor_base
2020-05-28 16:00:56 +08:00
leopz 4508134ceb add tensor_minnie and separate py from ir 2020-05-28 14:26:26 +08:00
mindspore-ci-bot c086d91aaf !1505 Add some checks in ConstToAttr[StridedSliceGrad] pass
Merge pull request !1505 from huanghui/stride-slice
2020-05-28 11:46:18 +08:00
yujianfeng ee087bdf60 Check the size of topk input names before converting input to attr 2020-05-28 10:29:21 +08:00
huanghui 1d65ae598a extract const_to_attr_strided_slice_grad pass 2020-05-27 17:30:17 +08:00
yangjie159 cbf5390b34 refactor memreuse allocator
remove stream id from membuf
add kernel dependence to determine whether is usable
2020-05-26 17:27:33 +08:00
mindspore-ci-bot 2215e3267f !1419 remove old buffer fusion pass
Merge pull request !1419 from Etone.Chan/Resnet50
2020-05-26 09:16:06 +08:00
etone-chan 42d724d8b4 remove old buffer fusion pass 2020-05-25 21:25:45 +08:00
huanghui a42dd21430 add 3 pattern for lamb_next_mv_rule fusion pass 2020-05-25 14:18:22 +08:00
huanghui f16ff539ba refactor multiple patterns pass 2020-05-23 09:40:21 +08:00
huanghui eaff850f11 add 3 patterns for lamb_next_mv_with_decay_rule pass 2020-05-21 17:00:15 +08:00
huanghui 5a68eba585 Refactor LambNextMVWithDecayRule fusion pass 2020-05-21 10:08:50 +08:00
huanghui c4af71e236 add LarsV2 fission pass 2020-05-18 11:30:45 +08:00
huanghui 709828a98b add BatchNormGrad2BNInferGrad pass 2020-05-15 14:37:50 +08:00
mindspore-ci-bot 42ba885e58 !1098 Add BatchNorm2BNInfer pass
Merge pull request !1098 from huanghui/add-batchnorm-bninfer-pass
2020-05-15 14:33:09 +08:00
huanghui 6db71e6576 add batchnorm2bninfer pass 2020-05-15 09:56:38 +08:00
yujianfeng 2b061c84c7 Add batch_norm_grad infer fisson 2020-05-15 09:44:40 +08:00
yujianfeng 6e89ebe6f0 Add BatchNorm fusion pattern with mix precision 2020-05-14 21:28:08 +08:00
etone-chan c4a5bfb787 add matmul eltwise buffer fusion pass 2020-05-14 10:36:23 +08:00
yujianfeng 31d8db9fc6 Add broadcast fusion pass 2020-05-13 15:30:38 +08:00
mindspore-ci-bot 86d4797399 !1079 Convert AiCpu kernel when aicore not supported
Merge pull request !1079 from lianliguang/convert-to-AICPU-when-AiCore-not-supported-kernel
2020-05-13 15:15:00 +08:00
WilliamLian 691b0648e3 convert unsupported kernel in aicore to aicpu 2020-05-13 11:52:26 +08:00
yujianfeng 85ff90c237 Add input shape condition for transpose_reshape fusion pass 2020-05-12 22:54:21 +08:00
huanghui 12eaaf710b mul_add_fusion pass supports when add's 2nd is mul 2020-05-08 14:28:39 +08:00
YuJianfeng aa6f808616 Add batch norm bert fission pass 2020-05-06 16:33:46 +08:00
changzherui 99c9b48a4d delete TestHWBatchNormGradSplit 2020-05-04 19:39:17 +08:00
YuJianfeng 7185961e89 Enable BatchNorm fusion pass 2020-04-30 15:29:23 +08:00
huanghui 0de0aee54e Add BatchNormGrad split pass 2020-04-29 15:28:23 +08:00
kswang e6f36e050f change cpu kernel dir 2020-04-27 21:14:03 +08:00
mindspore-ci-bot e537a70808 !657 Fix confusionmulgrad fusion pass cannot work
Merge pull request !657 from huanghui/fix-confusionmulgrad-fusion-pass
2020-04-27 11:10:25 +08:00
mindspore-ci-bot 3d9f1087c6 !695 Check topk supported before converting input to attr
Merge pull request !695 from YuJianfeng/master
2020-04-26 21:38:43 +08:00
YuJianfeng ce2a13fcda Check topk supported before converting input to attr 2020-04-26 18:40:17 +08:00
mindspore-ci-bot fb5cfe31d5 !430 add buffer fusion bnupdate eltwise pass
Merge pull request !430 from Etone.Chan/bufferfusion
2020-04-26 17:40:20 +08:00
Etone.Chan d2727d0504 add buffer fusion bnupdate eltwise pass 2020-04-26 17:17:42 +08:00
huanghui 230e77f923 fix confusionmulgrad fusion pass cannot work 2020-04-26 15:35:25 +08:00
huanghui 9e29224af9 move add_memcpy_async pass and transdata_split pass 2020-04-26 10:48:44 +08:00
mindspore-ci-bot 928dcf4ec4 !554 Fix derelu fusion pass
Merge pull request !554 from huanghui/fix_derelu_fusion_pass
2020-04-23 21:52:55 +08:00
huanghui cd6e8d6542 fix ReluV2's mask shape in derelu fusion pass 2020-04-23 21:25:18 +08:00
YuJianfeng 39945d0f79 Add AllGather fusion pass 2020-04-23 19:05:10 +08:00
YuJianfeng 5eb5379889 Add AdamApplyOne fusion pass 2020-04-18 10:54:09 +08:00
mindspore-ci-bot f69a668d98 !350 change tuple output to make tuple
Merge pull request !350 from lianliguang/chang-tuple-output-to-make-tuple
2020-04-17 19:22:41 +08:00
lianliguang 00e4306518 convert all tuple output to maketuple 2020-04-17 17:31:42 +08:00
mindspore-ci-bot f98efafa16 !317 [IRFusion] add derelu_fusion pass
Merge pull request !317 from huanghui/derelu_fusion_pass
2020-04-17 16:42:06 +08:00
wenchunjiang ee5f3fa240 add pass to insert memcpy_async for get_next outputs 2020-04-16 14:30:24 +08:00