Commit Graph

38 Commits

Author SHA1 Message Date
huanghui f9c502d4ca fix print all to fallback 2022-06-09 09:54:56 +08:00
liangzhibo 458a3d65a3 Change fallback control flow local param logic 2022-06-08 11:55:19 +08:00
huanghui b0daae6137 fix handle builtin func in while body 2022-06-07 09:14:15 +08:00
Margaret_wangrui afe3d2a161 [Fallback][Control_flow] Remove fallback testcase from ST to UT. 2022-06-01 10:40:20 +08:00
i-robot abccd6e0e1
!34973 Add st for fallback constant control flow with 230,231,232
Merge pull request !34973 from huanghui/control-for-fallback
2022-05-29 12:38:51 +00:00
i-robot 998a38b541
!34986 fix output information
Merge pull request !34986 from huangbingjian/fix_information
2022-05-29 03:58:41 +00:00
i-robot 1a30181f4f
!34913 Add testcases for Fallback control flow 310, 311, 312
Merge pull request !34913 from LiangZhibo/control
2022-05-27 09:19:51 +00:00
huangbingjian e636e30ee7 fix output information 2022-05-27 14:51:53 +08:00
huanghui 63f87d03fc add st for fallback constant control flow with 230,231,232 2022-05-27 09:27:09 +08:00
i-robot cd26d2d46e
!34781 add st for fallback constant control flow with 330 331 332
Merge pull request !34781 from huanghui/control-for-fallback2
2022-05-25 09:19:16 +00:00
liangzhibo e58d9c4ff9 Add fallback control test case for 310 311 312 2022-05-25 14:18:30 +08:00
i-robot 4ac3eccddc
!34791 [Fallback][Control_flow] Add some fallback control flow testcases.
Merge pull request !34791 from Margaret_wangrui/fallback_control_flow
2022-05-24 06:33:44 +00:00
Margaret_wangrui beec672590 [Fallback][Control_flow] Add some fallback control flow testcases. 2022-05-23 17:07:48 +08:00
i-robot 8eb5e3e90d
!34721 add st for fallback constant control flow with 320 321 322
Merge pull request !34721 from huanghui/control-for-fallback
2022-05-23 08:38:35 +00:00
huanghui 3a1612be4d add st for fallback constant control flow with 330, 331, 332 2022-05-23 15:35:25 +08:00
Margaret_wangrui c759b4a4c8 [Fallback][Control_flow] Add some fallback control flow testcases. 2022-05-21 16:03:06 +08:00
huanghui 8137dfa0a9 add st for fallback constant control flow with 320 321 322 2022-05-20 16:40:43 +08:00
huanghui 8426c4717e add st 300,301,302 for fallback control flow 2022-05-19 17:37:36 +08:00
huanghui bd7bede0b4 add st fot control flow of fallback (020,021,022) 2022-05-17 12:38:05 +08:00
Margaret_wangrui 91993769a5 [Fallback][Control_flow] Add some control flow fallback testcases. 2022-05-14 11:51:46 +08:00
i-robot 2c73744ba5
!34135 [Fallback][Control_flow] Add some fallback control flow testcases.
Merge pull request !34135 from Margaret_wangrui/fallback_control_flow
2022-05-11 01:31:25 +00:00
Margaret_wangrui d3dfded173 [Fallback][Control_flow] Add some fallback control flow testcases. 2022-05-10 14:10:55 +08:00
liangzhibo 35a4deca70 Add if_after_while and if_after_for for fallback control flow 2022-05-09 14:26:02 +08:00
i-robot 43fd864c10
!31745 Enable if parallel call flag by default
Merge pull request !31745 from xychow/enable-if-parallel-call-by-default
2022-05-05 09:28:39 +00:00
zhousiyi d4aba77d3d enable if parallel call transformation by default; fix test case ut/python/pipeline/parse/test_fix_bug.py::test_fix_expanddims_loss_scale
Check only if all branch of middle graph's output are scalar, parallel_if transformation should be ignored

fix test_auto_monad.py::test_while_if geswitch input shape check failed

fix ut/python/pipeline/parse/test_super.py::test_super_cell core dump as varg and kwarg parameter are removed but those flags are not set, it will cause FuncGraph::GetPositionArgsCount be negative

skip test_control_flow in ut/python/paralle as Parallel team is working on contro flow adaption.

fix ut/python/ir/test_row_tensor.py::test_row_tensor_with_control_flow_if

fix for kwonlyargs when eliminate_parameter and add testdases

fix cannot join for st/control/inner/test_012_if_in_for.py

fix pclint errors

fix test/st/scipy_st/sparse/test_linalg.py, if the output cnode of former funcgraph is Depend CNode with input 1 as middle funcgraph call, then keep the output of former funcgraph as Depend other than middle funcgraph tail call.

log as exception

If the output of middle funcgraph contain PyInterpret CNode, then ignore
the transformation as the Value in Abstract will be kAnyValue after join
of the PyInterpret CNode value.

Backend cannot support for RealDiv with Int64, so change one operand to Float
2022-04-29 08:22:56 +00:00
Margaret_wangrui 21e5677b4a [Fallback][Control_flow] Add control flow fallback testcases. 2022-04-29 12:04:58 +08:00
liangzhibo 2fc92bba08 graph fallback control flow ForceToBoolNode change 2022-04-28 15:16:09 +08:00
i-robot 0feb213472
!33505 [Fallback][Control_flow] Fix print problom in for_in_if case.
Merge pull request !33505 from Margaret_wangrui/for_in_if_print
2022-04-27 14:51:59 +00:00
Margaret_wangrui c7df0ab813 [Fallback][Control_flow] Convert numpy number to graph node. 2022-04-26 08:47:21 +08:00
Margaret_wangrui 467e298b13 [Fallback][Control_flow] Fix print problom in for_in_if case. 2022-04-25 15:41:41 +08:00
liangzhibo 00ebb87197 Fallback control flow if in for 2022-04-24 14:59:09 +08:00
i-robot b2485e7b4c
!33403 Fix fallback control flow condition wrongly parsed problem and add some test cases.
Merge pull request !33403 from LiangZhibo/control
2022-04-24 06:20:09 +00:00
liangzhibo 331081bb73 graph fallback if in if 2022-04-22 14:29:58 +08:00
Margaret_wangrui c8a853114c [Fallback][Control_flow] Add control flow fallback testcases. 2022-04-22 11:36:19 +08:00
Margaret_wangrui 8f65443883 [Fallback][Control_flow] Support constant control flow scenario. 2022-04-19 12:10:42 +08:00
liangzhibo 2705be3898 fix fallback control flow problem 2022-04-18 20:15:50 +08:00
Margaret_wangrui a33b048156 [Fallback][Control_flow] Handling the issue of interpret nodes transform information as phi nodes. 2022-04-07 14:03:56 +08:00
Margaret_wangrui 5089708203 [ME][Fallback] Support some control flow scenes with fallback. 2022-03-29 14:59:57 +08:00