Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ jobs:
if [ -n "${{ matrix.torch-version }}" ]; then
TORCH_SPEC="torch==${{ matrix.torch-version }}"
fi
# NOTE: reinstall torchvision alongside torch so their ABIs stay in sync;
# otherwise transformers' transitive `import torchvision` fails at test time.
python -m pip install --force-reinstall --pre \
"${TORCH_SPEC}" --index-url ${{ matrix.index-url }}
"${TORCH_SPEC}" torchvision --index-url ${{ matrix.index-url }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds reasonable to me. Could you add a NOTE comment nearby, so that people who read / maintain the code can get context? Thanks!

Copy link
Copy Markdown
Contributor Author

@rishisinhanj rishisinhanj Apr 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tianyu-l - I added the note for context. Let me know if there are any other issues!


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"))')"
Expand Down
Loading