huangbingjian
2a85af5d83
1. if Switch/SwitchLayer, do not replace Load or remove UpdateState; 2. add control flow testcases; 3. fix codedex problem
5 years ago
Margaret_wangrui
b39b3d7dd5
fix bot warnings
5 years ago
yao_yf
21276408b8
parallel virtual_out_ops
5 years ago
huangbingjian
e5d32c9ff8
add switch_defer_inline
5 years ago
dayschan
771e3f61f3
Clean GraphKernel's codes from frontend
1. set class GraphKernel as deprecated, and treat it as Cell
2. set class InplaceAssign as deprecated, suggested using Assign instead.
3. set op_selector as deprecated, removed the _selected_ops and _selected_grad_ops, replaced with real operations
4. removed the two passes of GraphKernel from frontend
5. removed the GraphKernel's codes from other modules
5 years ago
mindspore-ci-bot
c43deb5469
!14809 [Less BN]New add FN, GC optimizer.
From: @linqingke
Reviewed-by: @guoqi1024,@xu-yfei
Signed-off-by: @xu-yfei
5 years ago
linqingke
c54ba4df9b
[Less BN]New add FN, GC optimizer.
add gc.
remove gc in less_bn
[Less BN]Add GC optimizer.
update format.
fix bug.
5 years ago
buxue
65479e72f7
fix review boot
5 years ago
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