Skip to content

Commit c2fe97f

Browse files
Siyuan Fengtqchen
authored andcommitted
[CI] Remove legacy frontend tests
The frontend tests have been moved to their own repository to reduce the size of the main TVM repository and make CI more efficient. This commit removes all frontend-related test files and updates the CI scripts accordingly. Key changes: - Remove all frontend test files from tests/python/frontend/ - Update task_python_frontend.sh script - Update conftest.py to remove frontend-specific test configurations
1 parent d93f4ad commit c2fe97f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2
-41981
lines changed

conftest.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,17 @@
3131
# taken from the 20 (arbitrary number) of tests as from
3232
# https://ci.tlcpack.ai/job/tvm/job/main/2907/testReport
3333
_slowest_tests = [
34-
"tests/python/frontend/tensorflow/test_forward.py::test_forward_broadcast_args",
35-
"tests/python/frontend/tensorflow/test_forward.py::test_forward_broadcast_to",
3634
"tests/python/topi/python/test_topi_conv2d_int8.py::test_conv2d_nchw[int8]",
3735
"tests/python/topi/python/test_topi_conv2d_int8.py::test_conv2d_nchw[uint8]",
3836
"tests/python/topi/python/test_topi_upsampling.py::test_upsampling3d",
3937
"tests/python/topi/python/test_topi_upsampling.py::test_upsampling3d",
4038
"tests/python/topi/python/test_topi_conv2d_int8.py::test_conv2d_nchw[int8]",
41-
"tests/python/frontend/tflite/test_forward.py::test_all_elemwise",
42-
"tests/python/frontend/pytorch/test_object_detection.py::test_detection_models",
4339
"tests/python/topi/python/test_topi_conv2d_int8.py::test_conv2d_nchw[uint8]",
4440
"tests/python/topi/python/test_topi_conv2d_NCHWc.py::test_conv2d_NCHWc",
4541
"tests/python/topi/python/test_topi_conv2d_hwnc_tensorcore.py::test_conv2d_hwnc_tensorcore",
4642
"tests/python/contrib/test_tensorrt.py::test_binary[compile]",
47-
"tests/python/frontend/pytorch/test_forward.py::test_segmentation_models",
4843
"tests/python/topi/python/test_topi_conv2d_NCHWc.py::test_conv2d_NCHWc",
4944
"tests/python/relay/test_py_converter.py::test_global_recursion",
50-
"tests/python/frontend/tensorflow/test_forward.py::test_forward_ptb",
5145
"tests/python/relay/test_op_level6.py::test_topk",
5246
"tests/python/topi/python/test_topi_conv2d_winograd.py::test_conv2d_nchw",
5347
"tests/python/relay/test_py_converter.py::test_global_recursion",

tests/lint/pylint.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,5 @@ python3 -m pylint tests/python/contrib/test_hexagon/conv2d/*.py --rcfile="$(dirn
4141
python3 -m pylint tests/python/contrib/test_hexagon/topi/*.py --rcfile="$(dirname "$0")"/pylintrc
4242
python3 -m pylint tests/python/contrib/test_hexagon/metaschedule_e2e/*.py --rcfile="$(dirname "$0")"/pylintrc
4343

44-
# tests/python/frontend tests
45-
python3 -m pylint tests/python/frontend/caffe/test_forward.py --rcfile="$(dirname "$0")"/pylintrc
46-
python3 -m pylint tests/python/frontend/caffe2/*.py --rcfile="$(dirname "$0")"/pylintrc
47-
python3 -m pylint tests/python/frontend/darknet/test_forward.py --rcfile="$(dirname "$0")"/pylintrc
48-
python3 -m pylint tests/python/frontend/coreml/*.py --rcfile="$(dirname "$0")"/pylintrc
49-
python3 -m pylint tests/python/frontend/keras/test_forward.py --rcfile="$(dirname "$0")"/pylintrc
50-
python3 -m pylint tests/python/frontend/darknet/test_forward.py --rcfile="$(dirname "$0")"/pylintrc
51-
python3 -m pylint tests/python/frontend/oneflow/*.py --rcfile="$(dirname "$0")"/pylintrc
52-
python3 -m pylint tests/python/frontend/tensorflow/test_forward.py --rcfile="$(dirname "$0")"/pylintrc
53-
python3 -m pylint tests/python/frontend/pytorch/test_forward.py --rcfile="$(dirname "$0")"/pylintrc
54-
python3 -m pylint tests/python/frontend/tflite/test_forward.py --rcfile="$(dirname "$0")"/pylintrc
55-
5644
# tests/python/contrib/test_msc tests
5745
python3 -m pylint tests/python/contrib/test_msc/*.py --rcfile="$(dirname "$0")"/pylintrc

0 commit comments

Comments
 (0)