Commit Graph

100 Commits

Author SHA1 Message Date
zhousiyi b798586988 keep tuple_getitem as much as possible to reduce the number of func graphs
shrink output of func_graph other than set unused to dead node
2021-08-16 07:08:07 +00:00
chenfei 8e5a250c21 code self check 2021-07-28 12:37:52 +08:00
huangbingjian 4515d8dc10 adjust and update irpass 2021-07-26 17:45:44 +08:00
i-robot 305f08811d !20761 pclint clean
Merge pull request !20761 from zhangzhaoju/master_ci_format
2021-07-26 03:19:24 +00:00
i-robot 652121c7f9 !20565 change ConvertSwitchReplacement from substitution to pass
Merge pull request !20565 from huangbingjian/branch_cull
2021-07-23 08:41:04 +00:00
zhangzhaoju 52f443d7db ci format issue fix 2021-07-23 15:30:32 +08:00
huangbingjian 87e69c6fde modify ConvertSwitchReplacement 2021-07-22 11:51:32 +08:00
lianliguang 3bca7466dd fix codex pclint and code check2.0 2021-07-21 09:32:13 +08:00
ZPaC a9a0f590e6 Fix master static check 2021-07-15 20:42:42 +08:00
chenfei ff066a0df3 add switch_simplify pass to a2 2021-07-09 16:56:43 +08:00
lianliguang c659694cf7 opt addn+zeroslike and opt zeroslike 2021-07-07 09:27:39 +08:00
huangbingjian 25a5579661 add auto-monad-elim interface 2021-07-05 16:45:26 +08:00
Ziyan be1f5a43d7 opt shard fit micro batch 2021-06-24 14:52:19 +08:00
i-robot eb0bad4ad7 !16378 Export bprop func_graph to mindir
Merge pull request !16378 from YuJianfeng/bprop_mindir
2021-06-18 08:50:25 +00:00
yujianfeng e88d058787 Add bprop cache 2021-06-18 09:31:46 +08:00
yujianfeng 697855313f Add arg to control whether the output of cell should be recomputed 2021-06-16 14:59:15 +08:00
i-robot 85d860e6a2 !16457 [AutoParallel]pipeline_split_adapt_master
Merge pull request !16457 from lichen/pipeline_split_adapt_master
2021-06-11 11:37:40 +08:00
lichenever db5d508356 pipeline_split_adapt_master 2021-06-10 20:17:33 +08:00
Margaret_wangrui e01ad12cdc code self check 2021-06-10 09:33:27 +08:00
chenfei 4f50b3dfe1 add parameter eliminate pass 2021-06-04 11:53:34 +08:00
mindspore-ci-bot 31e608bcd9 !17165 pclint clean
From: @zhangzhaoju
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
2021-06-01 09:17:23 +08:00
zhangzhaoju d6c87c0bdb pclint clean 2021-05-31 08:51:15 +08:00
huanghui 197bd84ae0 fix static code check 2021-05-27 16:59:43 +08:00
lvliang fbb926873f Enable_constant_folding_in_addn 2021-05-26 15:19:08 +08:00
lvliang a304d14706 add_pass_for_special_op_simplify 2021-05-26 09:32:14 +08:00
huanghui 427337abac fix code check 2021-05-21 09:57:09 +08:00
zhangzhaoju ab17b40881 correct codes according to commit 2021-05-19 19:59:12 +08:00
lvliang ff32f68513 fix core dump when case run together 2021-05-19 19:59:11 +08:00
zhangzhaoju 5c8130821c fix cyclomatic complexity exceeds problem 2021-05-19 19:59:10 +08:00
zjun 2bc5456ef8 Fix high order grad
Signed-off-by: zjun <zhangjun0@huawei.com>
2021-05-19 19:59:08 +08:00
lvliang 815f31cb91 fix-bug-of-graph-is-nullptr-when-run-multi-grad 2021-05-19 19:59:04 +08:00
lvliang b54b9d22d0 fix_bug_of_index_out_of_tuple 2021-05-19 19:59:00 +08:00
zhangzhaoju 8ee9abf762 fixes:I3BIM8
bprop graph of resnet50 has a Redundancy Reshape op.
2021-05-19 19:58:55 +08:00
lvliang b5b55169e6 update_valuenode_abs_with_its_value_and_add_two_pass 2021-05-19 19:58:51 +08:00
zhangzhaoju 5ff8fd3c59 add zero_like_fill_zero_ pass for primitive bprop opt 2021-05-19 19:58:51 +08:00
lvliang c371c22d7a elim-run-twice-forward-and-opt-pass 2021-05-19 19:58:50 +08:00
lvliang 76bc0734d5 modify_codes_to_call_kpynativecellend_in_GradNetInner 2021-05-19 19:58:48 +08:00
zhangzhaoju 8b3453e280 fix:solve input tensor as const for prim bpgraph problem 2021-05-19 19:58:47 +08:00
zhangzhaoju ac7ce974fb prim bprop graph optimizer for pynative refactoring 2021-05-19 19:58:47 +08:00
yao_yf 6e6f5e530d renormalize after parallel graph 2021-05-15 16:58:38 +08:00
ZPaC 12f95b51f4 Add server code part2 2021-05-06 20:36:04 +08:00
yao_yf 21276408b8 parallel virtual_out_ops 2021-04-25 11:18:54 +08:00
huangbingjian e5d32c9ff8 add switch_defer_inline 2021-04-21 10:37:06 +08:00
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
2021-04-17 11:03:34 +08:00
mindspore-ci-bot 002819b35b !14627 [Less BN]Eliminating BN according to pattern matching.
From: @linqingke
Reviewed-by: @zh_qh,@guoqi1024
Signed-off-by: @guoqi1024
2021-04-06 16:25:54 +08:00
mindspore-ci-bot ce248c37e0 !14407 separate irpass EnvGetItemEliminater and ItemTupleOrListEliminator
From: @huangbingjian
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
2021-04-06 08:52:23 +08:00
linqingke a89a0d4810 [Less BN]Eliminating BN according to pattern matching. 2021-04-05 17:25:45 +08:00
huangbingjian 134d5dfe4b separate irpass EnvGetItemEliminater and ItemTupleOrListEliminator 2021-04-02 17:38:40 +08:00
mindspore-ci-bot f71699fbfd !14145 support negative index
From: @youui
Reviewed-by: @zh_qh,@kisnwang
Signed-off-by: @zh_qh
2021-03-30 20:30:52 +08:00
yangwei 21686def1a support negative index 2021-03-30 16:57:53 +08:00