Commit Graph

179 Commits

Author SHA1 Message Date
Zhang Qinghua 5d15cc9e22 Remove original ParseFor implementation. 2022-03-22 15:18:03 +08:00
Margaret_wangrui 0c73f1e02f [Ascend][Control_flow] If the return value of subgraph is Ref, should run graph mode with kernelbykernel. 2022-03-18 10:17:44 +08:00
chenfei 3872e29c3b add ut for tuple trans 2022-03-16 21:33:54 +08:00
chenfei cf182a803a add testcases of for in while
update mindir
2022-03-03 17:48:10 +08:00
Margaret_wangrui 1fef801371 Fix testcast 2022-02-24 14:41:46 +08:00
chenfei 833a99abbe fix assert result 2022-02-22 09:47:56 +08:00
chenfei 1652592529 add side effect cases 2022-02-19 15:38:48 +08:00
Zhang Qinghua 07d8b59b0b Change sequence node insert fail log level. 2022-02-14 10:23:36 +08:00
i-robot 9d8cb9162a
!29725 Parse kernel level by kernel graph.
Merge pull request !29725 from gaoyong10/runtime_second12
2022-02-08 09:43:06 +00:00
LaiYongqiang 374f6dfa31 update op info config file for serving 2022-02-08 12:47:54 +08:00
gaoyong10 7633f93a07 Parse kernel level by kernel graph. 2022-02-08 09:38:18 +08:00
limingqi107 127e147f5c unfied runtime adapt the env MS_DEV_ENABLE_CLOSURE 2022-01-30 15:33:55 +08:00
chenfei a96f0b11e0 open closure 2022-01-28 22:04:31 +08:00
zhousiyi 784d4b4315 Bypass specializing the FuncGraph which is a input of a Partial CNode and it been specialized in ProcessCNode in FirstPass 2022-01-19 03:04:22 +00:00
lanzhineng 23b539e35a add the test cases of gpu mindir 2021-12-29 16:25:59 +08:00
i-robot ae1278fa42 !28074 convert execute mode to graph mode when loading mindir
Merge pull request !28074 from lianliguang/master
2021-12-29 06:23:57 +00:00
lianliguang d5efef0ae6 convert pynative mode to graph mode when loading mindir 2021-12-29 09:46:08 +08:00
huanghui 74ca50e652 fix code warning && remove save_graphs use in st/ut 2021-12-24 14:45:37 +08:00
i-robot 7d7ec3c0c6 !27449 [ME]Add `MS` header of env var
Merge pull request !27449 from chenfei_mindspore/environment_variable_fix
2021-12-13 08:03:45 +00:00
chenfei 0ae5eb4618 add ms header of env var 2021-12-10 09:35:22 +08:00
i-robot b4716271bc !26892 ME compiler environment variables normalization
Merge pull request !26892 from chenfei_mindspore/environment_variable_fix
2021-12-06 11:16:57 +00:00
chenfei c5c2b2f186 environment variables fix
debug log
2021-12-03 15:55:43 +08:00
liangyongxiong 05174c2115 fix pytest mark decorator for platform_x86_cpu 2021-12-01 14:15:36 +08:00
chenfei d714fd4695 fix cell list 2021-11-02 14:47:19 +08:00
lanzhineng 9659e772d0 CheckSwitchValueJoinable 2021-10-14 20:33:35 +08:00
lanzhineng 632e38c1d6 enable recursive function testcase 2021-09-27 10:36:43 +08:00
l00591931 092fcc40c9 Fix inline pass problem on switch 2021-09-23 11:48:00 +08:00
i-robot bbdacd41f4 !20585 add security isolate for save_graphs
Merge pull request !20585 from huanghui/add-security-isolate-for-DumpIR
2021-09-15 01:25:46 +00:00
huanghui ba66c0d491 add security isolate for save_graphs 2021-09-14 10:24:12 +08:00
chenfei 252a38f5a0 add test test_break_continue 2021-09-13 19:36:01 +08:00
liangzelang ff909d5757 Fix abstract different bug between caller and subgraph output. 2021-09-06 17:56:20 +08:00
lanzhineng bd4add384f The args must be compatible with the loaded graph 2021-09-03 11:32:11 +08:00
chenfei 2188d80354 open log info 2021-09-02 09:49:16 +08:00
He Wei b37b85ab68 Fix order enforce for sub-graph calling 2021-08-30 08:54:21 +08:00
i-robot 9fcec5b723 !22492 prune less effective Ascend testcases to level1
Merge pull request !22492 from yanghaoran/prune_ascend_testcases
2021-08-28 07:39:47 +00:00
i-robot 0ad0d9144e !22081 [ME]Code clean of master
Merge pull request !22081 from chenfei_mindspore/code_clean_of_master
2021-08-28 06:09:50 +00:00
yanghaoran a0ff742442 prune less effective Ascend testcases to level1 2021-08-27 19:59:59 +08:00
Margaret_wangrui d7ed03cbb9 Revert "Fix the execution sequence problem of the load in maketuple"
This reverts commit d0d0cc2c71.
2021-08-26 20:20:09 +08:00
gaoyong10 9fb5ce3b87 Create new graph for pynative mode. 2021-08-26 11:16:15 +08:00
chenfei 72cab0262e code clean 2021-08-25 09:29:01 +08:00
lanzhineng 6daabf9a86 mindir:add @ms_function testcase 2021-08-24 17:03:25 +08:00
chenfei 303146dea6 add env one card 2021-08-23 10:59:15 +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 9f08cdc4ab !21958 Fix the execution sequence problem of the load in maketuple
Merge pull request !21958 from Margaret_wangrui/load_in_maketuple
2021-08-21 15:18:54 +00:00
Margaret_wangrui d0d0cc2c71 Fix the execution sequence problem of the load in maketuple 2021-08-20 09:37:42 +08:00
chenfei 4428db97e3 check abstract ref of update parameters 2021-08-18 23:14:14 +08:00
i-robot fca1cb34c8 !21490 Ascend control use vm
Merge pull request !21490 from chenfei_mindspore/ascend-control-use-vm
2021-08-16 03:34:54 +00:00
lanzhineng 93a1956978 mindir:support switchlayer 2021-08-15 11:40:05 +08:00
chenfei d6bc8c2fe3 ascend control in vm
inner test case fix

rm MS_CTX_MULTIGRAPH in ME func grpah cloner

add logs
2021-08-13 17:45:45 +08:00
yanghaoran 64d34104e5 move useless testcases from level0 to level1 2021-08-11 23:11:34 +08:00
lanzhineng 787b19c014 mindir:support control flow while 2021-08-10 17:01:26 +08:00
lanzhineng dc63dea103 mindIR support control flow 2021-08-08 19:02:18 +08:00
gaoyong10 2c96987222 add skip decorator and gpu testcase 2021-08-04 17:23:00 +08:00
chenfei 709b1e80db add control test cases and vm bug fix 2021-08-03 18:43:22 +08:00
lanzhineng 34aae1bef4 clear exception_ptr 2021-07-08 20:41:29 +08:00
i-robot 5c1a254f16 !19514 [ME][Control]Add control flow test cases in ci
Merge pull request !19514 from chenfei_mindspore/add_control_test_ci
2021-07-07 12:14:35 +00:00
chenfei 8c9a1d65b3 add control test cases for ci 2021-07-06 21:39:14 +08:00
lanzhineng b706db3119 suport more evaluators and fix recrusive_fun testcase 2021-07-06 19:53:50 +08:00
lanzhineng 04dba00b93 infer:codex & testcases 2021-07-05 21:01:13 +08:00
huangbingjian ad8f73f32b set default context mode to GRAPH_MODE 2021-06-09 14:40:49 +08:00
mindspore-ci-bot 7820e12396 !16372 [ME][Control]Support for to while
From: @Margaret_wangrui
Reviewed-by: 
Signed-off-by:
2021-05-18 14:17:11 +08:00
Margaret_wangrui 56cd94cf60 Support for to while 2021-05-18 09:39:05 +08:00
xsmq a424c3124b adjust ascend st from level0 to level1 2021-05-14 13:07:24 +08:00
Margaret_wangrui 8ef76ab3d0 1、add auto_monad testcase
2、Support trace tuple side-effect from a Switch
2021-05-10 11:30:17 +08:00
Margaret_wangrui 3989c5537c add some control sink testcases 2021-04-30 14:57:29 +08:00
mindspore-ci-bot 31df54f424 !15784 if Switch/SwitchLayer, do not replace Load or remove UpdateState
From: @huangbingjian
Reviewed-by: @zh_qh
Signed-off-by: @zh_qh
2021-04-30 09:23:17 +08:00
huangbingjian 2a85af5d83 1. if Switch/SwitchLayer, do not replace Load or remove UpdateState; 2. add control flow testcases; 3. fix codedex problem 2021-04-28 10:15:07 +08:00
chenfei ae87a8ace3 more complex basic case 2021-04-27 20:02:53 +08:00
mindspore-ci-bot 5a48a08e34 !15577 [ME][ControlFlow] Add some control sink testcases
From: @Margaret_wangrui
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
2021-04-25 14:04:00 +08:00
Margaret_wangrui 43b13f4a50 add control flow testcases 2021-04-23 15:57:06 +08:00
mindspore-ci-bot 09d41736e1 !15532 add control flow testcases
From: @huangbingjian
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
2021-04-23 09:27:19 +08:00
mindspore-ci-bot b1865c7ff0 !15520 while test cases 3
From: @lanzhineng
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
2021-04-23 09:27:04 +08:00
huangbingjian 94eb1e70e0 add testcases related to if inside the function 2021-04-22 19:10:57 +08:00
lanzhineng 44d932a583 while control cases 3 2021-04-22 15:07:06 +08:00
mindspore-ci-bot c316d76a03 !15456 [ME][ControlFlow] Add some control sink testcases
From: @Margaret_wangrui
Reviewed-by: @zh_qh,@ginfung
Signed-off-by: @zh_qh
2021-04-21 14:42:39 +08:00
mindspore-ci-bot 23fdba1c36 !15462 [ME][Control]Add assert of inner testcases
From: @chenfei52
Reviewed-by: @zh_qh,@ginfung
Signed-off-by: @zh_qh
2021-04-21 14:06:05 +08:00
mindspore-ci-bot 8bf9c96958 !15422 while control test cases 2
From: @lanzhineng
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
2021-04-21 11:50:38 +08:00
chenfei e150dedc70 check result of test case 2021-04-21 11:17:12 +08:00
Margaret_wangrui e1f452c151 add inner control flow tests 2021-04-21 10:29:17 +08:00
lanzhineng 39c0a5b7da while cases 2 2021-04-21 09:38:43 +08:00
mindspore-ci-bot e346b8028b !15413 update st testcase for while bprop
From: @liangzelang
Reviewed-by: @zhoufeng54,@kisnwang
Signed-off-by: @kisnwang
2021-04-20 14:15:29 +08:00
lanzhineng 65479c7646 while test cases 2021-04-20 10:22:30 +08:00
liangzelang 971c2d3c6d [control flow]update st testcases for while bp 2021-04-19 17:37:03 +08:00
He Wei 92d60f4c6f Fix pylint issues in test_cont_break.py
Fix 'Useless super delegation in method __init__';
Also fix class naming problem.
2021-04-12 09:53:11 +08:00
huangbingjian 8d64c11b8a add testcases related to if, fix codedex check 2021-04-09 18:04:32 +08:00
mindspore-ci-bot 32f92eecbd !14805 [ME][ControlFlow] Add some control sink testcases
From: @Margaret_wangrui
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
2021-04-09 09:18:24 +08:00
Margaret_wangrui e69ead3f19 add some control sink testcases 2021-04-08 20:21:45 +08:00
chenfei_mindspore ac6f5983b5 add inner testcases of control flow
add testcases 2
2021-04-08 14:18:35 +08:00
mindspore-ci-bot 57828fecb0 !13607 [ME]Add test case for while grad avoid stuck
From: @chenfei52
Reviewed-by: 
Signed-off-by:
2021-03-30 19:14:04 +08:00
chenfei 906f3fa222 add test case for while grad 2021-03-29 11:06:50 +08:00
liangzelang 87d7de017b update ci testcases 2021-03-29 09:46:04 +08:00
liangzelang ba65fb9f3c Support non-tail recursive graphs 2021-03-26 16:21:40 +08:00
yangwei e34b2873fa set abstract for maketuple 2021-03-18 19:14:28 +08:00
He Wei 891fd7df92 [auto-monad] Refactor ascend_auto_monad
1. Remove output parameter pool for ascend control flow;
2. Remove duplicate code for Switch and SwitchLayer;
3. Add 'return' attribute to label_goto that used for return;
4. Disable tail call optimize for graphs with 'recursive' flag.
2021-03-08 11:48:45 +08:00
mindspore-ci-bot 176afda078 !12307 Add result check for cases in test_cont_grad.py
From: @liangzelang
Reviewed-by: @jjfeing,@zhoufeng54
Signed-off-by: @zhoufeng54
2021-02-18 17:34:33 +08:00
liangzelang 81afa9f103 check result in test_cont_graph cases 2021-02-09 15:11:36 +08:00
l00591931 9ec100d069 Change TensorAdd to Add, from r1.1 to master 2021-02-01 17:53:52 +08:00
chenfei 6d41c00907 use select implement tensor in list 2020-12-14 21:20:36 +08:00