[Tests] Reduce redundant ONNX and PyTorch integration tests#20026
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors and simplifies several test files in the Relax Python test suite. It removes the redundant test_base_py_module.py file, cleans up unused imports, and consolidates test cases in test_pytorch_integration.py and test_dlpack_integration.py. Additionally, it refactors the ConvTranspose tests in test_frontend_onnx.py into parameterized import and numerical tests, and simplifies the test cases for dynamic squeeze and resize operations. There are no review comments, so I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
This PR reduces repeated Relax frontend and integration test work while preserving distinct coverage. It reworks ONNX ConvTranspose tests into direct importer checks plus 11 numerical cases covering all ranks, asymmetric padding, grouping, bias, dilation, and output padding. Targeted runtime improves from 17.97s to 3.55s.