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
025fec757c
!12087 optimize the memory alloc error info
From: @limingqi107
Reviewed-by: @kisnwang,@cristoval
Signed-off-by: @cristoval
5 years ago
mindspore-ci-bot
0d24b45a71
!12017 add ps cache mode check
From: @zyli2020
Reviewed-by: @cristoval,@limingqi107
Signed-off-by: @limingqi107
5 years ago
limingqi107
366f3e668d
optimize the memory alloc error info
5 years ago
lizhenyu
c89e00e13b
add ps cache sparse mode check
5 years ago
jjfeing
bff8bf0253
remove no use log
5 years ago
liubuyu
8ff36d3079
reset cube compute mode
5 years ago
mindspore-ci-bot
a9dfb07cf1
!11660 get cube size by data type
From: @liubuyu
Reviewed-by:
Signed-off-by:
5 years ago
lizhenyu
f17534af08
ps cache support sparse
5 years ago
liubuyu
4a3cbda322
get cube size by dtype
5 years ago
yanghaitao1
8d147deb07
profiler memory
5 years ago
chujinjin
ade9a82c2b
fix device memory leak
5 years ago
laiyongqiang
c1d2dbe991
fix codex and review bot warning
5 years ago
limingqi107
560aa11b5f
fix ps cache check cnode
5 years ago
limingqi107
75baf35343
add ps check
5 years ago
limingqi107
a844d52b42
add ps cache check
5 years ago
lizhenyu
e3f7ae61db
add ps cache manager
5 years ago
xiaoyisd
424999267a
mac build
5 years ago
lvliang
8984cc9c03
pynative-support-dynamic-op-run-in-gpu
5 years ago
HulkTang
c36b477568
Run ops one by one in pynative bp graph
5 years ago
lvchangquan
5afd5d6934
fix some problem of warpctc network in pynative mode
5 years ago
mindspore-ci-bot
0d49650bd5
!8888 Add PyNative Device Profiling
From: @jojobugfree
Reviewed-by: @kisnwang,@jjfeing
Signed-off-by: @jjfeing
5 years ago
caifubi
12643a33dd
Add profiling reporter
5 years ago
mindspore-ci-bot
51d71dc9fb
!8646 Optimize time of getting dynamic info in single op
From: @joylvliang
Reviewed-by:
Signed-off-by:
5 years ago
laiyongqiang
978b7e2e18
fix codex and review bot warning
5 years ago
mindspore-ci-bot
816f22efeb
!8805 fix assign memory bug when tuple_get_item connecting communication operator
From: @yao_yf
Reviewed-by: @kisnwang,@jjfeing
Signed-off-by: @jjfeing
5 years ago
lvliang
f279cd92ec
optimize-time-of-getting-dynamic-info-in-single-op
5 years ago
yao_yf
36fec5dca7
fix_assign_memory_bug_with_tuple_get_item_and_communication_ops
5 years ago
kswang
89ad244882
fix cpu codex and optimize controldepend
5 years ago
mindspore-ci-bot
fb0e866ad1
!8269 forward unique dynamic shape
From: @yao_yf
Reviewed-by:
Signed-off-by:
5 years ago
yao_yf
31819bb4a7
support forward unique
5 years ago
mindspore-ci-bot
07633f2a2a
!8601 independent node use the somas's memory
From: @laiyongqiang
Reviewed-by: @kisnwang,@jjfeing
Signed-off-by: @jjfeing
5 years ago
laiyongqiang
db782ac92e
remove context disable somas when variable_memory_max_size is set as somas feature switch
5 years ago
laiyongqiang
222159599a
independent node use the somas's memory
5 years ago
mindspore-ci-bot
90aaf8a58c
!8491 use input node as input parameter to allocate communication input address
From: @laiyongqiang
Reviewed-by:
Signed-off-by:
5 years ago
laiyongqiang
301b7039a8
fix communication input address bug
5 years ago
chujinjin
3357181d72
fix error when graph and pynative mode mixed excution
5 years ago
mindspore-ci-bot
dc0cf6f66c
!8292 handling contiguous ref node
From: @laiyongqiang
Reviewed-by:
Signed-off-by:
5 years ago
laiyongqiang
0b3e327f49
handling contiguous ref node
5 years ago
mindspore-ci-bot
64d078da79
!8286 disable somas when variable_memory_max_size is set
Merge pull request !8286 from laiyongqiang/context_somas
5 years ago
laiyongqiang
6b57cc705f
disable somas when variable_memory_max_size is set
5 years ago
Yi Huaijie
d7faa77b5e
support int64 shape
5 years ago
lvliang
fd5be43598
pynative-support-dynamic-shape
5 years ago
laiyongqiang
5452e711b5
[MemOpt]Safe Optimized Memory Allocation Solver
5 years ago
Harshvardhan Gupta
744355a005
remove dbg args from runtime and remove needless argument from IsWatchpoint
5 years ago
mindspore-ci-bot
39bc43e674
!5990 fix parameter in multi-graph
Merge pull request !5990 from lianliguang/GAN
5 years ago
caifubi
d3b978147f
Ascend Dynamic Shape
5 years ago
mindspore-ci-bot
5f4e800141
!6803 disable memory reuse for selected op in e2e dump
Merge pull request !6803 from laiyongqiang/e2edump_reuse
5 years ago
laiyongqiang
bd8aeefd95
disable memory reuse for selected op in e2e dump
5 years ago
laiyongqiang
125849755a
replace unused parameter in graph inputs
5 years ago