mindspore-ci-bot
e2260a2f09
!14612 remove ControlDepend
From: @huangbingjian
Reviewed-by:
Signed-off-by:
5 years ago
huangbingjian
63a89925ff
remove ControlDepend and its use
5 years ago
mindspore-ci-bot
002819b35b
!14627 [Less BN]Eliminating BN according to pattern matching.
From: @linqingke
Reviewed-by: @zh_qh,@guoqi1024
Signed-off-by: @guoqi1024
5 years ago
mindspore-ci-bot
ce248c37e0
!14407 separate irpass EnvGetItemEliminater and ItemTupleOrListEliminator
From: @huangbingjian
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
5 years ago
linqingke
a89a0d4810
[Less BN]Eliminating BN according to pattern matching.
5 years ago
huangbingjian
134d5dfe4b
separate irpass EnvGetItemEliminater and ItemTupleOrListEliminator
5 years ago
mindspore-ci-bot
107a0ea6f7
!14367 fix load eliminate bug
From: @Margaret_wangrui
Reviewed-by: @zh_qh,@hwhewei
Signed-off-by: @zh_qh
5 years ago
Margaret_wangrui
daecc79e91
fix load eliminate bug
5 years ago
Zhang Qinghua
25664a966c
Return new UpdateState with input when match UpdateState(, MakeTuple(input,FuncGraph)).
Replace US with its monad input in DeleteLoadUserUpdateState().
5 years ago
tronzhang
87bf1ec80f
delete mark_interface_fusion and tensor reuse frontend pass for graph kernel
5 years ago
mindspore-ci-bot
b5a25045f8
!14113 incorporate tuple_getitem(switch()) if g1 or g2 is a specific kind of fprop funcgraph
From: @xychow
Reviewed-by: @zh_qh,@ginfung
Signed-off-by: @zh_qh
5 years ago
zhousiyi
cd66730ee4
if g1 or g2 is a fprop funcgraph which bprop funcgraph has env_getitem/env_setitem, then incorporate that tuple_getitem(switch) to eliminate env_setitem
5 years ago
Margaret_wangrui
4b04345393
fix assign execution order problem
5 years ago
yujianfeng
0e0eb6659e
Fix the case of negative index in GetitemDependReorder
5 years ago
mindspore-ci-bot
b22d4f99a5
!13503 Only continuous loads are eliminated
From: @Margaret_wangrui
Reviewed-by:
Signed-off-by:
5 years ago
Margaret_wangrui
aeb43e5167
eliminate consecutive loads
5 years ago
zhousiyi
3f2a08c1d0
incoroprate TupleGetItem Switch if EnvSetItem or EnvGetItem exists in the same func graph, so EnvGetItem or EnvSetItem can be eliminated even DEFER_INLINE flag is set, so before second order J is expanded, EnvGetItem or EnvSetItem is eliminated
5 years ago
yujianfeng
aa76c2b455
Set abstract for new node in GetitemDependReorder pass
5 years ago
Margaret_wangrui
3623d1aadb
fix resnet50 performance
5 years ago
mindspore-ci-bot
b8b96e15e7
!13155 [ME]Fix bug of embed J and side-by-side J
From: @chenfei52
Reviewed-by: @zh_qh
Signed-off-by: @zh_qh
5 years ago
huangbingjian
0590ade91d
modify SetitemEliminator
5 years ago
chenfei
fc335daa30
get all j node and then expand them
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
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
Ziyan
ec9793861f
fix grad accu
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
Zhang Qinghua
9b26c210f4
Eliminate all useless nodes related to UpdateStates.
5 years ago
buxue
610300335f
support index by negative number
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
chenfei
d28fcbf598
match depend of eliminate cast
5 years ago
Zhang Qinghua
ebbf48697f
Traverse all nodes once, then traverse all Substitutions on each node.
5 years ago
Margaret_wangrui
26ba7f2a38
1、fix square_sum_fusion pattern not match 2、add pass:load_eliminate
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
l00591931
9ec100d069
Change TensorAdd to Add, from r1.1 to master
5 years ago
mindspore-ci-bot
9fa0499fa0
Change GatherV2 to Gather r1.1 to master
5 years ago
buxue
3d33c4fed3
support call inner net attr
5 years ago
yujianfeng
08e00b20a9
Move the whole graph nodes firstly for the single used graph when inline
5 years ago
yangzhenzhang
9da3f9bec9
mini step grad accumulation
5 years ago
yujianfeng
728fac6c9f
Expand J for innermost graph first when the graph also contains J primitive
5 years ago
yujianfeng
e1aa34a030
Ignore the graphs with defer_inline flag when specializing on graph arguments
5 years ago