Repository navigation
Add GigaAM Multilingual-v2 E2E RNN-T support - #311
Merged
cjpais merged 7 commits intoDec 4, 2026
Merged
Conversation
- quantize: keep lang.embed.weight F32. The loader reads it through an F32-only slot, so every quantized GGUF failed to load; a policy unit test pins the F32-only lookup tables for every preset. - RNN-T emissions per frame come from stt.gigaam.rnnt.max_symbols (the checkpoint's max_symbols_per_step) instead of a guess from the language list; GGUFs without the KV keep 10. - 'auto' is accepted as the default language slot, like sensevoice. - Restore three comments mangled by a Windows code page round trip. - Tolerances cover macOS arm64 drift as well as Windows x64. - The WER reference runner takes Multilingual-v2 and a language slot.
Record seeded from the intake and the published GGUFs. The intake now carries the model card's WER as context; the card names no dataset.
The joint's output projection is a [n_classes, 320] matrix scored once per frame. Without BLAS (the default off Apple) each dot product was one running sum the compiler may not vectorize, so Multilingual-v2's 4027-class joint made decode about as slow as encode on a Ryzen 4750U (3.0 s for the 35 s dots sample, CPU Q8_0). Dot products now keep eight partial sums, and the speculative span scores each class row against four frames per load. dots decode: Multilingual-v2 3.0 s -> 0.74 s, v4 0.80 s -> 0.27 s, v3 e2e-rnnt 0.69 s -> 0.21 s. Transcripts and token counts are identical to the previous build on 75 runs across v3 (CTC and RNN-T), v4 and Multilingual-v2 F32/Q8_0/Q4_K_M. The BLAS path is unchanged.
Catalog record with every asr-publication-v2 accuracy and speed cell at d704775 (L40S WER; M4 Max, Ryzen 4750U and M1 speed), the model page, the family doc section with the capability table and the reference WER gate, the HF card spec, and the rendered roll-ups.
No semicolons or dashes in the model page, family doc section, HF card, porting log and catalog notes.
Model page gets a What it's for section and a Languages section like the other multilingual pages; the HF summary and WER note follow the Parakeet and Nemotron cards.
shaba
added a commit
to shaba/transcribe.cpp
that referenced
this pull request
Dec 4, 2026
The Multilingual-v2 merge (handy-computer#311) validates the Zapformer frontend dimensions before the streaming block, so a zero-subsampling fixture no longer reaches the streaming check; drop it. Also fix a leftover loop header from merging the mutant table.
This was referenced Dec 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Offline support for GigaAM Multilingual-v2 E2E RNN-T, model supports 21 languages language hint like --language kk/hy is optional
Scope
Extended the GigaAM runtime and GGUF converter, building on #285. Added reference comparisons and smoke tests. Credit to @ai-babai for the C++ prototype and @kalpakprod for the converter patch
AI Assistance
I ran the prototype on Windows. Codex helped me adapt the C++ runtime and GGUF converter, add tests, and validate the port.
Validation
Three Kazakh clips matched PyTorch exactly with and without --language kk. All words matched the references on three Armenian clips, with punctuation differences on two. All 18 tensor comparisons passed across the Russian and English samples
Closes #302