@@ -54,39 +54,40 @@ jobs:
54
54
AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID : ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}
55
55
AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY : ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}
56
56
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
90
91
91
92
tests-py-dynamo-converters :
92
93
name : Test dynamo converters [Python]
0 commit comments