whisper.cpp v1.9.6 Released: Backend Optimizations and API Updates

whisper.cpp v1.9.6 Released: Backend Optimizations and API Updates

At a Glance

Item Value
Repository ggml-org/whisper.cpp
Version v1.9.6
Published 2026-11-24
License MIT
Source type Primary source (the publisher itself)

Values determined by this site’s code when the information was collected. Dates are JST.

Overview

whisper.cpp v1.9.6 has been released. whisper.cpp is an inference engine for speech-to-text, porting OpenAI’s Whisper model to C/C++. This update includes changes to internal function visibility and numerous optimizations and fixes across various backends (CUDA, Metal, Vulkan, OpenCL, etc.).

Key Changes

Changes to whisper function visibility

The visibility of the internal whisper function whisper_log_internal has been changed to hidden. This may affect users developing with the library. If you are using this as an internal API, please be aware that link errors may occur.

Fix for audio segment end times

A fix has been implemented to clamp the end time of audio segments so that they do not exceed the actual length of the audio file. This improves the accuracy of timestamps in speech recognition output and is beneficial for users performing processing that depends on the length of the audio data.

Backend optimizations and fixes

This release includes many improvements depending on the hardware being used.

  • CUDA: Efficiency in GPU inference has been improved through measures such as skipping compatibility checks during graph reuse, linearizing MoE (Mixture of Experts) data layouts, and adding FlashAttention settings for specific conditions.
  • Metal: For Apple devices, out-of-bounds reads in the SOLVE_TRI kernel have been prevented, and argmax and pool_1d have been optimized.
  • Vulkan/OpenCL: Support for various quantization formats (Q4_0, Q5_0, Q6_K, IQ1, IQ2, IQ3, IQ4, etc.) has been expanded, and kernels to improve performance for mobile GPUs such as Adreno have been added.
  • CPU/ARM: Includes the use of 4×4 simd_gemm tiles in ARM NEON and optimizations for SpacemiT.

These changes directly impact inference speed and stability for users of specific GPUs and mobile chipsets. If you are using a specific backend, you may see performance improvements after updating.

Server feature improvements

In the whisper.cpp server functionality, the system can now properly handle cases where the language ID is missing if all audio is removed by VAD (Voice Activity Detection). Support for communication via .sock (Unix domain sockets) has also been added. This provides more robust operation and new communication options for users running whisper.cpp as a server.

Supported Models and Hardware

This update expands support for quantization formats across various backends. Specifically, support for various quantization formats such as IQ1, IQ2, IQ3, IQ4, Q2_0, Q3_K, Q4_0, Q5_0, Q5_1, and Q6_K is being advanced in Vulkan and OpenCL.

In terms of hardware, the following optimizations are included:

  • NVIDIA GPU (CUDA): Added FlashAttention settings for specific conditions and optimized MoE data layouts.
  • Apple Silicon (Metal): Stability has been improved, such as preventing out-of-bounds writes to the Metal FA output buffer.
  • Mobile/Embedded: Added dequantized KV optimization and Flash Attention kernels to improve decode performance for Qualcomm Adreno. The Hexagon backend also received support for Q5_0 and Q5_1, along with the addition of various operations (SGN, CEIL, UPSCALE, etc.).
  • ARM: Introduced the use of 4×4 simd_gemm tiles in ARM NEON and optimizations for SpacemiT.

How to Get It

To clone the repository and build it, follow these steps:

git clone https://github.com/ggml-org/whisper.cpp.git
cd whisper.cpp

To install pre-built binaries using Conan, use the following command:

conan install --requires="whisper-cpp/[*]" --build=missing

Related Articles

What to Read Next

Sources