IBM's ibm-granite/granite-speech-4.1-2b
ported to transcribe.cpp. An audio-LLM with the same architecture as
4.0-1b (Conformer encoder with block-local Shaw attention, BLIP-2 Q-Former
projector, Granite-4.0-1b-base autoregressive LLM decoder) and improved
punctuation/casing over 4.0-1b.
Offline multilingual speech-to-text covering English plus French, German, Spanish, Portuguese, and Japanese. Takes a 16 kHz mono WAV and produces a transcript.
Translation pairs: English ↔ French, English ↔ German, English ↔ Spanish,
English ↔ Portuguese, English ↔ Japanese, plus English-to-Italian and
English-to-Mandarin. Always via English — there is no direct fr↔de, fr↔es,
etc. Pass the target language as a BCP-47 code via --translate --target-language <code>; the source language is inferred from the audio.
See IBM's model card for training data, intended use, and upstream evaluation methodology.
Licensed Apache-2.0. Ported from upstream commit
8f4bb5f,
pinned 2026-05-17.
| Quantization | Download | Size | WER (LibriSpeech test-clean) |
|---|---|---|---|
| BF16 | granite-speech-4.1-2b-BF16.gguf | 4.63 GB | 1.31% |
| F16 | granite-speech-4.1-2b-F16.gguf | 4.63 GB | 1.32% |
| Q8_0 | granite-speech-4.1-2b-Q8_0.gguf | 2.56 GB | 1.32% |
| Q6_K | granite-speech-4.1-2b-Q6_K.gguf | 2.02 GB | 1.29% |
| Q5_K_M | granite-speech-4.1-2b-Q5_K_M.gguf | 1.83 GB | 1.33% |
| Q4_K_M | granite-speech-4.1-2b-Q4_K_M.gguf | 1.60 GB | 1.37% |
WER measured on the full LibriSpeech test-clean split (2620 utterances) with
greedy decoding and the model-card prompt transcribe the speech with proper punctuation and capitalization.. BF16 reference baseline (transformers,
re-run locally with that prompt): 1.31% — 0.02pp below upstream's published
1.33%, within bootstrap CI overlap. Text normalizer: Whisper
EnglishTextNormalizer, the same normalizer Open ASR Leaderboard uses.
cmake -B build
cmake --build build
build/bin/transcribe-cli \
-m models/granite-speech-4.1-2b/granite-speech-4.1-2b-Q8_0.gguf \
samples/jfk.wavIf your audio is not already 16 kHz mono WAV, convert it first:
ffmpeg -i input.mp3 -ar 16000 -ac 1 output.wavTranslation:
build/bin/transcribe-cli \
-m models/granite-speech-4.1-2b/granite-speech-4.1-2b-Q8_0.gguf \
--translate --target-language de \
samples/jfk.wavCells are wall-clock latency, with speedup over realtime in parentheses.
Mean over 3 iterations after 1 warmup.
Metal
| Sample | Q4_K_M | Q8_0 |
|---|---|---|
| jfk (11.0s) | 272 ms (40×) | 303 ms (36×) |
| dots (35.3s) | 1.00 s (35×) | 1.16 s (30×) |
CPU
| Sample | Q4_K_M | Q8_0 |
|---|---|---|
| jfk (11.0s) | 1.67 s (6.6×) | 1.85 s (5.9×) |
| dots (35.3s) | 5.49 s (6.4×) | 6.22 s (5.7×) |
macOS 26.4, transcribe.cpp de05c43.
Mean over 5 iterations after 2 warmups. Q8_0.
| Backend | Sample | Q8_0 |
|---|---|---|
| Metal | jfk (11.0s) | 954 ms (12×) |
| CPU | jfk (11.0s) | 2.45 s (4×) |
macOS 26.1, transcribe.cpp 275332d.
Mean over 3 iterations after 1 warmup.
Vulkan (RADV)
| Sample | Q4_K_M | Q8_0 |
|---|---|---|
| jfk (11.0s) | 3.58 s (3.1×) | 3.84 s (2.9×) |
| dots (35.3s) | 11.79 s (3.0×) | 13.08 s (2.7×) |
CPU
| Sample | Q4_K_M | Q8_0 |
|---|---|---|
| jfk (11.0s) | 5.58 s (2.0×) | 7.19 s (1.5×) |
| dots (35.3s) | 19.49 s (1.8×) | 25.50 s (1.4×) |
Linux 6.18 (Fedora 43), transcribe.cpp dbe5814.
| Capability | Status |
|---|---|
| Transcribe (English) | Yes |
| Transcribe (fr/de/es/pt/ja) | Yes |
| Translate (en↔ASR, en→it/zh) | Yes (--translate --target-language <bcp47>) |
| Word-level timestamps | No (use the -plus variant) |
| Keyword biasing | No (upstream supports via prompt; not exposed in v1 of transcribe.cpp) |
Tensor-level parity with the transformers reference on samples/jfk.wav.
Per-tensor max_abs / mean_abs budgets in
tests/tolerances/granite.json.
uv run --project scripts/envs/granite \
scripts/convert-granite.py ibm-granite/granite-speech-4.1-2b \
--repo-id ibm-granite/granite-speech-4.1-2bfor PRESET in F16 Q8_0 Q6_K Q5_K_M Q4_K_M; do
build/bin/transcribe-quantize \
models/granite-speech-4.1-2b/granite-speech-4.1-2b-BF16.gguf \
models/granite-speech-4.1-2b/granite-speech-4.1-2b-${PRESET}.gguf \
--quant ${PRESET}
doneuv run scripts/validate.py all --family granite --variant granite-speech-4.1-2buv run scripts/wer/run.py \
--model models/granite-speech-4.1-2b/granite-speech-4.1-2b-BF16.gguf \
--manifest samples/wer/test-clean.manifest.jsonl \
--out reports/wer/granite-speech-4.1-2b-BF16.test-clean.jsonl
uv run scripts/wer/score.py reports/wer/granite-speech-4.1-2b-BF16.test-clean.jsonl