qmetrics.net

whisper.cpp

Portable C/C++ inference for Whisper speech recognition

Whisper.cpp runs OpenAI Whisper ASR with a dependency-light C/C++ core and CLI tools. It targets CPUs and many GPU and NPU accelerators across common operating systems.

Overview

Whisper.cpp implements high-performance inference for OpenAI’s Whisper automatic speech recognition models using plain C and C++ atop the ggml library. The design keeps runtime memory allocations at zero and supports mixed FP16 and FP32 paths plus integer-quantized models to shrink disk and RAM use.

Hardware paths include Apple Silicon via NEON, Accelerate, Metal, and Core ML or ANEForge encoders; x86 AVX; POWER VSX; NVIDIA CUDA; AMD ROCm and Ryzen AI NPU; Vulkan; OpenVINO on Intel CPUs and GPUs; Huawei Ascend; and Moore Threads MUSA. A C-style API and bundled whisper-cli example make integration into applications straightforward.

Voice activity detection, streaming microphone demos, word-level timestamps, speaker segmentation experiments, and optional FFmpeg decoding broaden practical use. Pre-built Docker images ship the main binary with curl and ffmpeg, with CUDA, MUSA, and Vulkan variants available.

Documented platform support spans macOS, iOS, Android, Linux, FreeBSD, Windows, WebAssembly, Raspberry Pi, and containerized linux/amd64 and linux/arm64 images.

Key features

  • Plain C/C++ Whisper implementation
  • Integer quantization for smaller models
  • Metal, CUDA, Vulkan, and OpenVINO backends
  • Core ML and ANE encoder acceleration
  • whisper-cli transcription tool
  • Voice activity detection support
  • Docker images for CPU and GPU builds
  • C API for embedding in apps

Use cases

  • Offline speech-to-text in desktop apps
  • On-device transcription on mobile hardware
  • Low-footprint ASR in embedded or edge setups
  • Batch transcoding audio files via CLI

Tags

Similar software

whisperX

Speech recognition with word timestamps and diarization

WhisperX transcribes audio with batched Whisper inference, then aligns words using phoneme models for sharper timestamps. Optional speaker diarization labels who spoke when you provide a Hugging Face token.

★ 25.8k⟳ 6 days agoBSD-2-Clause

sherpa-onnx

On-device speech ML toolkit with ONNX runtime

Local speech recognition, synthesis, and related audio ML using ONNX models without requiring an internet connection during inference.

★ 16.3k⟳ yesterdayApache-2.0

Fun-ASR

Multilingual end-to-end speech recognition model family

Fun-ASR provides speech recognition checkpoints from Tongyi Lab for Chinese, English, Japanese, dialects, and up to 31 languages. Inference runs through FunASR, Transformers, vLLM, or llama.cpp GGUF binaries.

★ 1.6k⟳ 8 days agoApache-2.0

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Ollama

Run open AI models locally or in the cloud

Ollama runs open language models such as Gemma, Qwen, DeepSeek and gpt-oss on macOS, Windows and Linux, locally or in the cloud. It offers a CLI, a REST API, and Python and JavaScript libraries.

★ 188.3k⟳ 2 days agoMIT
Open Source Alternative to:OpenAI API

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0