Commit Graph

210 Commits

Author SHA1 Message Date
ligan f22b69cd8b fix test when MS_DEV_ENABLE_FALLBACK_RUNTIME is set 2023-02-08 15:53:07 +08:00
huangbingjian f89a1eda78 Adjust ST test cases 2022-12-12 17:39:41 +08:00
liangzhibo 223aee1a69 Add GetGraphsFromTuple for switch sceniro 2022-12-07 11:56:15 +08:00
luochao 605c1a8479 new_construct_bprop
move expander files
move expander component to mindspore/core
move the bprop expanders to mindspore/frontend
2022-11-27 04:55:01 -05:00
chenfei 0cd4fcc10c move cases in one process 2022-11-25 10:59:17 +08:00
lvhaoyu bec6f8e3a1 not allow duplicated grad_position and fix some bug 2022-10-25 23:38:17 +08:00
huangbingjian b98fc0021a Add api mindspore.jit and mindspore.jit_class.
1、ms_function will be removed in a future version and replaced with jit.
2、ms_class will be removed in a future version and replaced with
jit_class.
2022-10-21 10:17:44 +08:00
i-robot 96b1230e92
!44033 Case fix
Merge pull request !44033 from chenfei_mindspore/case-fix
2022-10-17 19:00:49 +00:00
chenfei 1e8cd9ef9b test case fix 2022-10-17 18:55:49 +08:00
chujinjin 3711a83f76 change default mode to pynative 2022-10-13 19:48:38 +08:00
i-robot bf1f4ddce2
!42226 Add the check of the return value of Assign, AssignAdd, AssignSub.
Merge pull request !42226 from Margaret_wangrui/check_assign_assignsub_assignadd
2022-10-13 02:33:02 +00:00
i-robot 3ca6e751b2
!43328 support dictionary in 'for x in xs'
Merge pull request !43328 from zhouxulin2/for_dict
2022-10-11 08:21:58 +00:00
Margaret_wangrui dd2c45a829 Add the check of the return value of Assign, AssignAdd, AssignSub. 2022-10-11 15:50:47 +08:00
i-robot 3f40521cd9
!43472 Clone all value nodes of TranformableClone
Merge pull request !43472 from chenfei_mindspore/update-joint-fail-debug
2022-10-10 10:57:06 +00:00
zhouxulin2 ce25e41f5e support dictionary in for 2022-10-10 15:21:56 +08:00
i-robot 5fc62f6f1e
!42893 Check if xs is iterable in for
Merge pull request !42893 from LiangZhibo/check
2022-10-10 06:19:08 +00:00
i-robot b3980d8f64
!43030 Add testcases of tuple geitem err
Merge pull request !43030 from chenfei_mindspore/tuple-getitem-err
2022-10-10 01:20:25 +00:00
chenfei 49ade77f73 clone all value nodes of TransformableClone 2022-10-09 19:51:44 +08:00
liangzhibo fd0a6ae956 Add len with check in for 2022-10-09 17:28:44 +08:00
i-robot f916d8e7f9
!42606 fix CNode(DeadNode) in renormalization after second grad
Merge pull request !42606 from xychow/fix-second-grad-dead-node-when-renorm
2022-09-29 03:23:20 +00:00
zhousiyi edbb0020ca ignore the stack frame jump if that CNode had been evaluated to eliminate the dead node after renormalization 2022-09-28 07:10:28 +00:00
yanghaoran 164fada9f5 takedown testcases that are almost never failing as to save time on gate 2022-09-27 22:38:48 +08:00
chenfei fa94f30eac add test case of tuple getiem err 2022-09-27 20:12:23 +08:00
liangzhibo deb8a1a5d9 Refuse resolve node to generate interpreted object 2022-09-26 08:51:05 +08:00
zhousiyi 8f4a5b6d98 after renormalization, funcgraph with different args in different abstracts are broadened
to used the same funcgraph, so all these abstracts have to map the same abstract, then
the backend can find that specialized funcgraph.
2022-09-07 02:36:35 +00:00
Margaret_wangrui 8b9cd23deb If the return value of the subgraph is load or tuple(load), need to insert TensorMove. 2022-09-05 10:01:19 +08:00
lanzhineng 2ff18e3598 export print error. 2022-09-02 10:55:41 +08:00
i-robot 948c60debe
!40884 Set and propagate break or continue flag
Merge pull request !40884 from xychow/fix-parallel-if-nested-if-break
2022-08-29 15:59:20 +00:00
i-robot 0e25f1e2fc
!40523 Change specialize order of graph nodes
Merge pull request !40523 from chenfei_mindspore/change-specialize-order
2022-08-27 08:34:08 +00:00
zhousiyi 09f619fd3a Set and propagate break or continue flag. Add test case for raise and
assert statement.
2022-08-27 07:51:23 +00:00
chenfei 8a2bea9f59 deplay specialize poly node if parent are not sepcialized 2022-08-26 11:10:29 +08:00
i-robot 00677934b8
!37959 Ignore tranformation of parallel if for special case of return in while/for loop
Merge pull request !37959 from xychow/dont-do-parallel-if-while-body-dont-call-header
2022-08-23 11:04:55 +00:00
zhousiyi 06097cc7e6 Ignore tranformation of parallel if for special case of return in while/for loop 2022-08-19 00:50:51 +00:00
Margaret_wangrui 7d905fc5ae Modify the abstract information of the TensorMove node. 2022-08-18 11:51:30 +08:00
liangzhibo 88bc967cdd support graph hasattr and getattr 2022-08-12 17:48:51 +08:00
i-robot 6034f25a10
!40168 add test case: PolyNode in renormalization after cconv
Merge pull request !40168 from xychow/add-test-case-polynode-after-cconv
2022-08-10 08:14:09 +00:00
zhousiyi 2f8d7994d8 test case: PolyNode in renormalization after cconv 2022-08-10 01:11:43 +00:00
chenfei 970592c0a3 Not support scalar join of different branch 2022-08-08 16:49:47 +08:00
i-robot aef93699b9
!38753 Support list pop method.
Merge pull request !38753 from Margaret_wangrui/list_pop
2022-08-02 03:40:32 +00:00
Margaret_wangrui e676c94a06 Support list pop method. 2022-08-01 21:02:14 +08:00
chenfei b901747d04 add test case to watch core dump 2022-08-01 09:45:22 +08:00
i-robot 08f63e4f16
!39159 Fix bug of resove process
Merge pull request !39159 from chenfei_mindspore/phi-node-dfx-fix
2022-07-30 06:17:33 +00:00
chenfei 1915654910 fix bug of trace info in resolve process 2022-07-29 17:25:52 +08:00
chenfei fdfab870b8 fix bug of partial switch pass 2022-07-28 11:25:59 +08:00
i-robot f3839dafcd
!38717 Add testcase.
Merge pull request !38717 from gaoyong10/dynamic_shape_04
2022-07-26 02:12:56 +00:00
gaoyong10 7a465769bf Add testcase 2022-07-25 12:33:15 +08:00
chenfei 836e29142c reconstruct phi node eliminate process
change some explanation

change unordered_map to map

cyclomatic complexity decrease
2022-07-22 11:30:27 +08:00
Margaret_wangrui 2269d936ee Added check for else branch in for and while loops. 2022-07-14 16:09:04 +08:00
chenfei 7b917b83be fix bug of tuple setitem getitem pass 2022-07-05 09:34:28 +08:00
chenfei 22e5bb5d14 change scalar add inif body to tensor add in if body 2022-06-30 10:05:58 +08:00