|
1 |
| -name: Build and test linux wheels |
| 1 | +name: Build and test Linux wheels |
2 | 2 |
|
3 | 3 | on:
|
4 | 4 | pull_request:
|
|
86 | 86 | popd
|
87 | 87 | pushd .
|
88 | 88 | cd tests/py/ts
|
89 |
| - ${CONDA_RUN} python -m pip install --pre pytest timm==0.9.16 transformers==4.39.3 parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver |
| 89 | + ${CONDA_RUN} python -m pip install --pre -r ../requirements.txt |
90 | 90 | ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_api_test_results.xml api/
|
91 | 91 | ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_models_test_results.xml models/
|
92 | 92 | ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_integrations_test_results.xml integrations/
|
@@ -116,7 +116,7 @@ jobs:
|
116 | 116 | export USE_HOST_DEPS=1
|
117 | 117 | pushd .
|
118 | 118 | cd tests/py/dynamo
|
119 |
| - ${CONDA_RUN} python -m pip install --pre pytest-xdist timm==0.9.16 transformers==4.39.3 parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver |
| 119 | + ${CONDA_RUN} python -m pip install --pre -r ../requirements.txt |
120 | 120 | ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_converters_test_results.xml -n 10 conversion/
|
121 | 121 | popd
|
122 | 122 |
|
@@ -144,7 +144,7 @@ jobs:
|
144 | 144 | export USE_HOST_DEPS=1
|
145 | 145 | pushd .
|
146 | 146 | cd tests/py/dynamo
|
147 |
| - ${CONDA_RUN} python -m pip install --pre pytest timm==0.9.16 transformers==4.39.3 parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver |
| 147 | + ${CONDA_RUN} python -m pip install --pre -r ../requirements.txt |
148 | 148 | ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_fe_test_results.xml --ir dynamo models/test_models_export.py
|
149 | 149 | ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dyn_models_export.xml --ir dynamo models/test_dyn_models.py
|
150 | 150 | popd
|
@@ -173,7 +173,7 @@ jobs:
|
173 | 173 | export USE_HOST_DEPS=1
|
174 | 174 | pushd .
|
175 | 175 | cd tests/py/dynamo
|
176 |
| - ${CONDA_RUN} python -m pip install --pre pytest timm==0.9.16 transformers==4.39.3 parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver |
| 176 | + ${CONDA_RUN} python -m pip install --pre -r ../requirements.txt |
177 | 177 | ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/export_serde_test_results.xml --ir dynamo models/test_export_serde.py
|
178 | 178 | popd
|
179 | 179 |
|
@@ -201,7 +201,7 @@ jobs:
|
201 | 201 | export USE_HOST_DEPS=1
|
202 | 202 | pushd .
|
203 | 203 | cd tests/py/dynamo
|
204 |
| - ${CONDA_RUN} python -m pip install --pre pytest-xdist timm==0.9.16 transformers==4.39.3 parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver |
| 204 | + ${CONDA_RUN} python -m pip install --pre -r ../requirements.txt |
205 | 205 | ${CONDA_RUN} python -m pytest -n 10 --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_compile_be_test_results.xml backend/
|
206 | 206 | ${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_comple_be_e2e_test_results.xml --ir torch_compile models/test_models.py
|
207 | 207 | ${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_compile_dyn_models_export.xml --ir torch_compile models/test_dyn_models.py
|
@@ -231,7 +231,7 @@ jobs:
|
231 | 231 | export USE_HOST_DEPS=1
|
232 | 232 | pushd .
|
233 | 233 | cd tests/py/dynamo
|
234 |
| - ${CONDA_RUN} python -m pip install --pre pytest-xdist timm==0.9.16 transformers==4.39.3 parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver |
| 234 | + ${CONDA_RUN} python -m pip install --pre -r ../requirements.txt |
235 | 235 | ${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_runtime_test_results.xml runtime/
|
236 | 236 | ${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_partitioning_test_results.xml partitioning/
|
237 | 237 | ${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_lowering_test_results.xml lowering/
|
@@ -260,6 +260,6 @@ jobs:
|
260 | 260 | export USE_HOST_DEPS=1
|
261 | 261 | pushd .
|
262 | 262 | cd tests/py/core
|
263 |
| - ${CONDA_RUN} python -m pip install --pre pytest-xdist timm==0.9.16 transformers==4.39.3 parameterized expecttest==0.1.6 --use-deprecated=legacy-resolver |
| 263 | + ${CONDA_RUN} python -m pip install --pre -r ../requirements.txt |
264 | 264 | ${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_core_test_results.xml .
|
265 | 265 | popd
|
0 commit comments