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