-
Notifications
You must be signed in to change notification settings - Fork 0
GPU and CUDA
Adam Klement edited this page Jul 23, 2026
·
1 revision
Whisper (faster-whisper / CTranslate2) and diarization (pyannote / PyTorch) share one device per job: both GPU or both CPU — never mixed.
lwt install cudaThis installs:
-
CUDA 12 runtime (
nvidia-cublas-cu12,nvidia-cudnn-cu12) — Whisper GPU -
CUDA PyTorch (
torch+cu126) — diarization neural nets on GPU - CPU torchaudio — resample/fbank helpers (CUDA torchaudio is often blocked on Windows)
Optional full toolkit (Windows):
lwt install cuda --toolkitlwt install checkLook for CUDA ready for Whisper + diarization.
| Mode | Device |
|---|---|
| Transcribe only | GPU if CTranslate2 sees CUDA |
Transcribe + --diarize
|
GPU only if both CTranslate2 and PyTorch see CUDA; otherwise CPU for both |
Force CPU:
lwt config set whisper.device cpu