GigaAM-v4 (RNN-T and CTC) — GGUF for audio.cpp
ai-sage/GigaAM-v4 (Russian and English speech recognition, MIT) packaged for audio.cpp, family gigaam_asr. C++ on ggml: no Python, no PyTorch, no cuDNN. Offline and streaming, with word timestamps; on CPU it runs about 100× faster than real time on a server and keeps up with live speech on a single core.
Quick start
hf download amx-community/GigaAM-v4-GGUF gigaam-v4-rnnt-q8_0.gguf --local-dir .
# a file
audiocpp_cli --task asr --family gigaam_asr --model gigaam-v4-rnnt-q8_0.gguf \
--backend cpu --threads 8 --audio speech.wav --text-out out.txt
# live: text and word timestamps while you speak (PCM from stdin with --audio -)
audiocpp_cli --task asr --family gigaam_asr --mode streaming --model gigaam-v4-rnnt-q8_0.gguf \
--session-option gigaam_asr.future_context_ms=320 --request-option return_timestamps=true \
--backend cpu --threads 4 --audio speech.wav
Each file holds two heads: e2e (punctuation and capitalization, the default) and raw (lowercase, no punctuation): --session-option gigaam_asr.head=raw. Any sample rate and channel count is accepted. audiocpp_server serves the same model over the OpenAI-style /v1/audio/transcriptions route; see the model docs.
Which file
| File | What | Use it for |
|---|---|---|
gigaam-v4-rnnt-q8_0.gguf |
RNN-T; encoder matrices Q8_0, the rest as stored | the default: half the size, 0.3–0.5 % of words differ from F16 |
gigaam-v4-rnnt-f16.gguf |
RNN-T; encoder F16 as stored, heads F32 | byte-identical transcripts to the PyTorch reference |
gigaam-v4-ctc-q8_0.gguf, gigaam-v4-ctc-f16.gguf |
the ctc revision |
the CTC head (amx-community build, see below) |
gigaam-v4-vad.gguf |
GigaAM's own long-form VAD (vad.safetensors of the rnnt revision) |
splitting long audio exactly as transcribe_longform (amx-community build) |
What runs where
| Feature | upstream audio.cpp main |
amx-community/audio.cpp (branch amx) |
|---|---|---|
| RNN-T files, offline | yes | yes |
Streaming 160 / 320 / 640 ms, word timestamps, end of phrase by VAD (endpoint_silence_ms) |
yes (since #1473) | yes |
| CTC files, both heads in one pass, word confidence, hotwords, GigaAM's VAD, beam search | — | yes |
| Intel AMX (Sapphire Rapids and newer) | — | on by itself when the CPU has it (×1.66 offline) |
The fork is upstream plus a short patch series, rebased regularly; its README lists every addition and how it was checked.
Backends:
- CPU: Intel Xeon with AVX-512 and AMX, AMD Ryzen with AVX2 (the quality numbers below).
- Metal: Apple M1,
gigaam-v4-rnnt-q8_0.gguf, amx-community build: streaming at 160 / 320 / 640 ms and offline give the same words as the x86 CPU (punctuation and case may differ in a few places); real-time factor 0.135 / 0.10 / 0.08 streaming and 0.05 offline. - CUDA: RTX 5060 Ti (CUDA 13.3, Linux), upstream
mainwith #1497: against the CPU backend of the same build, F16 streaming at 160 and 640 ms gives the same words on 13 of 13 clips, F16 offline differs in 1–3 words of ~1,090, Q8_0 offline in 4–5 (quantized matmul rounds differently on the GPU).
Quality
WER on the full FLEURS test sets, e2e head, Q8_0, Whisper's text normalizers as in transcribe.cpp's FLEURS scoring: Russian 4.36 %, English 4.92 % (with AMX: 4.34 / 4.86 %).
Against the checkpoint's own modeling_gigaam.py (PyTorch, CPU fp32), F16 files:
- offline: byte-identical transcripts for both revisions and both heads on 24 of 24 clips; on long audio 134 of 134 chunks of a 50-minute Russian talk and 260 of 262 chunks of a 97-minute podcast (the other two differ in punctuation);
- streaming: text byte-identical to
GigaAMStreamingon 48 of 48 runs (8 recordings, 160/320/640 ms, both heads), word timestamps equal to the sample on 24 of 24; CTC streaming 12 of 12; - GigaAM's VAD: segment boundaries equal to
transcribe_longformon 1244 of 1244 segments.
Speed
| Machine | Task | Time |
|---|---|---|
| Xeon Gold 5412U, 24 threads | 40 min English podcast, Q8_0, whole process with model load | 23.2 s upstream; 14.0 s with AMX (amx-community) |
| RTX 5060 Ti (CUDA), upstream | 10 min Russian, Q8_0, whole process | 4.6 s (16 s on 12 threads of an i7-10700K); the encoder takes 0.7 s, most of the rest is the token-by-token RNN-T decoder |
| AMD Ryzen 9 5950X, 14 threads (AVX2, no AMX) | 10 min Russian, Q8_0 / F16 | 10.1 s / 8.3 s |
| Xeon Gold 5412U, 1 thread | streaming, 160 ms chunks, Q8_0 + AMX | 25 ms per chunk (RTF 0.16) |
| one vCPU limited to 1 GB | streaming, 160 ms chunks, Q8_0 + AMX | keeps up with 5× headroom, peak RSS 0.31 GB |
From the end of a phrase to its full text: about 0.11 s with 160 and 320 ms chunks (4 threads, Q8_0 + AMX, 20 ms packets).
Other GigaAM files
- GigaAM-Multilingual-v2 (21 languages), GigaAM-v3 and GigaAM-Multilingual GGUFs for audio.cpp: audio-cpp/audio.cpp-gguf (folder
GigaAM-ASR-GGUF). - GigaAM-v4 for CrispASR (its own GGUF layout, one head per file): cstr/gigaam-v4-GGUF.
Files
| File | Size | sha256 |
|---|---|---|
gigaam-v4-rnnt-f16.gguf |
489,270,432 B | e1f68a83d47b28f9964c88706eaff9a5d8fd0725334acaae0b62b19285925a2c |
gigaam-v4-rnnt-q8_0.gguf |
270,912,032 B | 14ad051b9e61a732aca2b7de8466553a64a6d6749341f2440cc5afa59c4ebe53 |
gigaam-v4-ctc-f16.gguf |
475,256,896 B | 786375d9a6254d3d8fe538b39bb621874a7e109afd98bc2fae65e330d794c9a8 |
gigaam-v4-ctc-q8_0.gguf |
256,898,496 B | 29e3f9c28ada3da0e8309940f10bdf82e60c2af72d4c6fa92108408043e69ce8 |
gigaam-v4-vad.gguf |
5,391,456 B | 1519f2059627c2377c69d4634ce8a6f4d2779ed42ce85202a1ea7192db00dc8e |
Source revisions: rnnt 9fe3ebf50c9e0cce5eed60d546938632238b6a96, ctc 5b81216afa29c8b5a1a3e64c424c8416e18c1e5b. The encoder settings are stored as integer arrays in the embedded config (the format after #1434); GGUFs converted before #1440 do not load in current builds. Re-converted on 2026-11-30: the RNN-T tensors are byte-identical to the first upload, and the embedded model spec declares the streaming options.
How they were made
hf download ai-sage/GigaAM-v4 --revision rnnt --local-dir GigaAM-v4-rnnt
python tools/gguf/gigaam_asr_convert.py GigaAM-v4-rnnt gigaam-v4-rnnt-f16.gguf \
--staging-dir converted-f16 --converter build/bin/audiocpp_gguf
python tools/gguf/gigaam_asr_convert.py GigaAM-v4-rnnt gigaam-v4-rnnt-q8_0.gguf \
--staging-dir converted-q8_0 --converter build/bin/audiocpp_gguf --type q8_0
# the ctc revision the same way (--revision ctc), with the amx-community converter
python tools/gguf/gigaam_asr_convert.py GigaAM-v4-rnnt gigaam-v4-vad.gguf --vad \
--staging-dir converted-vad --converter build/bin/audiocpp_gguf
The converter uses NumPy and safetensors only; it does not run the checkpoint's model code.
License
MIT, as the original ai-sage/GigaAM-v4. Converted and published by amx-community; not affiliated with the GigaAM authors.