faster-whisper is a Python library that transcribes audio with OpenAI Whisper weights via CTranslate2. It targets lower memory use and higher throughput on CPU and GPU.
Overview
faster-whisper reproduces Whisper speech-to-text behavior using the CTranslate2 inference engine instead of the original PyTorch stack. Published benchmarks report faster runs than reference Whisper implementations at similar accuracy, with optional eight-bit quantization on CPU and GPU.
Install from PyPI with Python 3.9 or newer. Audio decoding uses PyAV bundled with FFmpeg libraries, so a system FFmpeg install is not required. GPU runs need NVIDIA CUDA libraries; Docker images with those libraries are documented for container setups.
The WhisperModel API streams segments as a generator, supports batched transcription pipelines, Distil-Whisper checkpoints, word-level timestamps, and an integrated Silero VAD filter to skip long silence. Models download automatically from Hugging Face when you reference a size name, and a conversion script can export custom or fine-tuned checkpoints to CTranslate2 format.
CPU threading can be tuned with standard OpenMP environment variables when comparing against other Whisper ports. Community projects integrate the library for local transcription workflows.
Key features
- Whisper models on CTranslate2
- CPU and GPU inference
- 8-bit quantization option
- Batched transcription pipeline
- Word-level timestamps
- Silero VAD speech filter
- Distil-Whisper compatibility
- Hugging Face model downloads
Use cases
- Local audio transcription
- Batch media processing
- GPU speech pipelines
- Low-memory CPU transcription
- Custom Whisper checkpoint deployment