Zichun Ye
a7d89f6686
add graph kernel userdefine op support
...
fix code check
2021-08-25 14:37:28 +08:00
tronzhang
134ffa9efe
support tot ops
2021-08-24 15:27:12 +08:00
ms_yan
36a8886ca2
Revert "[feat] [assistant] [I3T96T] add new Dataset operator CMUARCTICDataset"
...
This reverts commit b077aa1cab .
Revert "[feat] [assistant] [I3T96X] add new Dataset operator LibriSpeechDataset"
This reverts commit 4e6f7dc97d .
delete pass_registry_test.cc
comment hiai_nlu_model_multi.pb related line
2021-08-23 01:46:38 +08:00
djc
b077aa1cab
[feat] [assistant] [I3T96T] add new Dataset operator CMUARCTICDataset
2021-08-22 16:26:45 +08:00
djc
4e6f7dc97d
[feat] [assistant] [I3T96X] add new Dataset operator LibriSpeechDataset
2021-08-22 13:39:37 +08:00
dayschan
df7dd0fcf3
restrain the INFO log in graphkernel
2021-08-19 11:53:48 +08:00
i-robot
792d7afcd1
!21954 Fix 'kPrimTransData' from upper case 'K' to lower case 'k'
...
Merge pull request !21954 from hewei/core_user_api
2021-08-18 01:13:34 +00:00
i-robot
baa408dc11
!21949 Fix Type Error in InferValue
...
Merge pull request !21949 from jiaoy1224/eliminate_empty
2021-08-17 11:58:56 +00:00
He Wei
18adbe3cd2
Fix 'kPrimTransData' from upper case 'K' to lower case 'k'
2021-08-17 17:14:19 +08:00
Yang Jiao
f08feafc10
revise infervalue
2021-08-17 15:57:38 +08:00
i-robot
ff07de80b4
!21603 Fix static-check warnings
...
Merge pull request !21603 from DeshiChen/0809_clean
2021-08-16 06:38:45 +00:00
dayschan
9add26ad99
Add expanders in c++ code
...
transplant the op expander code from python to c++, base on LiteGraph.
the c++ expander will be called in priority if it was registered in OpExpanderFactory.
add two examples, BiasAdd and ExpandDims.
remove BiasAdd from python expanders.
since the ExpandDims is also imported by other ops (e.g. BatchNorm), we don't remove it now.
2021-08-12 16:22:56 +08:00
dayschan
fff39e7451
fix static check problems
2021-08-12 15:31:58 +08:00
zengzitao
b8095efcab
gk fix warnings in master
2021-08-11 14:41:42 +08:00
i-robot
8947a11e49
!21544 [GraphKernel] fix bert and add graph kernel ops.
...
Merge pull request !21544 from chenlei_autodiff/add_sin
2021-08-11 01:04:12 +00:00
i-robot
57bbc7fb94
!21486 Add Op Infer for Graph Kernel C++
...
Merge pull request !21486 from jiaoy1224/eliminate_empty
2021-08-10 08:16:56 +00:00
chenlei_autodiff
0271535429
[GraphKernel] fix bert and add graph kernel ops.
2021-08-10 16:02:00 +08:00
Yang Jiao
74c96bf4ee
add more infer
2021-08-10 11:33:27 +08:00
dayschan
78dfab9c52
Save and restore the output abstract of original graph
...
For convenience, we may change some operators' shape in equivalent way,
such as changing the scalar value (shape is empty) to a tensor with shape [1].
It's ok for the intermediate tensors, but not for the outputs.
So we save the output shapes in pre-process stage, and restore them in post-process stage.
2021-08-09 10:16:30 +08:00
i-robot
09dba31600
!21444 Fix Reshape Attrs
...
Merge pull request !21444 from jiaoy1224/master
2021-08-06 09:42:13 +00:00
Yang Jiao
2b4a784b86
fix reshape
2021-08-05 22:11:46 +08:00
hwjiaorui
e97df3a58f
clean code
2021-08-05 20:58:37 +08:00
i-robot
9629b4ebd9
!21071 [Graph Kernel] Add Low Precision Optimition
...
Merge pull request !21071 from cyun/master_729
2021-08-05 00:50:58 +00:00
cy
4105a247b7
add low precison
2021-08-04 09:52:42 +08:00
Yang Jiao
fd7ab25fc2
reorganiz empty graph
2021-07-30 15:37:47 +08:00
i-robot
7b20a5adf7
!20966 Update graph kernel support for argmax/argmin
...
Merge pull request !20966 from zichun_ye/argmax_min_kernelgraph
2021-07-30 06:15:03 +00:00
Zichun Ye
22172f18bc
update graph kernel support for argmax/argmin
...
fix pylint problem
fix conflict
fix op list
fix check warning
fix code based on review comments
update akg commit
fix check warning
2021-07-30 09:53:12 +08:00
Yang Jiao
042c95d3d5
Modify Double Comparison
2021-07-29 11:17:37 +08:00
i-robot
bca7891a70
!19993 [GraphKernel] Speed up bert performance in ascend for graph kernel
...
Merge pull request !19993 from TronZhang/bert_ascend_gk
2021-07-27 08:15:07 +00:00
Yang Jiao
e2cfc516eb
refctor arithmetic simplify
2021-07-27 11:29:26 +08:00
tronzhang
94dda0c7c7
speed up bert profermance in ascend for graph kernel
2021-07-27 11:16:11 +08:00
i-robot
ab78bcf16f
!19081 add ops IsNan
...
Merge pull request !19081 from lingyunli63/add_ops_IsNan
2021-07-27 02:33:02 +00:00
lingyunli63
50a66ae476
isnan isfinite isinf squaresumall identity oneslik
2021-07-26 12:58:30 +08:00
lingyunli63
49012fd5e7
move cast_matmul
2021-07-26 11:30:19 +08:00
i-robot
26027b89fe
!19806 add graph kernel erf, erfc, floor, floordiv, mod, floormod, div
...
Merge pull request !19806 from 杨林枫/basic_graph_kernels
2021-07-22 12:57:55 +00:00
yanglf1121
c30b1e6d06
add graph kernel div, floordiv, mod, floormod, floor
2021-07-22 14:16:56 +08:00
i-robot
7d2a07a2bd
!20480 Add LiteGraph for graphkernel
...
Merge pull request !20480 from DeshiChen/0618_litegraph
2021-07-22 01:31:45 +00:00
dayschan
137608b518
Add LiteGraph for graphkernel
...
Add a subdirectory "model" in the "backend/optimizer/graph_kernel" for litegraph.
Implement two interfaces "AnfGraph2LiteGraph" and "LiteGraph2AnfGraph".
The litegraph will be the base data structure when we migrate the GraphKernel code
from python("mindspore/_extends/graph_kernel") to c++.
2021-07-21 10:21:11 +08:00
wangrao124
7cddde47b0
!215 add ops: LogicalNot, LogicalAnd, LogicalOr, NotEqual, EqualCount, Asinh, Acosh
...
* add ops: LogicalNot, LogicalAnd, LogicalOr, NotEqual, EqualCount, Asinh, Acosh
2021-07-21 10:01:17 +08:00
huangmengxi
1bd448ef2a
add atan, atan2, expm1
2021-07-20 10:34:18 +08:00
chenlei_autodiff
7d55cef106
[GraphKernel] add sponge ops.
2021-07-19 19:34:23 +08:00
i-robot
5d6cac71d2
!19382 Support Complex in GPU about graph kernel
...
Merge pull request !19382 from ZengZitao/complex_gk
2021-07-09 08:18:51 +00:00
zengzitao
aa019a639f
support complex in gpu about graph_kernel
2021-07-09 08:51:52 +08:00
liuyihong
0f10ad9677
Add transform_op_optimizer
...
This submission implements the MinCut algorithm.
2021-07-07 10:05:51 +08:00
chenlei_autodiff
b22c84a77d
[GraphKernel] enable graph kernel for bert optimizers and shufflenetv2 on GPU.
2021-07-01 16:35:41 +08:00
i-robot
92675f7572
!18747 Add expander for op AddN
...
Merge pull request !18747 from DeshiChen/0618_expand_addn
2021-06-29 09:32:03 +00:00
dayschan
149dab39c5
Add expander for AddN; update akg submodule
2021-06-29 11:43:46 +08:00
l00591931
c7bc867ae4
Add CloneCNodeWithInfos for kernel graph
2021-06-28 19:06:43 +08:00
lingyunli63
a995bea507
recompute_fuse
2021-06-22 20:39:11 +08:00
lishanni513
689945ba43
Enable TensorCore for training wide&deep and deepfm on GPU
2021-06-16 15:05:03 +08:00