82
82
smoke-test-script : packaging/smoke_test_script.sh
83
83
uses : ./.github/workflows/linux-test.yml
84
84
with :
85
- job-name : tests-py-torchscript-fe-tensorrt-${{ needs.generate-tensorrt-matrix.outputs.matrix.tensorrt.version }}-py${{ needs.generate-tensorrt-matrix.outputs.matrix.python_version }}
85
+ job-name : tests-py-torchscript-fe
86
86
repository : " pytorch/tensorrt"
87
87
ref : " "
88
88
test-infra-repository : pytorch/test-infra
@@ -103,3 +103,34 @@ jobs:
103
103
python -m pytest -ra --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_models_test_results.xml models/
104
104
python -m pytest -ra --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_integrations_test_results.xml integrations/
105
105
popd
106
+
107
+ tests-py-dynamo-core :
108
+ name : Test dynamo core [Python]
109
+ needs : [generate-tensorrt-matrix, build]
110
+ strategy :
111
+ fail-fast : false
112
+ matrix :
113
+ include :
114
+ - repository : pytorch/tensorrt
115
+ package-name : torch_tensorrt
116
+ pre-script : packaging/pre_build_script.sh
117
+ post-script : packaging/post_build_script.sh
118
+ smoke-test-script : packaging/smoke_test_script.sh
119
+ uses : ./.github/workflows/linux-test.yml
120
+ with :
121
+ job-name : tests-py-dynamo-core
122
+ repository : " pytorch/tensorrt"
123
+ ref : " "
124
+ test-infra-repository : pytorch/test-infra
125
+ test-infra-ref : main
126
+ build-matrix : ${{ needs.generate-tensorrt-matrix.outputs.matrix }}
127
+ pre-script : ${{ matrix.pre-script }}
128
+ script : |
129
+ export USE_HOST_DEPS=1
130
+ export CI_BUILD=1
131
+ pushd .
132
+ cd tests/py/dynamo
133
+ python -m pytest -ra -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_runtime_test_results.xml runtime/test_000_*
134
+ python -m pytest -ra -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_partitioning_test_results.xml partitioning/
135
+ python -m pytest -ra -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_lowering_test_results.xml lowering/
136
+ popd
0 commit comments