Commit Graph

14039 Commits

Author SHA1 Message Date
i-robot ab8eefa123
!49507 Fix compile cache abstract changed by other module
Merge pull request !49507 from chenfei_mindspore/master
2023-03-02 13:09:10 +00:00
i-robot bea6862c57
!49560 bug fix
Merge pull request !49560 from liubuyu/bug_fix
2023-03-02 12:46:05 +00:00
张清华 46e9e37d1e Add arguments checking for AddN primitive;
In JIT Fallback, getattr(interpreted_obj, 'attr') should work as interpred_obj.attr;
Support Return InterpretedNode value;
Not throw exception if getattr's default value is InterpretedNode;
2023-03-02 19:18:32 +08:00
i-robot 98143eb165
!49479 enhance mindrecord filewriter parallel
Merge pull request !49479 from guozhijian/enhance_filewriter_parallel
2023-03-02 11:02:26 +00:00
i-robot e61a0d0e52
!49592 fix dropout error
Merge pull request !49592 from 吕昱峰(Nate.River)/transformer
2023-03-02 09:33:13 +00:00
yanghaoran 44e6097fd1 takedown test_func_with_yield_manifest_dataset_01 to ensure gate stability 2023-03-02 17:27:38 +08:00
Margaret_wangrui 7042618a09 Add some side effect test cases with Fallback runtime. 2023-03-02 17:12:33 +08:00
yangzhenzhang 4b9b8435ea fix bug for conv3d gen strategy 2023-03-02 16:56:46 +08:00
huangbingjian 1c6bc212cb Fix testcase 2023-03-02 16:34:03 +08:00
yujianfeng e793155559 Eliminate dict_getitem and mutable value dict 2023-03-02 15:48:21 +08:00
liu-yongqi-63 119100618f Add the test cases of the len() method and the data types supported by broadcastto operator on the GPU 2023-03-02 15:45:38 +08:00
i-robot 33ad052c3a
!49591 [api] Rename soft_shrink
Merge pull request !49591 from shaojunsong/fix/softshrink
2023-03-02 06:51:41 +00:00
i-robot 1c4e24f1b1
!48317 [ST][MS][OPS] Fix operation validation issues.
Merge pull request !48317 from alashkari/val-updates
2023-03-02 06:35:22 +00:00
i-robot e1eae67540
!49520 Add sparse embedding storage impl
Merge pull request !49520 from zyli2020/dev
2023-03-02 03:58:43 +00:00
jonyguo 782735b733 enhance mindrecord parallel write 2023-03-02 11:41:47 +08:00
i-robot a45992107d
!49608 fix deeplabv3 and ssd_mobilenet_fpn testcase
Merge pull request !49608 from anzhengqi/fix-ssd
2023-03-02 02:38:35 +00:00
i-robot cee9da14ae
!49142 [MD] Add new API to debug mode and bugfix
Merge pull request !49142 from TinaMengtingZhang/dev_md_pipeline_debug_ops
2023-03-02 01:50:43 +00:00
i-robot 2e518d7d13
!49554 修复transformer st 动态图动态shape的标杆值
Merge pull request !49554 from zhangdong/zd_3
2023-03-02 01:44:33 +00:00
TinaMengtingZhang 71e6160243 update dataset pipeline debug mode api 2023-03-01 16:55:35 -05:00
i-robot ed363cde09
!49522 adapt make_tuple tensor type
Merge pull request !49522 from hujiahui8/tuple
2023-03-01 11:21:15 +00:00
i-robot 68adac271c
!49518 add bprop method in ir scope
Merge pull request !49518 from r1chardf1d0/master
2023-03-01 08:58:00 +00:00
anzhengqi ef7c50ee11 fix deeplabv3 and ssd_mobilenet_fpn testcase 2023-03-01 16:56:56 +08:00
i-robot d100945336
!48924 Support dynamic shape for AOT custom op
Merge pull request !48924 from zichun_ye/custom_op_dyn
2023-03-01 08:54:06 +00:00
lvyufeng f47673a200 fix dropout error 2023-03-01 15:36:12 +08:00
i-robot 9786bfca6d
!49570 fix numpy rand, randn, randint
Merge pull request !49570 from YingtongHu/master
2023-03-01 07:25:02 +00:00
lizhenyu 755de11ff2 Add sparse embedding storage impl 2023-03-01 15:13:53 +08:00
shaojunsong 7b2fa2f655 fix soft shrink error 2023-03-01 15:13:38 +08:00
chenfei c6ab31e335 debug 2023-03-01 14:58:29 +08:00
yanghaoran 40ae42140f takedown testcases to ensure gate stability 2023-03-01 14:46:32 +08:00
hujiahui8 2c83810505 adapt make_tuple tensor type 2023-03-01 14:45:37 +08:00
i-robot c41797b891
!49291 change_dropout_keep_prob_to_p_master
Merge pull request !49291 from yide12/tensor_nansum_master
2023-03-01 06:30:24 +00:00
i-robot 9d54500312
!49551 为rewrite运算符节点增加测试用例
Merge pull request !49551 from GuoZhibin/add_test_cases_for_rewrite_mathops_node
2023-03-01 06:21:36 +00:00
i-robot 786c6b1c6c
!49266 [MD] Fix dataset reset to wrong epoch number
Merge pull request !49266 from xiaotianci/fix_reset
2023-03-01 06:10:00 +00:00
r1chardf1d0 98d8d4574f add bprop method in ir scope 2023-03-01 11:43:23 +08:00
Yingtong Hu eac88ebd67 fix numpy rand, randn, randint 2023-03-01 11:16:46 +08:00
zhangdong aa7731ee10 fix transformer st loss 2023-03-01 10:33:46 +08:00
fan-jibin 9e9f826584 add gather batch_dims 2023-03-01 09:49:59 +08:00
i-robot aa2b53887d
!49540 fix input type bug of logical_not
Merge pull request !49540 from wtcheng/master
2023-03-01 01:24:48 +00:00
i-robot 30c9d5a212
!49545 Skip randomly failed testcase
Merge pull request !49545 from YuJianfeng/dict_grad2
2023-03-01 01:14:26 +00:00
lby 129854dd74 acl bug fix 2023-03-01 09:10:44 +08:00
i-robot 4327f95b91
!49250 upgrade_ascend_20270222_master
Merge pull request !49250 from 胡彬/upgrade_ascend_20230222_master
2023-02-28 14:13:00 +00:00
guozhibin ac6586c30d add test case for mathops node 2023-02-28 20:44:11 +08:00
i-robot 67c9bf46a3
!49436 Add PyNative testcase to level0
Merge pull request !49436 from caifubi/master-pynative-ci
2023-02-28 12:14:22 +00:00
w00517672 b2a482fb04 fix input type bug of logical_not 2023-02-28 19:34:13 +08:00
yujianfeng d2fa80ce2f Skip randomly failed testcase 2023-02-28 18:53:32 +08:00
i-robot b74e89ac41
!49366 move expander from mindspore/core to mindspore/ccsrc/common
Merge pull request !49366 from DeshiChen/0221_move_expander
2023-02-28 09:46:38 +00:00
Zichun Ye 09e0c8abe8 support dyn shape for aot custom op
fix code check problem

fix pynative infer

use python infer function in non-dyn  cases

fix cpp infer functions

add attr in infer function

fix code check problem

drop macosx platform

fix magic number

drop lite

fix magic number

drop lite

fix lite build

fix lite build

update custom op infer api

update custom op infer api

add copy right

move code to ccsrc

drop space

drop space

update reg info

update reg info

update file dir
2023-02-28 17:12:02 +08:00
i-robot 8c017dd0ad
!49410 fix docs and remove assert of Transformer apis
Merge pull request !49410 from 吕昱峰(Nate.River)/transformer
2023-02-28 09:04:00 +00:00
ckey_Dou b52da7b85d replace TensorShape with shape in GRAPH_MODE 2023-02-28 16:41:14 +08:00
i-robot 9bb4562071
!49490 modify and remove ScatterUpdate gpu testcases
Merge pull request !49490 from zhengzuohe/scatter_nd_update_test
2023-02-28 08:01:56 +00:00
i-robot 33be16d103
!49472 Fixed the bug of side effect in fallback.
Merge pull request !49472 from Margaret_wangrui/fallback_side_effect
2023-02-28 07:33:52 +00:00
i-robot f1d3fbe83b
!49489 Do infer after dict to pyexecute
Merge pull request !49489 from YuJianfeng/dict_grad2
2023-02-28 07:16:47 +00:00
hbhu_bin 224c726d82 upgrade_ascend_20230222_master 2023-02-28 15:14:56 +08:00
i-robot 5a08aa6753
!48933 adapter tiling rt2.0
Merge pull request !48933 from jjfeing/tiling_v2.0
2023-02-28 07:03:58 +00:00
lvyufeng a48c647f5b fix docs and remove assert of Transformer apis 2023-02-28 12:50:17 +08:00
i-robot 979297a1a9
!49342 If the abstract of Tensor is AbstractScalar, return scalar instead of Tensor.
Merge pull request !49342 from huangbingjian/scalar_type
2023-02-28 03:51:06 +00:00
i-robot e925e5b214
!49471 调整Ascend算子DeformableOffsets用例等级
Merge pull request !49471 from hedongdong/CIE_LEVEL0
2023-02-28 03:48:00 +00:00
panzhihui 606c202d1e Add primitive infer for cast 2023-02-28 10:46:03 +08:00
jjfeing ffa473f4ef adapter tiling rt2.0
change graphengine id
2023-02-28 10:35:37 +08:00
dayschan 440561589f move expander from mindspore/core to mindspore/ccsrc/common 2023-02-28 10:21:01 +08:00
i-robot 15572d41db
!49430 The level of test_bert_thor is adjusted to level0
Merge pull request !49430 from zhangfanghe/fix_bert_thor_ci_level
2023-02-28 01:37:54 +00:00
huangbingjian b217bbed1b Support return scalar type in graph mode.
If the abstract of Tensor is AbstractScalar, return scalar instead of
Tensor.
2023-02-28 07:56:45 +08:00
i-robot 3a1f1b1c4b
!49157 update logspace api
Merge pull request !49157 from Henry Shi/logspace
2023-02-27 19:39:42 +00:00
alashkari bae0d1f79d Updated ops.div & Tensor.div.
Added ops.lstsq, Tensor.lstsq, Tensor.mvlgamma, Tensor.matmul, Tensor.maximum, Tensor.ne & Tensor.neg to docs.
Added ops.unfold & Tensor.unfold STs.
Updated ops.argmax.
2023-02-27 13:36:39 -05:00
yujianfeng 8e5a4e1c49 Do infer after dict to pyexecute 2023-02-27 21:40:46 +08:00
zhengzuohe dfb8775e20 modify and remove ScatterUpdate gpu testcases that do not meet the requirement of inrepetitive indices 2023-02-27 21:29:47 +08:00
i-robot b7f0ceeabb
!48907 Support tuple of tensors
Merge pull request !48907 from ZPaC/support-tuple-of-tensor
2023-02-27 12:53:46 +00:00
i-robot 21e787b00e
!49439 sequence addn cpu kernel
Merge pull request !49439 from chenweifeng/sequence-addn
2023-02-27 12:44:52 +00:00
yide12 3001c0344c change_dropout_keep_prob_to_p_master 2023-02-27 20:03:24 +08:00
Margaret_wangrui 86f962479c Fixed the bug of side effect in fallback. 2023-02-27 19:23:21 +08:00
i-robot c2a1ad5b7a
!48801 add_ops_std_var_and_mean
Merge pull request !48801 from yide12/tensor_std_master
2023-02-27 10:01:05 +00:00
hedongdong 39cd1e43d4 update testcase levels for DeformableOffsets 2023-02-27 17:07:42 +08:00
i-robot 921e5d36cc
!49277 tuple_equal算子
Merge pull request !49277 from huoxinyou/0223tuple_equal
2023-02-27 08:18:49 +00:00
wilfChen 02bc8951c4 sequence addn 2023-02-27 15:06:34 +08:00
ZPaC 00e0df8a03 Support tuple of tensors 2023-02-27 14:29:45 +08:00
caifubi d77a60e4dd Add PyNative testcase to level0 2023-02-27 10:50:02 +08:00
r1chardf1d0 a87219a1c9 add some nn bprop expander for graph mode 2023-02-27 10:08:24 +08:00
zhangfanghe 5ec42a0a0c The level of test_bert_thor is adjusted to level0. 2023-02-27 10:00:11 +08:00
huoxinyou c47bc41af7 tuple equal ops 2023-02-27 09:35:15 +08:00
yanghaoran 0eea86295d takedown test_train_graph_mode_gpu to ensure gate stability 2023-02-27 09:24:46 +08:00
i-robot 311d1be98d
!49360 支持raise变量控制流场景
Merge pull request !49360 from 李良灿/fixraise
2023-02-26 14:56:54 +00:00
i-robot f358555342
!49274 [MD] Debug Mode: Ignore python_mp. Batch op fixes.
Merge pull request !49274 from cathwong/ckw_debug_mode9_mp
2023-02-25 15:42:45 +00:00
i-robot 455c474d04
!49353 tuple operator: se_lt and se_le
Merge pull request !49353 from hujiahui8/tuple
2023-02-25 11:37:57 +00:00
yide12 2e6424c716 add_std_var_and_mean 2023-02-25 19:05:08 +08:00
i-robot 9c7232521d
!49243 [JIT Fallback] Support JIT Fallback Resolve routine; Refactoring exception re-throw routine; Throw exception if there's nested JIT execution.
Merge pull request !49243 from 张清华/opt_jit_fallback
2023-02-25 10:22:01 +00:00
i-robot 2dcdb63dde
!49253 fix bug for 5hd
Merge pull request !49253 from zhupuxu/fix_bug_for_5hd
2023-02-25 09:22:37 +00:00
i-robot 66f2793ba3
!49247 修改norm算子测试样例(Tensor.norm)
Merge pull request !49247 from hujingsong/norm_test
2023-02-25 07:36:07 +00:00
Henry 269e0e78cf logspace 2023-02-25 15:05:26 +08:00
i-robot 8ef1acbd57
!49156 fix the task id and stream id is not same with debug_files in KernelByKernel mode
Merge pull request !49156 from maoyaomin/mym_debugger_kernel_dumper
2023-02-25 07:02:47 +00:00
zhupuxu 5049eb775f fix bug for 5hd
Signed-off-by: zhupuxu <zhupuxu@huawei.com>
2023-02-25 14:15:14 +08:00
hujiahui8 8d9f2ace6e tuple operator: sequence_lt and sequence_le 2023-02-25 11:41:39 +08:00
liangcanli 491efe55a1 fixraisevariable 2023-02-25 11:37:35 +08:00
张清华 dec3b54904 [JIT Fallback] Support JIT Fallback Resolve routine; Refactoring exception re-throw routine; Throw exception if there's nested JIT execution. 2023-02-25 11:32:58 +08:00
i-robot 890a949b4a
!47686 transformer st用例新增pynative模式下支持动态shape
Merge pull request !47686 from zhangdong/zd_3
2023-02-25 02:58:07 +00:00
i-robot b0b03870d6
!48487 Add the OffloadContext configuration class
Merge pull request !48487 from yangluhang/py_config_offload_context
2023-02-25 02:54:10 +00:00
i-robot 48b0015c10
!48881 fix bug of dyn input size
Merge pull request !48881 from lianliguang/fix-bug-of-pyexec-dynamic-input
2023-02-25 02:50:52 +00:00
i-robot 88a5240aad
!49233 add sequence greater_than/equal ops & grad ops
Merge pull request !49233 from Yanzhi_YI/master
2023-02-25 01:58:04 +00:00
Cathy Wong 49a1082dd0 [MD] Debug Mode: Ignore python_mp. Batch op fixes. 2023-02-24 17:39:37 -05:00
maoyaomin 0436af2b0f fix the task id and stream id is not same in debug files 2023-02-25 00:57:43 +08:00
i-robot 4d9543df6f
!48904 kernel_mod support tupleoftensor
Merge pull request !48904 from huoxinyou/0214tuple_of_tensor
2023-02-24 12:06:33 +00:00
lianliguang c5f3c791d1 dyn_input_size convert Tuple(XXX) to Tuple(Tuple(XXX), XXX), when the input is Tuple nest 2023-02-24 18:52:17 +08:00
yiyanzhi_akane e97e35dffe add sequence greater_than/equal ops & grad ops 2023-02-24 17:08:47 +08:00
i-robot dfaa297886
!49109 support kwonly args for top graph
Merge pull request !49109 from huanghui/support-kwonly
2023-02-24 08:10:00 +00:00
i-robot 026c8d9084
!48988 Add GRUV2Grad OPS IMPL
Merge pull request !48988 from yangluhang/gruv2_grad
2023-02-24 07:26:53 +00:00
i-robot 14e9afce2b
!49251 add schema & len for FileReader
Merge pull request !49251 from guozhijian/add_interface_for_mr
2023-02-24 06:40:09 +00:00
yangluhang e250012f64 Add the OffloadContext configuration class 2023-02-24 14:11:43 +08:00
huoxinyou 720cfcc364 kernel_mod support tupleoftensor 2023-02-24 11:43:34 +08:00
i-robot cafa6ca2e3
!49256 bool_not算子补充
Merge pull request !49256 from huoxinyou/0222_boolnot
2023-02-24 03:38:29 +00:00
i-robot 0caf0eebe8
!49308 numpy empty tests mv to level0
Merge pull request !49308 from YingtongHu/master
2023-02-24 03:04:58 +00:00
i-robot d2d03071b6
!49300 Fix roi pooling CI failure.
Merge pull request !49300 from xiaohanzhang/fix_roi_pooling
2023-02-24 02:00:06 +00:00
i-robot 24591ffd55
!49324 调整GPU算子print,index_fill用例等级
Merge pull request !49324 from hedongdong/CIE_LEVEL0
2023-02-24 01:51:23 +00:00
zhangdong d01873ec4e transformer support pynative dynamic shape in gpu and ascend 2023-02-23 21:52:20 +08:00
i-robot b69a295fcc
!49216 recover test_bert_tdt_lossscale testcase
Merge pull request !49216 from anzhengqi/fix-testcase-bert-performance
2023-02-23 13:03:29 +00:00
shaw_zhang 9f6b54efeb Fix roi pooling ci failure. 2023-02-23 20:27:39 +08:00
i-robot 751d3e96f0
!49089 Enable max/min to use sequence with variable as input.
Merge pull request !49089 from LiangZhibo/max
2023-02-23 12:05:32 +00:00
yangluhang fd0478816f Add GRUV2Grad OPS IMPL 2023-02-23 19:50:28 +08:00
i-robot b163eb17d6
!49271 Support get ValueNode<None> from return node.
Merge pull request !49271 from Margaret_wangrui/print_none_side_effect_2
2023-02-23 10:53:39 +00:00
hedongdong b45df8238d update testcase levels for index_fill and print 2023-02-23 18:42:43 +08:00
Xiao Tianci 81b7facea0 fix reset wrong epoch number 2023-02-23 17:48:58 +08:00
i-robot a54196a518
!49281 delete testcase
Merge pull request !49281 from zhupuxu/delete_test_code
2023-02-23 09:14:54 +00:00
i-robot 1f017e45fc
!49136 Support None is output of subgraph in control flow.
Merge pull request !49136 from Margaret_wangrui/control_flow_none
2023-02-23 08:52:32 +00:00
jonyguo 0c267681c3 Add new interface schema & len for filereader 2023-02-23 16:49:10 +08:00
i-robot faef2f6ee2
!49197 Add ST of DeepFM and test_data_sink_fixed_shape
Merge pull request !49197 from jiaorui/st-sink
2023-02-23 08:04:08 +00:00
Yingtong Hu 09e9064025 numpy empty tests --> level0 2023-02-23 15:08:38 +08:00
liangzhibo 036b10e262 Enable max min for dynamic length sequence 2023-02-23 14:45:41 +08:00
huoxinyou 83168d78c5 bool_not cpu ops 2023-02-23 14:42:36 +08:00
anzhengqi c9fc8b0747 recover test_bert_tdt_lossscale testcase and update sklearn 2023-02-23 14:20:45 +08:00
i-robot 9a81a0e969
!49249 Modify flip support
Merge pull request !49249 from 冯一航/modify_flip_support
2023-02-23 03:00:41 +00:00
zhupuxu 4d68408583 delete testcase
Signed-off-by: zhupuxu <zhupuxu@huawei.com>
2023-02-23 10:24:25 +08:00
i-robot a8eaa971d9
!49262 fix scatter nd update testcase: index out of range ValueError
Merge pull request !49262 from zhengzuohe/scatter_nd_update_test
2023-02-23 01:52:51 +00:00
i-robot ac9dd297f5
!49145 raise支持变量场景
Merge pull request !49145 from 李良灿/raise
2023-02-23 01:17:55 +00:00
Margaret_wangrui bba47d6374 Support None is output of subgraph in control flow. 2023-02-23 08:52:50 +08:00
i-robot 998332e745
!45440 [assistant][ops] add new aicpu operator Resize and ResizeGrad
Merge pull request !45440 from 杨旭华/ResizeV2
2023-02-22 11:46:40 +00:00
Margaret_wangrui 6440961999 Support get ValueNode<None> from return node. 2023-02-22 19:42:01 +08:00
i-robot 4e59e010cb
!49229 solve the cumulative_logsumexp operator st error
Merge pull request !49229 from zong_shuai/st_error
2023-02-22 11:15:59 +00:00
liangcanli abda280a0e support variable for raise 2023-02-22 17:18:02 +08:00
i-robot 15e3b9d47f
!49094 Keep scalar as const if vmap in wrapped while
Merge pull request !49094 from chenfei_mindspore/master-develop
2023-02-22 09:09:18 +00:00
fengyihang b55e6d82c8 modify flip support 2023-02-22 16:56:35 +08:00
i-robot ef8fed4302
!49176 修复getgrad无法从list_getitem中获取parameter或position问题,以及更改报错类型
Merge pull request !49176 from 李良灿/fixget
2023-02-22 08:56:15 +00:00
xiuyu0000 d025af5826 modify tensor.norm test example 2023-02-22 16:48:19 +08:00
zhengzuohe ffd58fff8b fix scatter nd update testcase: index out of range ValueError 2023-02-22 16:09:54 +08:00
luo-hang777 d7882fe4ff [feat][assistant][I54KGW] add new aicpu operator Resize 2023-02-22 14:40:19 +08:00
i-robot 9382f35fa4
!49130 support DynamicRNN op with the PyNative dynamic shape on ascend device
Merge pull request !49130 from hanhuifeng/acl_dynamic_rnn
2023-02-22 06:34:22 +00:00
zong-shuai 99ea533fa0 debug 2023-02-22 12:06:49 +08:00
jiaorui f983745f46 fix ci deepfm and data sink st 2023-02-22 11:27:58 +08:00
i-robot 84509e8daa
!49153 Fix MetaFuncGraph log
Merge pull request !49153 from chenfei_mindspore/master
2023-02-22 03:07:50 +00:00
i-robot 458f914640
!48863 使用2d重构adaptive_max_pool1d
Merge pull request !48863 from DavidFFFan/api_ops
2023-02-22 02:20:47 +00:00
i-robot 439c602598
!47763 add doc desc for mul primitive
Merge pull request !47763 from zhangzhaoju/master_complex
2023-02-22 02:18:49 +00:00
buxue e9bb4e3347 fix AdamWeightDecay core dump on no avx512 2023-02-21 18:33:41 +04:30
chenfei 4a6d88e8fe set flag of vmap 2023-02-21 21:41:15 +08:00