Commit Graph

188 Commits

Author SHA1 Message Date
mindspore-ci-bot 44d3dc299c !15093 [GraphKernel] Refactor GraphKernelCluster
From: @dayschan
Reviewed-by: @ckey_dou,@gaoxiong1
Signed-off-by: @gaoxiong1
2021-05-08 10:20:03 +08:00
mindspore-ci-bot a716fbfabb !15957 [GraphKernel]Fix Static Check
From: @jiaoy1224
Reviewed-by: @gaoxiong1,@gaoxiong1,@ckey_dou
Signed-off-by: @ckey_dou
2021-05-08 09:24:26 +08:00
Yang Jiao e8ab41ac23 fix static check warnings 2021-05-07 15:01:10 +08:00
mindspore-ci-bot bf80112e17 !15943 [GraphKernel]extend inputs of update if which have multiple outputs
From: @wenfangpei
Reviewed-by: @gaoxiong1,@ckey_dou
Signed-off-by: @ckey_dou
2021-05-07 11:21:29 +08:00
mindspore-ci-bot ed539597c2 !15415 [GraphKernel]adapt for logsoftmax in ascend
From: @wenfangpei
Reviewed-by: @gaoxiong1,@ckey_dou,@gaoxiong1,@ckey_dou
Signed-off-by: @ckey_dou,@ckey_dou
2021-05-07 11:19:58 +08:00
mindspore-ci-bot 6c63e01112 !15952 [GraphKernel] Clean code warning in master branch.
From: @tronzhang
Reviewed-by: @gaoxiong1,@ckey_dou
Signed-off-by: @ckey_dou
2021-05-07 11:19:35 +08:00
dayschan 3bf0d8a19a Refactor GraphKernelCluster
Use a disjoint-set to maintain the clusters before building anf-graph, to speed up the process of building graph.
Dump the change of nodes to file if the graphkernel flag "dump_as_text" is set.

The algorithm of CheckCircle is unchanged.
Reuse the FuseNodesToSubGraph interface.
2021-05-07 10:57:15 +08:00
mindspore-ci-bot 71ab230aa0 !15458 [GraphKernel]expanders of some fusion ops
From: @wenfangpei
Reviewed-by: @ckey_dou,@gaoxiong1
Signed-off-by: @ckey_dou
2021-05-07 09:31:29 +08:00
mindspore-ci-bot 09008c005c !15965 [GraphKernel]clean code
From: @lingyunli63
Reviewed-by: @ckey_dou,@gaoxiong1
Signed-off-by: @gaoxiong1
2021-05-07 09:30:02 +08:00
wenfangpei 62cc2990a6 extend inputs of update if which have multiple outputs 2021-05-06 19:26:00 +08:00
tronzhang e006626c33 clean warning in akg_kernel_metadata.cc/akg_ascend_kernel_mod.cc/add_atomic_clean.cc/add_atomic_clean_gpu.cc 2021-05-06 10:42:26 +08:00
wenfangpei 4174a7b38f expanders of some fusion ops 2021-05-06 10:23:41 +08:00
wenfangpei db8256e61f adapt for logsoftmax in ascend 2021-05-06 10:13:28 +08:00
mindspore-ci-bot 6c292ef9fd !15910 [GraphKernel] clean code for graph_kernel_splitter* & add_stitch_atomic*
From: @r1chardf1d0
Reviewed-by: @gaoxiong1,@ckey_dou
Signed-off-by: @ckey_dou
2021-05-06 09:45:24 +08:00
mindspore-ci-bot 92355554ed !15412 [GraphKernel]adapt expanders of some ops from gpu to ascend
From: @wenfangpei
Reviewed-by: @gaoxiong1,@ckey_dou
Signed-off-by: @ckey_dou
2021-05-06 09:42:15 +08:00
mindspore-ci-bot 0f2f54915b !15924 [GraphKernel]Fix static-check problems for graph_kernel files
From: @zengzitao
Reviewed-by: @ckey_dou,@gaoxiong1
Signed-off-by: @gaoxiong1
2021-05-06 09:19:51 +08:00
wenfangpei 2138a92875 fix wanring about static-check 2021-05-05 10:14:15 +08:00
wenfangpei c41875b318 adapt expanders of some ops from gpu to ascend 2021-05-04 16:32:45 +08:00
r1chardf1d0 c4c69bf5e8 [GraphKernel] clean code for graph_kernel_splitter* & add_stitch_atomic_clean_gpu* 2021-04-30 18:13:57 +08:00
lingyunli63 8d54da2a79 clean code 2021-04-30 16:54:51 +08:00
zengzitao 4b6fc40c25 fix static warnings for some graph_kernel files 2021-04-30 15:10:42 +08:00
looop5 1c62823cfe clean code of several graph kernel source files
fix compiling
2021-04-30 10:59:51 +08:00
mindspore-ci-bot 3bd51c88f4 !14580 [auto-monad] Enforce order of exection for Loads user nodes in frontend
From: @hwhewei
Reviewed-by: @zh_qh,@ginfung
Signed-off-by: @zh_qh
2021-04-27 17:09:43 +08:00
He Wei 121a6a28d9 [auto-monad] Enforce order of exection for Loads user nodes in frontend 2021-04-27 12:48:52 +08:00
looop5 887d400e3f fix bug of invalid data type or format when set node info 2021-04-27 10:09:08 +08:00
mindspore-ci-bot 2b349dbf53 !15465 [GraphKernal] Use ReduceSimplify2 only
From: @lingyunli63
Reviewed-by: @gaoxiong1,@anyrenwei
Signed-off-by: @anyrenwei
2021-04-26 14:18:02 +08:00
zengzitao 8dcff8d83c refactor tile op and in expander open on gpu 2021-04-25 17:42:37 +08:00
lingyunli63 b3fb5897dd use ReduceSimplify2 only 2021-04-25 14:46:24 +08:00
looop5 e88cdc84ec enhancement reorder_ops pass to support reordering cast and type insensitive operators
support castup, type-insensitive to type-insensitive, castup

refactor reorder_ops

fix compiling

move reorder_ops pass to later

fix abstract

refactor

fix node input num bug
2021-04-25 11:06:48 +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 c3f3fcab3f !14514 enable GraphKernel for TransData
From: @hanhuifeng2020
Reviewed-by: @gaoxiong1,@dylangeng
Signed-off-by: @dylangeng
2021-04-17 10:41:04 +08:00
hanhuifeng2020 25505642ce enable GraphKernel for TransData 2021-04-16 16:23:15 +08:00
dayschan 7f37d7348c fix static check warning about memory leaked 2021-04-16 11:54:04 +08:00
mindspore-ci-bot 12e60a7a27 !15170 fix bot check
From: @lingyunli63
Reviewed-by: @gaoxiong1,@ckey_dou
Signed-off-by: @ckey_dou
2021-04-15 09:49:55 +08:00
mindspore-ci-bot af2dc99667 !14742 [GraphKernel] matmul and elementwise fusion
From: @lingyunli63
Reviewed-by: @gaoxiong1,@dylangeng
Signed-off-by: @dylangeng
2021-04-15 09:49:45 +08:00
mindspore-ci-bot 641ff8954b !15181 fix_codex
From: @lingyunli63
Reviewed-by: @gaoxiong1,@ckey_dou
Signed-off-by: @ckey_dou
2021-04-15 09:49:36 +08:00
lingyunli63 c48c2430f0 fuse matmul and elementwise in graphkernel 2021-04-14 20:52:35 +08:00
lingyunli63 c9e8c99b33 fix codex warning 2021-04-14 18:40:48 +08:00
tronzhang 8ff3c16778 add swtich for parallel fusion and default is off 2021-04-14 17:36:24 +08:00
lingyunli63 f10e753077 fix bot check 2021-04-14 16:01:03 +08:00
mindspore-ci-bot 4686e734aa !15071 [GraphKernel] Make code meek the criterion.
From: @tronzhang
Reviewed-by: @ckey_dou,@gaoxiong1
Signed-off-by: @gaoxiong1
2021-04-13 21:03:52 +08:00
tronzhang 895242b795 add const to some arguments and remove redundant assignment 2021-04-13 12:08:32 +08:00
hanhuifeng2020 cbe79265c7 [GraphKernel][Ascend]Increase the rules for enabling atomic addition 2021-04-12 16:41:29 +08:00
mindspore-ci-bot cd002cb7f7 !14893 enable stitch fusion on bert
From: @r1chardf1d0
Reviewed-by: @gaoxiong1,@ckey_dou
Signed-off-by: @ckey_dou
2021-04-12 10:39:00 +08:00
r1chardf1d0 3b32995936 enable stitch fusion on bert 2021-04-09 18:29:55 +08:00
chenlei_autodiff 13fbfca6b9 [graph kernel] add expander ops. 2021-04-09 17:33:06 +08:00
mindspore-ci-bot 0920239699 !13475 [GraphKernel]adapt for layernorm in ascend
From: @wenfangpei
Reviewed-by: @gaoxiong1,@anyrenwei
Signed-off-by: @anyrenwei
2021-04-09 17:04:52 +08:00
wenfangpei 66d28af79e adapt for layernorm in ascend 2021-04-08 18:11:59 +08:00
mindspore-ci-bot e2260a2f09 !14612 remove ControlDepend
From: @huangbingjian
Reviewed-by: 
Signed-off-by:
2021-04-07 18:36:29 +08:00
huangbingjian 63a89925ff remove ControlDepend and its use 2021-04-07 11:30:40 +08:00