C/C++ library that runs many speech-to-text model families from GGUF weights on ggml, with GPU backends and CPU fallback. Publishes WER-checked models and bindings for several languages.
Overview
transcribe.cpp is an inference engine for automatic speech recognition and related audio models. It loads GGUF checkpoints on the ggml runtime and supports Metal on Apple Silicon, Vulkan on Linux and Windows, CUDA on NVIDIA GPUs, and ROCm on AMD hardware, plus a tinyBLAS-accelerated CPU path.
The project ships support for numerous model families—Whisper, Parakeet, Moonshine, Granite Speech, Voxtral, and others—with streaming and batch modes, plus separate catalogs for diarization-only, language ID, voice activity detection, and end-of-turn detectors. Published handy-computer models on Hugging Face are numerically checked against reference implementations.
Input audio is expected as 16 kHz mono WAV; other formats can be converted externally. Weights can be memory-mapped from GGUF on CPU and Metal. A quantization tool shrinks models using standard ggml presets, and pre-built quant downloads are documented per model family.
Official bindings wrap the C API for Python, TypeScript, Rust, and Swift. It functions as a portable ASR stack accelerated across platforms, with a queryable model catalog and benchmark profiles governing publication quality.
Key features
- Many ASR families via GGUF
- Metal, Vulkan, CUDA, ROCm backends
- Streaming and batch transcription
- Speaker diarization and VAD models
- Model quantization tool
- Python and TypeScript bindings
- WER-validated published checkpoints
- 16 kHz mono WAV pipeline
Use cases
- On-device speech transcription
- Batch audio file decoding
- Streaming recognition pipelines
- Voice activity detection
- Speaker diarization without ASR