huangbingjian
2a85af5d83
1. if Switch/SwitchLayer, do not replace Load or remove UpdateState; 2. add control flow testcases; 3. fix codedex problem
4 years ago
Margaret_wangrui
b39b3d7dd5
fix bot warnings
4 years ago
mindspore-ci-bot
7dc9eb3e0b
!15396 add parallel virtual output in eval/predict
From: @yao_yf
Reviewed-by: @yangzhenzhang,@stsuteng
Signed-off-by: @stsuteng
4 years ago
yao_yf
21276408b8
parallel virtual_out_ops
5 years ago
huangbingjian
302746d6a3
fix code check
4 years ago
zhangzhaoju
6a2aee492c
Clean code that not used
4 years ago
huangbingjian
e5d32c9ff8
add switch_defer_inline
4 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
zhangzhaoju
a1db9c4959
Pybind11::object && PrimitivePy recycle optimize
5 years ago
mindspore-ci-bot
b065554e92
!15179 update FindPrimalJPair in dunctor.cc
From: @huangbingjian
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
4 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
4 years ago
huangbingjian
1c2430b2bd
update FindPrimalJPair
4 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
mindspore-ci-bot
3d4364c4ac
!14940 Memory leak fix, clear using cnt map of graph while funcgraph manager free
From: @zhangzhaoju
Reviewed-by: @zh_qh,@ginfung,@zh_qh
Signed-off-by: @zh_qh,@zh_qh
5 years ago
buxue
65479e72f7
fix review boot
5 years ago
zhangzhaoju
ef4481c4a3
Memory leak fix, clear using cnt map of graph while funcgraph manager
free
5 years ago
mindspore-ci-bot
d8dedc91b9
!14858 Rectify the overlength of function line
From: @ginfung
Reviewed-by: @zh_qh,@hwhewei
Signed-off-by: @zh_qh
5 years ago
huangbingjian
8d64c11b8a
add testcases related to if, fix codedex check
5 years ago
yujianfeng
f580031bdd
rectify the overlength of function line
5 years ago
mindspore-ci-bot
e2260a2f09
!14612 remove ControlDepend
From: @huangbingjian
Reviewed-by:
Signed-off-by:
5 years ago
huangbingjian
c8f9d93c2d
modify findPrimalJPair
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
mindspore-ci-bot
a06234ed13
!13834 [GraphKernel] Remove two graph kernel frontend pass
From: @tronzhang
Reviewed-by: @gaoxiong1,@gaoxiong1,@dylangeng
Signed-off-by: @dylangeng
5 years ago
mindspore-ci-bot
72bad339e7
!14065 New add grad accumulation for network.
From: @linqingke
Reviewed-by: @guoqi1024,@xu-yfei
Signed-off-by: @guoqi1024
5 years ago
linqingke
7b48d059c5
new add grad accumulation for network.
5 years ago
tronzhang
87bf1ec80f
delete mark_interface_fusion and tensor reuse frontend pass for graph kernel
5 years ago
mindspore-ci-bot
5d0490909d
!14097 map a fv cnode if it is not mapped and belong to primal_graph_
From: @xychow
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
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
74d500a756
If a fv cnode is not mapped but belong to primal_graph_, then don't propagate this fv to caller, it should mapped instead
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
linqingke
db385e9b05
remove uselesee updatestate pattern and fix loss and J order
5 years ago
mindspore-ci-bot
d5bf6a2666
!13692 Fix the case of negative index in getitem depend reorder pass
From: @ginfung
Reviewed-by: @zh_qh,@hwhewei
Signed-off-by: @zh_qh
5 years ago
yujianfeng
0e0eb6659e
Fix the case of negative index in GetitemDependReorder
5 years ago
mindspore-ci-bot
71051e48a9
!13676 fix cmake lint
From: @zhoufeng54
Reviewed-by: @kisnwang,@xu-yfei
Signed-off-by: @xu-yfei
5 years ago
mindspore-ci-bot
cf5eaf8590
!13050 Don't insert UpdateState for HyperMap func graph call, move auto monad eliminator out from CSE, and eliminate auto monad nodes for output node.
From: @zh_qh
Reviewed-by:
Signed-off-by:
5 years ago
zhoufeng
ec7f9f395a
fix cmake lint
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
5 years ago
Zhang Qinghua
e853df4ecd
Don't insert UpdateState for HyperMap func graph call.
Move auto monad eliminator out from CSE.
Eliminate auto monad nodes for output node.
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