@@ -109,39 +109,39 @@ jobs:
109109
110110 ./.github/scripts/unittest.sh
111111
112- onnx :
113- uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
114- permissions :
115- id-token : write
116- contents : read
117- with :
118- repository : pytorch/vision
119- test-infra-ref : main
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@main
114+ # permissions:
115+ # id-token: write
116+ # contents: read
117+ # with:
118+ # repository: pytorch/vision
119+ # test-infra-ref: main
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::'
145145
146146 unittests-extended :
147147 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
0 commit comments