Commit Graph

154 Commits

Author SHA1 Message Date
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
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
i-robot a5388a5227 !21621 fix recompute_fuse
Merge pull request !21621 from lingyunli63/fix_recompute_fuse
2021-08-12 02:10:29 +00:00
zengzitao b8095efcab gk fix warnings in master 2021-08-11 14:41:42 +08:00
lingyunli63 5ea00fbabc fix find_cheap_ops 2021-08-10 16:49:36 +08:00
chenlei_autodiff 0271535429 [GraphKernel] fix bert and add graph kernel ops. 2021-08-10 16:02:00 +08:00
looop5 2fcf970f69 deal with workspace
deal with workspace on cuda
2021-08-02 19:06:56 +08: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
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
Yang Jiao 582669e41c add expander checkings 2021-07-26 15:40:36 +08:00
lingyunli63 50a66ae476 isnan isfinite isinf squaresumall identity oneslik 2021-07-26 12:58:30 +08:00
i-robot e7b8cf2961 !20508 consider case that graph has no tensor input
Merge pull request !20508 from lingyunli63/fix_no_tensor_input
2021-07-23 01:36:58 +00:00
yanglf1121 c30b1e6d06 add graph kernel div, floordiv, mod, floormod, floor 2021-07-22 14:16:56 +08:00
lingyunli63 32571f5a0c consider no tensor input in graph 2021-07-21 12:56:42 +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
zengzitao aa019a639f support complex in gpu about graph_kernel 2021-07-09 08:51:52 +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
lishanni513 4a64bc6bc5 Enable TensorCore for Bert-Base on GPU, enable akg-conv2d for ssd on GPU 2021-06-28 00:21:50 +08:00
zhengzuohe 448d1cdbb6 Update submodule mindspore/akg
Enable Graph Kernel for W&D Host-Device Mode and ResNext50 on GPU
Enable akg-conv2d in yolov3_darknet on GPU
2021-06-26 18:23:15 +08:00
lingyunli63 3679e99fe8 fix recompute_fuse with reshape user 2021-06-24 17:36:35 +08:00
i-robot 5d5f38c501 !18428 [GraphKernel] Enable Auto-Mixed-Precision & TensorCore for AlexNet on GPU
Merge pull request !18428 from lishanni/master_alexnet
2021-06-24 01:48:33 +00:00
lishanni513 bddfd9ac65 Enable Auto-Mixed-Precision & TensorCore for AlexNet on GPU 2021-06-23 15:28:47 +08:00
lingyunli63 a995bea507 recompute_fuse 2021-06-22 20:39:11 +08:00
i-robot 04f42b9901 !18629 stop mutmul to mul on GPU
Merge pull request !18629 from lingyunli63/stop_matmul_to_mul_GPU
2021-06-22 02:06:06 +00:00
lingyunli63 e810ebb3d0 matmul to mul only work on aicore 2021-06-21 11:33:31 +08:00
zengzitao 8064de7931 fix maximum_grad and minimum_grad input_shape not equal to output_shape bug 2021-06-16 14:25:18 +08:00
i-robot 07f58b0b46 !17626 matmul to mul
Merge pull request !17626 from lingyunli63/matmul_to_mul
2021-06-10 11:35:18 +08:00
lingyunli63 4f34e537a0 replace matmul/batchmatmul by mul when k is 1 2021-06-09 15:00:27 +08:00
Yang Jiao 4d1f8d1d00 fix expander bugs 2021-06-08 23:53:15 +08:00
mindspore-ci-bot 7e5d68991a !17680 Avoid overflow of in realdiv
From: @wenfangpei
Reviewed-by: @gaoxiong1,@ckey_dou
Signed-off-by: @ckey_dou
2021-06-08 10:39:33 +08:00
wenfangpei fa531a473d avoid overflow in realdiv 2021-06-07 11:46:07 +08:00
Yang Jiao d9a60e0d28 fix static warnings 2021-06-04 17:25:42 +08:00
Gaoxiong 1d3da1789e Acyclic checking bugfix of split model 2021-06-02 15:05:12 +08:00
mindspore-ci-bot 84859aba23 !16695 bug fix in lamb
From: @wenfangpei
Reviewed-by: @gaoxiong1,@ckey_dou
Signed-off-by: @ckey_dou
2021-06-01 09:53:54 +08:00
wenfangpei fd84c20a6a bug fix in lamb 2021-05-29 16:02:30 +08:00
looop5 68f55e1e93 expand conv2d when input format is DefaultFormat but attr format is NHWC 2021-05-28 11:38:32 +08:00
looop5 dd81f47271 add conv2d expander
use data_format instead of format in op_infer

add pad and unpad inside conv2d expander

fix pad value

add limit in conv2d expander
2021-05-20 15:29:03 +08:00
mindspore-ci-bot f91a365564 !16322 [GraphKernel] Enable matmul for gpu
From: @lingyunli63
Reviewed-by: 
Signed-off-by:
2021-05-20 10:08:47 +08:00
lingyunli63 afc69b16f7 enable gpu gk MatMul and insert pad/unpad 2021-05-19 16:03:29 +08:00
zengzitao 516487c9cd fix log(inputs), inputs less than 0.0, cause loss inf bug 2021-05-19 11:02:24 +08:00