@@ -109,39 +109,38 @@ jobs:
109109
110110 ./.github/scripts/unittest.sh
111111
112- onnx :
113- uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
114- permissions :
115- id-token : write
116- contents : read
117- with :
118- repository : pytorch/vision
119- test-infra-ref : release/2.7
120- script : |
121- set -euo pipefail
122-
123- export PYTHON_VERSION=3.10
124- export GPU_ARCH_TYPE=cpu
125- export GPU_ARCH_VERSION=''
126-
127- ./.github/scripts/setup-env.sh
128-
129- # Prepare conda
130- CONDA_PATH=$(which conda)
131- eval "$(${CONDA_PATH} shell.bash hook)"
132- conda activate ci
133-
134- echo '::group::Install ONNX'
135- pip install --progress-bar=off onnx onnxruntime
136- echo '::endgroup::'
137-
138- echo '::group::Install testing utilities'
139- pip install --progress-bar=off pytest "numpy<2"
140- echo '::endgroup::'
141-
142- echo '::group::Run ONNX tests'
143- pytest --junit-xml="${RUNNER_TEST_RESULTS_DIR}/test-results.xml" -v --durations=25 test/test_onnx.py
144- echo '::endgroup::'
112+ # onnx:
113+ # uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
114+ # permissions:
115+ # id-token: write
116+ # contents: read
117+ # with:
118+ # repository: pytorch/vision
119+ # test-infra-ref: release/2.7
120+ # script: |
121+ # set -euo pipefail
122+ # export PYTHON_VERSION=3.10
123+ # export GPU_ARCH_TYPE=cpu
124+ # export GPU_ARCH_VERSION=''
125+
126+ # ./.github/scripts/setup-env.sh
127+
128+ # # Prepare conda
129+ # CONDA_PATH=$(which conda)
130+ # eval "$(${CONDA_PATH} shell.bash hook)"
131+ # conda activate ci
132+
133+ # echo '::group::Install ONNX'
134+ # pip install --progress-bar=off onnx onnxruntime
135+ # echo '::endgroup::'
136+
137+ # echo '::group::Install testing utilities'
138+ # pip install --progress-bar=off pytest "numpy<2"
139+ # echo '::endgroup::'
140+
141+ # echo '::group::Run ONNX tests'
142+ # pytest --junit-xml="${RUNNER_TEST_RESULTS_DIR}/test-results.xml" -v --durations=25 test/test_onnx.py
143+ # echo '::endgroup::'
145144
146145 unittests-extended :
147146 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
0 commit comments