feat(whisper): Add device, compute type, and batch size options #4

Merged
sam merged 1 commit from thread-and-cuda into main 2026-08-16 18:23:26 +02:00
Owner

Add configuration options for faster-whisper inference tuning: -
--whisper-device: Select inference device (auto/cpu/cuda) -
--whisper-compute-type: Set ctranslate2 compute type -
--whisper-batch-size: Enable batched GPU decoding

Implement transcribe_many() for prefetched parallel audio
decoding. Refactor model caching to include device/compute-type in
key. Add device and compute-type resolution helpers. Improve error
handling with fallback to cpu/int8. Update config documentation and
CLI help text.

Add configuration options for faster-whisper inference tuning: - `--whisper-device`: Select inference device (auto/cpu/cuda) - `--whisper-compute-type`: Set ctranslate2 compute type - `--whisper-batch-size`: Enable batched GPU decoding Implement `transcribe_many()` for prefetched parallel audio decoding. Refactor model caching to include device/compute-type in key. Add device and compute-type resolution helpers. Improve error handling with fallback to cpu/int8. Update config documentation and CLI help text.
feat(whisper): Add device, compute type, and batch size options
All checks were successful
Arch Package / build-publish (pull_request) Has been skipped
Arch Package / manual-build-publish (pull_request) Has been skipped
Arch Package / test-build (pull_request) Successful in 2m46s
Arch Package / test-build (push) Has been skipped
Arch Package / manual-build-publish (push) Has been skipped
Arch Package / build-publish (push) Successful in 2m41s
e2b4eaa062
Add configuration options for faster-whisper inference tuning: -
`--whisper-device`: Select inference device (auto/cpu/cuda) -
`--whisper-compute-type`: Set ctranslate2 compute type -
`--whisper-batch-size`: Enable batched GPU decoding

Implement `transcribe_many()` for prefetched parallel audio
decoding.  Refactor model caching to include device/compute-type in
key. Add device and compute-type resolution helpers. Improve error
handling with fallback to cpu/int8. Update config documentation and
CLI help text.
sam merged commit e2b4eaa062 into main 2026-08-16 18:23:26 +02:00
sam deleted branch thread-and-cuda 2026-08-16 18:23:26 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sam/kdenlive-transcript-sync!4
No description provided.