@@ -54,39 +54,40 @@ jobs:
5454 AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID : ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}
5555 AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY : ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}
5656
57- # tests-py-torchscript-fe:
58- # name: Test torchscript frontend [Python]
59- # needs: [generate-matrix, build]
60- # strategy:
61- # fail-fast: false
62- # matrix:
63- # include:
64- # - repository: pytorch/tensorrt
65- # package-name: torch_tensorrt
66- # pre-script: packaging/pre_build_script.sh
67- # uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main
68- # with:
69- # job-name: tests-py-torchscript-fe
70- # repository: "pytorch/tensorrt"
71- # ref: ""
72- # test-infra-repository: pytorch/test-infra
73- # test-infra-ref: main
74- # build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
75- # pre-script: ${{ matrix.pre-script }}
76- # script: |
77- # export USE_HOST_DEPS=1
78- # pushd .
79- # cd tests/modules
80- # ${CONDA_RUN} python -m pip install -r requirements.txt
81- # ${CONDA_RUN} python hub.py
82- # popd
83- # pushd .
84- # cd tests/py/ts
85- # ${CONDA_RUN} python -m pip install --pre pytest timm transformers parameterized expecttest --use-deprecated=legacy-resolver
86- # ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_api_test_results.xml api/
87- # ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_models_test_results.xml models/
88- # ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_integrations_test_results.xml integrations/
89- # popd
57+ tests-py-torchscript-fe :
58+ name : Test torchscript frontend [Python]
59+ needs : [generate-matrix, build]
60+ strategy :
61+ fail-fast : false
62+ matrix :
63+ include :
64+ - repository : pytorch/tensorrt
65+ package-name : torch_tensorrt
66+ pre-script : packaging/pre_build_script.sh
67+ uses : pytorch/tensorrt/.github/workflows/linux-test.yml@main
68+ with :
69+ job-name : tests-py-torchscript-fe
70+ repository : " pytorch/tensorrt"
71+ ref : " "
72+ test-infra-repository : pytorch/test-infra
73+ test-infra-ref : main
74+ build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
75+ pre-script : ${{ matrix.pre-script }}
76+ script : |
77+ export USE_HOST_DEPS=1
78+ export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH
79+ pushd .
80+ cd tests/modules
81+ ${CONDA_RUN} python -m pip install --pre -r requirements.txt --use-deprecated=legacy-resolver
82+ ${CONDA_RUN} python hub.py
83+ popd
84+ pushd .
85+ cd tests/py/ts
86+ ${CONDA_RUN} python -m pip install --pre pytest timm transformers parameterized expecttest --use-deprecated=legacy-resolver
87+ ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_api_test_results.xml api/
88+ ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_models_test_results.xml models/
89+ ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_integrations_test_results.xml integrations/
90+ popd
9091
9192 tests-py-dynamo-converters :
9293 name : Test dynamo converters [Python]
@@ -140,6 +141,8 @@ jobs:
140141 cd tests/py/dynamo
141142 ${CONDA_RUN} python -m pip install --pre pytest timm transformers parameterized expecttest --use-deprecated=legacy-resolver
142143 ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_fe_test_results.xml --ir dynamo models/test_models_export.py
144+ ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/export_serde_test_results.xml --ir dynamo models/test_export_serde.py
145+ ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dyn_models_export.xml --ir dynamo models/test_dyn_models.py
143146 popd
144147
145148 tests-py-torch-compile-be :
0 commit comments