Skip to content

fix(whisperx): install torchvision from the CPU wheel index - #274

Open
xunguangzlj-cloud wants to merge 1 commit into
bradautomates:mainfrom
xunguangzlj-cloud:fix/whisperx-cpu-torchvision
Open

xunguangzlj-cloud wants to merge 1 commit into
bradautomates:mainfrom
xunguangzlj-cloud:fix/whisperx-cpu-torchvision

Conversation

@xunguangzlj-cloud

Copy link
Copy Markdown

Summary

  • Install the matching torchvision wheel alongside torch and torchaudio from the PyTorch CPU index in the Linux and Windows WhisperX setup path.
  • Extend the installer command regression to check the torchvision pin on both platforms.

Fixes #264.

Testing

  • Linux: python -m pytest tests/test_local_whisperx.py (23 passed).
  • Windows: both platform cases for the CPU installer recipe passed.
  • uv dry-run resolution selected all three +cpu builds for Linux and Windows using Python 3.12 as the target.
  • Full WhisperX installation and model warm-up were not run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--install-whisperx on Linux: torchvision from PyPI does not match CPU torch, so WhisperX fails to import

1 participant