fix/whisper-vram-handoff #5

Merged
pedro-bento merged 2 commits from fix/whisper-vram-handoff into master 2026-10-05 21:54:13 +01:00

2 commits

Author SHA1 Message Date
5d9f86cd4d chore(release): 0.2.2
All checks were successful
CI / lint-and-test (push) Successful in 12s
CI / lint-and-test (pull_request) Successful in 12s
Version bump / version-bump (pull_request) Successful in 6s
2026-10-05 21:42:28 +01:00
8a3bc4babc fix(align): free the ASR model's VRAM before CTC alignment
Whisper large-v3 (~4.5 GB) stayed resident while WhisperX loaded the Wav2Vec2 aligner, so on a 6 GB GPU cublasCreate failed with CUBLAS_STATUS_ALLOC_FAILED and alignment silently fell back to Whisper timestamps. Load the ASR model per input, drop it before aligning, and return its CUDA memory first. Cached transcriptions now skip the load entirely.
2026-10-05 21:42:28 +01:00