From 2d0a28a1db42808ab47b80f2bfef4c63006701c3 Mon Sep 17 00:00:00 2001 From: Shangdi Yu Date: Fri, 17 Apr 2026 18:06:52 -0700 Subject: [PATCH] [ci fix] torchvision channel --- .../integration_test_8gpu_transformers_modeling_backend.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration_test_8gpu_transformers_modeling_backend.yaml b/.github/workflows/integration_test_8gpu_transformers_modeling_backend.yaml index aea907555c..a8c9b7d282 100644 --- a/.github/workflows/integration_test_8gpu_transformers_modeling_backend.yaml +++ b/.github/workflows/integration_test_8gpu_transformers_modeling_backend.yaml @@ -64,8 +64,10 @@ jobs: if [ -n "${{ matrix.torch-version }}" ]; then TORCH_SPEC="torch==${{ matrix.torch-version }}" fi + # torchvision must be installed from the nightly channel alongside torch + # so its C++ extensions (e.g. torchvision::nms) match the torch ABI. python -m pip install --force-reinstall --pre \ - "${TORCH_SPEC}" --index-url ${{ matrix.index-url }} + "${TORCH_SPEC}" torchvision --index-url ${{ matrix.index-url }} if [[ "${{ matrix.gpu-arch-type }}" == "rocm" ]]; then export HIPBLASLT_TENSILE_LIBPATH="$(python -c 'import os, torch; print(os.path.join(os.path.dirname(torch.__file__), "lib", "hipblaslt", "library"))')"