huangbingjian
0590ade91d
modify SetitemEliminator
5 years ago
mindspore-ci-bot
a1c3f55aca
!13197 support item negative index bprop
From: @zhangbuxue
Reviewed-by: @ginfung
Signed-off-by:
5 years ago
mindspore-ci-bot
ef4dd1b4e5
!13092 [ME]Check whethter env node exist of incorporate getitem pass
From: @chenfei52
Reviewed-by:
Signed-off-by:
5 years ago
buxue
50ee325b96
support item negative index bprop
5 years ago
mindspore-ci-bot
f056dab57a
!13128 fix env_getitem has not been eliminated; output addr is not exist trace.
From: @Margaret_wangrui
Reviewed-by:
Signed-off-by:
5 years ago
mindspore-ci-bot
d556db2864
!13126 Set abstract value for reserved Depend node when merge Depend nodes.
From: @zh_qh
Reviewed-by: @ginfung
Signed-off-by: @ginfung
5 years ago
Zhang Qinghua
f6a2ff3384
Make a_2 and b_1 pass as global sensitive, and traverse from SUB to IR.
5 years ago
Zhang Qinghua
f73f2d73f3
Set abstract value for reserved Depend node when merge Depend nodes.
5 years ago
Margaret_wangrui
01ea845efb
fix env_getitem has not been eliminated
5 years ago
chenfei
d00bd9d93f
check env node exist of incorporate getitem pass
5 years ago
mindspore-ci-bot
48d4cca512
!12949 Add TopoSort Rhs First attribute for special CNode, such as Depend CNode with isolated nodes.
From: @zh_qh
Reviewed-by: @hwhewei,@zhunaipan
Signed-off-by: @zhunaipan
5 years ago
Zhang Qinghua
df866f7248
Add TopoSort Rhs First attribute for special CNode, such as Depend CNode with isolated nodes.
5 years ago
Ziyan
ec9793861f
fix grad accu
5 years ago
mindspore-ci-bot
4742ddfecd
!12865 [ME]Add restrict of expanding one J node in one optimizer step
From: @chenfei52
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
5 years ago
chenfei
74605a9f22
return if is_once_ is true
5 years ago
Zhang Qinghua
8b8c59f01e
Optimize the compile performance in Parser, FG, Manager and Renormalize:
---
Remove the routine of handling isolated nodes in Renormalize.
Add isolated nodes from Parser&Resolver.
Modify isolated nodes handling in FG&Manager.
Optimize the renormalize routines.
Other optimizations.
5 years ago
yangzhenzhang
a70d616841
mini step grad accumulation
5 years ago
mindspore-ci-bot
277e4f9d46
!12665 [ME]fix bug of eliminate cast pass
From: @chenfei52
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
5 years ago
chenfei
5d7a867118
fix bug of eliminate cast when trans through depend
5 years ago
mindspore-ci-bot
b13cabeb10
!12621 Eliminate all redundant nodes related to UpdateStates.
From: @zh_qh
Reviewed-by: @ginfung,@hwhewei
Signed-off-by: @ginfung
5 years ago
mindspore-ci-bot
f269f3fc8d
!12231 Support ad for scalar inputs
From: @ginfung
Reviewed-by:
Signed-off-by:
5 years ago
Zhang Qinghua
9b26c210f4
Eliminate all useless nodes related to UpdateStates.
5 years ago
buxue
610300335f
support index by negative number
5 years ago
yujianfeng
41189781f3
support scalar input for cell
5 years ago
mindspore-ci-bot
9ab38c7d65
!12559 [auto-monad] Fix a bug in UpdateState_eliminate
From: @hwhewei
Reviewed-by: @ginfung
Signed-off-by:
5 years ago
He Wei
09e7733861
[auto-monad] Fix a bug in updatestate_eliminate
All Load nodes in a MakeTuple should use same monad if we are going to merge UpdateStates for them.
5 years ago
mindspore-ci-bot
7582ed0390
!12539 [ME]fix bug of eliminate cast pass
From: @chenfei52
Reviewed-by: @zh_qh,@ginfung
Signed-off-by: @zh_qh
5 years ago
chenfei
d28fcbf598
match depend of eliminate cast
5 years ago
Zhang Qinghua
88e4dbeb04
Ignore renormalization if no changes made after last renormalization.
Release all data after finished RDR checking.
5 years ago
Zhang Qinghua
ebbf48697f
Traverse all nodes once, then traverse all Substitutions on each node.
5 years ago
mindspore-ci-bot
cab5ece4e9
!12461 1、fix square_sum_fusion pattern not match 2、add pass:load_eliminate
From: @Margaret_wangrui
Reviewed-by: @hwhewei,@zh_qh
Signed-off-by: @zh_qh
5 years ago
Margaret_wangrui
26ba7f2a38
1、fix square_sum_fusion pattern not match 2、add pass:load_eliminate
5 years ago
Margaret_wangrui
81259d7339
fix load input is depend node when ReplaceUpdateStateForLoad
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
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
Zhang Qinghua
c621a48533
Refactor grad operation implementation.
5 years ago
mindspore-ci-bot
e897eb4c41
!11915 Change TensorAdd to Add, merge from r1.1 to master
From: @liangzhibo
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
5 years ago
l00591931
9ec100d069
Change TensorAdd to Add, from r1.1 to master
5 years ago
mindspore-ci-bot
066ebe516e
!11794 remove useless code of dot
From: @yuan_shen_zhou
Reviewed-by: @liangchenghui
Signed-off-by: @liangchenghui
5 years ago
zhouyuanshen
d1e6878011
remove dot
5 years ago
mindspore-ci-bot
9fa0499fa0
Change GatherV2 to Gather r1.1 to master
5 years ago
mindspore-ci-bot
b9e1c3f045
!11530 support call inner net attr
From: @zhangbuxue
Reviewed-by:
Signed-off-by:
5 years ago
buxue
3d33c4fed3
support call inner net attr
5 years ago
yujianfeng
266e960acb
Not do cse for the nodes set recomputed before recompute pass
5 years ago
xsmq
73b7154e55
fix cmakelint error
5 years ago
yujianfeng
08e00b20a9
Move the whole graph nodes firstly for the single used graph when inline
5 years ago
chenfei
874f350eb9
add dump level
5 years ago
mindspore-ci-bot
21addb331d
!11009 Fix continuous calls for recompute api
From: @ginfung
Reviewed-by: @zhunaipan,@zh_qh
Signed-off-by: @zh_qh
5 years ago
yujianfeng
7cac3d3a47
Fix continuous calls for recompute api
5 years ago
mindspore-ci-bot
1c942ce49f
!10221 support grad accumulation for auto parallel
From: @yangzhenzhang
Reviewed-by:
Signed-off-by:
5 years ago