On a 6 GB GPU the Wav2Vec2 aligner kept in `align_cache` across inputs was still resident when the next input loaded Whisper large-v3, so CUDA init failed with out-of-memory and silently fell back to CPU (catastrophic for long recordings). `load_or_transcribe` now offloads cached aligner weights to CPU (freeing their VRAM) right before the ASR model loads; `_align_with_whisperx` moves them back to the align device before aligning, since whisperx.align never moves the model itself. Entries that cannot be moved are evicted so they reload from scratch. |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| test_core.py | ||
| test_handoff.py | ||
| test_kdenlive.py | ||
| test_render.py | ||
| test_transcripts.py | ||
| test_version.py | ||
| test_whisper_unload.py | ||