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
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
wangnan39@huawei.com
cd9173fdfd
unify the output num of optimizer ops
5 years ago
tanghuikang
3d098708b9
Ignore useless output when generate stub tensor in BuildOpsInGraph
5 years ago
mindspore-ci-bot
08ffd9dcbe
!12032 Build ops pynative bprop graph on ascend
From: @HulkTang
Reviewed-by: @chujinjin,@kisnwang
Signed-off-by: @chujinjin
5 years ago
mindspore-ci-bot
cc58feebee
!12036 Add trace stack for graph_build_xxx.ir
From: @irmo
Reviewed-by: @kisnwang,@zhoufeng54
Signed-off-by: @zhoufeng54
5 years ago
huanghui
4fb1d0776b
add trace stack for graph_build_xxx.ir
5 years ago
jjfeing
bff8bf0253
remove no use log
5 years ago
tanghuikang
b136c5f0eb
Fix bug in BuildOpsInGraph
5 years ago
yuchaojie
7a7f8b5e13
unify SpaceToBatchND's attr
5 years ago
mindspore-ci-bot
d2e7f1f26c
!11783 unify SliceGrad's mindir
From: @yuchaojie
Reviewed-by: @kingxian,@zhoufeng54
Signed-off-by: @kingxian
5 years ago
tanghuikang
6f2cd92aba
Support RunOpsInGraph on CPU&GPU in pynative mode
5 years ago
yuchaojie
a7b49bbca2
unify SliceGrad's mindir
5 years ago
mindspore-ci-bot
c9442eccb7
!11593 remove sparse softmax grad node
From: @jjfeing
Reviewed-by: @zhoufeng54,@kisnwang
Signed-off-by: @kisnwang
5 years ago
jjfeing
2adff83c99
fix sparse_softmax_cross_entropy_with_logits
5 years ago
louei5
ac02213521
Adding RDR tool for locating bugs, e.g. run task error.
5 years ago
weiyang
4029b411c9
for switch layer
5 years ago
mindspore-ci-bot
d8323b5d51
!11342 Support device memeory profiling
From: @yanghaitao1
Reviewed-by: @wangyue01,@lilongfei15
Signed-off-by: @lilongfei15
5 years ago
tanghuikang
5dc66a82ce
Pre build all ops in bprop graph under PyNative
5 years ago
yanghaitao1
8d147deb07
profiler memory
5 years ago
chujinjin
9104ffaafa
fix inceptionv3 kernel build error in pynative
5 years ago
chujinjin
ade9a82c2b
fix device memory leak
5 years ago
tanghuikang
92cb18faab
Fix GetOpInputTensors bug
5 years ago
mindspore-ci-bot
9591c325f7
!10865 Raise exception when sync stream failed
From: @jojobugfree
Reviewed-by: @kisnwang,@zhoufeng54,@chujinjin
Signed-off-by: @chujinjin
5 years ago
hwjiaorui
eb973172d2
unify mindir sparse
sparse loss
format
add string head
context
5 years ago
jjfeing
389da54525
fix dropout unify_mindir pass
5 years ago
mindspore-ci-bot
8331550e30
!10738 add reorder_ops pass in graph kernel
From: @looop5
Reviewed-by: @lingyunli63,@ckey_dou,@gaoxiong1
Signed-off-by: @ckey_dou
5 years ago
caifubi
ea2aa7dec4
Raise exception when Sync stream failed
5 years ago
lvliang
f4c3f29ca5
fix-bug-of-multiple-tuple-output-by-connect-cnode-to-return
5 years ago
looop5
0a62d42d65
add reorder_ops pass in graph kernel
5 years ago
lichenever
9595502278
optimizer_pipline_split
5 years ago
mindspore-ci-bot
e52173f631
!10522 Add check LabelSwitch op in if_by_if case
From: @liangzelang
Reviewed-by: @zhoufeng54,@kisnwang
Signed-off-by: @kisnwang
5 years ago
liangzelang
1de8a2fd5d
add labelswitch option
5 years ago
mindspore-ci-bot
a98ae4129a
!10236 Support if_by_if case by labelgoto with labelswitch
From: @liangzelang
Reviewed-by:
Signed-off-by:
5 years ago
yanghaoran
b8345d03b6
Synchronize latest Ascend software 18 Dec 2020, with profiler fixes
5 years ago
liangzelang
2ab20c1b6e
fix if_by_if bug by replace labelgoto with labelswitch
5 years ago
mindspore-ci-bot
2298a7b743
!9580 map_dump_to_code
From: @jiangzg001
Reviewed-by: @kingxian,@c_34,@kingxian
Signed-off-by: @c_34
5 years ago
jiangzhenguang
0dfa15a6b3
map_dump_file_to_code
5 years ago
yuchaojie
4ea19f51ee
add MaxPool2D/1D unify_mindir
5 years ago
jjfeing
7118100f71
revert dropout&maxpool&sparsesoftmax mindir
5 years ago
hwjiaorui
2edc7cc193
sparse pass
format
format
format
5 years ago
jjfeing
1984cf8e20
unify mindir
5 years ago
LianLiguang
68fa73f06a
change cast and weight format
5 years ago
lizhenyu
e3f7ae61db
add ps cache manager
5 years ago
mindspore-ci-bot
afa931ae79
!9308 Clean useless tensor after run pynative bprop graph
From: @HulkTang
Reviewed-by:
Signed-off-by:
5 years ago
tanghuikang
82450afa9e
Optimize memory using in pynative mode
5 years ago
Harshvardhan Gupta
dd0084c52b
improve perf, keep consistent tensor state, fix recheck, check weights at step end
5 years ago
tanghuikang
acd910323e
Erase kAttrPynativeNextOpName and kAttrPynativeNextIndex after SelectKernel
5 years ago
mindspore-ci-bot
d38f8205dc
!8987 support getnext in pynative mode
From: @chujinjin
Reviewed-by:
Signed-off-by:
5 years ago
mindspore-ci-bot
1a5dd4a711
!9390 Pynative support dynamic op run in gpu
From: @joylvliang
Reviewed-by: @chujinjin,@jjfeing
Signed-off-by: @chujinjin
5 years ago