Why does WhisperX seem to install non-CUDA pytorch? #1296
Replies: 2 comments 1 reply
-
|
I seem to have this happen as well. With the base install of whisperx (having already installed the CUDA 12.8 compatible version of Pytorch prior) I get the line But when I attempt to reinstall the CUDA version I'm given |
Beta Was this translation helpful? Give feedback.
-
|
Two separate questions in there: Why CPU torch? The default pip install torch torchaudio --index-url https://download.pytorch.org/whl/cu128
pip install whisperxThe Do you need CUDA installed beforehand? No. The PyTorch CUDA wheels bundle their own CUDA runtime, so you don't need a system CUDA toolkit — only a recent enough NVIDIA driver. (Heads-up: whisperX's transcription backend is CTranslate2/faster-whisper, which needs cuBLAS + cuDNN; those ship with the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I'm using pip to install WhisperX it seems to install the cpu version of Pytorch 2.8.0 instead of the CUDA version even though I have CUDA 12.8 installed? Also is it necessary to install CUDA beforehand since the Pytorch installation usually installs it's own CUDA libraries?
Beta Was this translation helpful? Give feedback.
All reactions