yuchaojie
d2cb3aa1c2
unify AvgPoolGrad
5 years ago
liuxiao93
6459229fff
adapt some 3d ops.
5 years ago
mindspore-ci-bot
7f4937a131
!12755 optimizer concat output pass
From: @jjfeing
Reviewed-by: @stsuteng,@kisnwang
Signed-off-by: @stsuteng
5 years ago
mindspore-ci-bot
4e1931481a
!12667 【GraphKernel】Combine the GraphKernelOptimization of Gpu and Ascend
From: @dayschan
Reviewed-by: @lingyunli63
Signed-off-by:
5 years ago
jjfeing
28d92b1e89
optimizer concat output pass
5 years ago
mindspore-ci-bot
85461bcdb3
!12532 add SyncBatchNorm
From: @yuchaojie
Reviewed-by:
Signed-off-by:
5 years ago
dayschan
c165ab5bb1
Combine the GraphKernelOptimization of Gpu and Ascend
removed one cse from GPU passes,
some common passes was enabled for Ascend.
5 years ago
huangbingjian
7f27ca73b7
fix convert_const_input_to_attr
5 years ago
huanghui
de843b45b6
add circle check in ub fusion
5 years ago
yuchaojie
6d195f340c
add SyncBatchNorm
5 years ago
gongxiaoqing
4d6ff51ca1
回退 'Pull Request !12569 : Add circle check in ub fusion'
5 years ago
mindspore-ci-bot
9147f57e40
!11317 modify dropout unify mindir pass
From: @yuchaojie
Reviewed-by: @jjfeing,@kisnwang
Signed-off-by: @kisnwang
5 years ago
mindspore-ci-bot
08f8570338
!12569 Add circle check in ub fusion
From: @irmo
Reviewed-by: @zhoufeng54,@kisnwang
Signed-off-by: @kisnwang
5 years ago
zhupuxu
b15d182cd2
fix bug for dynamic_shape_depends
Signed-off-by: zhupuxu <zhupuxu@huawei.com>
5 years ago
huanghui
04fee8a75c
Fix ub fusion's circle
5 years ago
yuchaojie
74fb1b56df
modify dropout unify mindir pass
5 years ago
huanghui
cd21b284d9
fix ConvertAttrValuetoString
5 years ago
mindspore-ci-bot
590e889cba
!12265 [MS][RDR] optimize saving FuncGraph
From: @louie5
Reviewed-by:
Signed-off-by:
5 years ago
louei5
d1d5976ca2
using rdr module in proper position
5 years ago
dayschan
9d572f3963
Refactor GraphKernelExpander (2nd submission)
Changed the expander to class, and used the class name to identify the operator.
Moved the original op logic into the `_expand` function; added a `_check` function to check op inputs.
Use decorator to register the whitelist formats that operator supports,
and the decorator will change the `_check` function to check the formats.
5 years ago
mindspore-ci-bot
aa71118a99
!12281 fix exec order bug about monad and add test_case in ci
From: @zengzitao
Reviewed-by:
Signed-off-by:
5 years ago
mindspore-ci-bot
07cb2f3e83
!12283 add new inner operator centralizaiton
From: @david-he91
Reviewed-by:
Signed-off-by:
5 years ago
zengzitao
ef3507e973
fix exec order bug about monad
5 years ago
He Wei
24f744686e
[auto-monad] Optimize merge_addn and matmul_biasadd_fusion
Use more faster but not strict monad state check.
5 years ago
hedongdong
0660140708
add new inner operator centralizaiton
5 years ago
mindspore-ci-bot
30005c9c64
!12301 [GraphKernel] Eliminate redundant split nodes.
From: @tronzhang
Reviewed-by: @gaoxiong1,@anyrenwei
Signed-off-by: @anyrenwei
5 years ago
mindspore-ci-bot
5394ff8ac3
!12316 [GraphKernel] Exclude special node in expander and basic fusion.
From: @tronzhang
Reviewed-by: @gaoxiong1,@anyrenwei
Signed-off-by: @anyrenwei
5 years ago
tronzhang
be2b9978be
exclude special node when expand or basic fusion
5 years ago
yuchaojie
ad93497838
fix SliceGradUnifyMindIR
5 years ago
tronzhang
e953705521
eliminate redundant split ops
5 years ago
luopengting
b4d56f6358
add functions to check for directory and filename
1. add validation for directory and filename
2. refactor the file operations about path
3. add in CMakeLists
4. add logger in nn_ops
5 years ago
mindspore-ci-bot
a063d7633d
!12241 [auto-monad] Support side-effects by auto-monad
From: @hwhewei
Reviewed-by: @zhunaipan,@zh_qh
Signed-off-by: @zh_qh
5 years ago
mindspore-ci-bot
61ab50915f
!11959 Add BCEWithLogitsLoss op for Ascend.
From: @liu_xiao_93
Reviewed-by:
Signed-off-by:
5 years ago
He Wei
7d9a783993
[auto-monad] Support side-effects by auto-monad
The basic idea is: exploits data dependency to control the execution order
of side-effect operations, and keep the semantics of ANF unchanged.
The ControlDepend primitive is removed and there are two primitives added:
1. UpdateState:
```
a = Assign(para, value)
```
became:
```
a = Assign(para, value, u)
u = UpdateState(u, a)
```
2. Load:
```
x = Add(para, value)
```
became:
```
p = Load(para, u)
x = Add(p, value)
u = UpdateState(u, p)
```
5 years ago
mindspore-ci-bot
228a64de0f
!11390 convert part of prim attr from str to int
From: @wangnan39
Reviewed-by: @kingxian
Signed-off-by:
5 years ago
mindspore-ci-bot
7f1a9508f8
!12045 [MS][RDR] change saving filename in RDR module
From: @louie5
Reviewed-by:
Signed-off-by:
5 years ago
wangnan39@huawei.com
2f79905f60
convert attr from str to enum
5 years ago
louei5
72e567d06b
change saving filename in RDR module
5 years ago
dayschan
e0e6c39eae
Refactor GraphKernelExpander (1st submission)
Decoupled from the front-end interfaces.
1. Removed the call to "Renormalize".
Completed the infer-format in model_builder.
Only used the device shape and device format to
infer an abstract shape without considering padding.
2. Removed the call to python's Primitive interfaces.
The "Renormalize" relies on the PrimitivePy, so they can be
removed together. After that, the functions "ConstAttrToInput",
"DeleteAttrInInput" and related can be removed.
3. Reuse the AkgKernelJsonGenerator in GraphKernelExpander.
1) set the attribute "extract_opinfo_from_anf" to true, so that
the generator can handle the basic operator with anf info.
2) added a function "extract_expand_info" in expander.py
to convert the json into a more friendly format. The attrs
was converted to a dict instead of a list.
4. Scalars only support DefaultFormat.
Removed the argument "format" from graph_builder.value
5. Moved the expander op list from graph_kernel_helper.cc to graph_kernel_expander.cc
5 years ago
mindspore-ci-bot
5bbf009829
!12108 [GraphKernel] Set attribute to node safely.
From: @tronzhang
Reviewed-by: @ckey_dou
Signed-off-by:
5 years ago
liu_xiao_93
fabc25538e
Add BCEWithLogitsLoss
5 years ago
jinyaohui
30a27b2adb
modify Gelu、FastGelu to GeLU and FastGeLU
5 years ago
mindspore-ci-bot
aebe263dce
!11895 unify mindir for different backend: the output num of optimizer ops, the backward of concat
From: @wangnan39
Reviewed-by:
Signed-off-by:
5 years ago
mindspore-ci-bot
c9aaa70b39
!12092 Change L2Norm, merge from r1.1 to master
From: @liangzhibo
Reviewed-by: @ginfung
Signed-off-by:
5 years ago
mindspore-ci-bot
ad5b033cc5
Change L2Norm, r1.1 to master
5 years ago
tronzhang
c1e63d4824
set attr safetly
5 years ago
mindspore-ci-bot
2847a1f3e3
!12052 somas solver optimization
From: @laiyongqiang
Reviewed-by: @zhoufeng54,@chujinjin
Signed-off-by: @chujinjin
5 years ago
mindspore-ci-bot
74652eb942
!12044 modify pack to stack
From: @jinyaohui
Reviewed-by:
Signed-off-by:
5 years ago
mindspore-ci-bot
c6e8204915
!12084 fix Conv2DBackpropInputUnifyMindIR when it is a forward op in pynative
From: @yuchaojie
Reviewed-by: @kisnwang,@zhoufeng54
Signed-off-by: @zhoufeng54
5 years ago
mindspore-ci-bot
39d0f2e95a
!12125 Dump complete trace info for hwop_d_end_xxx.ir
From: @irmo
Reviewed-by: @zhoufeng54,@chujinjin
Signed-off-by: @chujinjin
5 years ago