Skip to content

deps: whisper.cpp 1.9.5 - #87

Merged
rubas-agent[bot] merged 3 commits into
mainfrom
whisper-cpp-1.9.5
Nov 12, 2026
Merged

rubas-agent[bot] merged 3 commits into
mainfrom
whisper-cpp-1.9.5

Conversation

@rubas-agent

@rubas-agent rubas-agent Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Before

The NIF builds whisper.cpp v1.9.4 from the vendor/whisper-rs-0.16.0-patched branch of this repo. ggml-org/whisper.cpp released v1.9.5 on 2026-10-06.

Problem

v1.9.4 ignores the abort callback during the language auto-detection, and it reads out of bounds on a model file with an invalid tensor type or a VAD model with an encoder layer count other than 4. transcribe/3 and load_model/2 reach all three.

After

The vendor branch carries whisper.cpp v1.9.5 (ggml 0.26.0), and both [patch.crates-io] entries point at that commit.

Vendor commit, a fast-forward that keeps the old rev reachable: 9a4232f...1f3c84e

Before After
whisper.cpp v1.9.4 (927cfce3) v1.9.5 (d1be6fde)
ggml 0.23.0 0.26.0
Vendor rev 9a4232f 1f3c84e
whisper-rs / whisper-rs-sys patched 0.16.0 / 0.15.0 the same, kept (issue #26)
What we read, what we took, and the checks

The vendor commit moves the sys/whisper.cpp submodule to v1.9.5 and regenerates sys/src/bindings.rs, the fallback for a failed bindgen run, with bindgen 0.72.1 and libclang 23. whisper.h did not change. ggml adds GGML_PREC_* values and four functions that the NIF does not call. sys/build.rs needs no change.

Upstream changes in src/ and include/ that reach the NIF:

The rest of v1.9.5 is ggml backend work (CUDA, Vulkan, Metal, SYCL, WebGPU). The CPU baseline flags are the same: Adding CPU backend variant ggml-cpu: -msse4.2;-mf16c;-mfma;-mbmi2;-mavx;-mavx2.

Skipped: no refactor applies. The NIF never calls the language-detection API directly, and whisper-rs gets no new API.

Upstream whisper-rs is still at 0.16.0 of 2026-03-12, with #277, #278, and #271 open, so issue #26 stays open.

Only the CPU variant was built locally. The CUDA, HIP, and Metal builds at v1.9.5 run in the release matrix, which is their gate.

Checks with WHISPER_CPP_BUILD=1 and GGML_NATIVE=OFF, against the pushed vendor rev: task check (format, compile, Credo, Clippy, 62 Elixir tests, 33 Rust tests, zizmor) and task test:integration (86 tests with real inference on ggml-tiny.en and ggml-tiny) pass.

@rubas-agent
rubas-agent Bot merged commit 1462bbf into main Nov 12, 2026
1 check passed
@rubas-agent
rubas-agent Bot deleted the whisper-cpp-1.9.5 branch November 12, 2026 15:06
@rubas-agent rubas-agent Bot mentioned this pull request Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant