Skip to content

gigaam: stream GigaAM-Multilingual-v2 (Zapformer, language conditioning) #312

Backlog

Description

@shaba

Status: the offline port landed upstream in #311 (language conditioning,
quantization, decoding, WER tooling). What remains is streaming for this
checkpoint: wire the language-conditioned encoder into the stream hooks,
select the language slot for the stream, and add golden parity at 160, 320
and 640 ms.

Problem

ai-sage/GigaAM-Multilingual-v2 is a Zapformer checkpoint with the same
stateful streaming config as v4, but the port does not cover it: it adds
language conditioning and multiple heads on top of the encoder shape the
family currently implements.

Evidence

  • config.json (public model repo, last modified 2026-11-27): encoder
    gigaam.encoder.ZapformerEncoder, downsampling_factor: 1,2,1,
    encoder_dim: 1024,1280,1024, num_encoder_layers: 7,12,6,
    chunk_size: [-1,4,8,16], window_size: [[-1,-1],[32,0],[32,0],[32,0]],
    streaming.contexts: [{160,32},{320,32},{640,32}].
  • language_conditioning: embedding_dim 128, FiLM enabled every 4 layers,
    language tags (ru, en, kk, ky, uz, ...).
  • heads/decodings describe more than the single e2e head the v4 port
    consumes.
  • The shipped modeling_gigaam.py has LanguageFiLM/LanguageEmbedding
    and the same GigaAMStreaming as v4.

Work items

  1. Converter: read the multilingual-v2 snapshot, config, tokenizers, heads
    and language-conditioning tensors; write the GGUF, including the
    streaming config.
  2. Loader/hparams: language conditioning (embedding table, FiLM placement
    and widths), head/decoding selection, languages.
  3. Runtime: select the language vector (hint vs auto), apply FiLM in the
    encoder, wire the heads; offline transcript parity with the reference.
  4. Streaming: reuse the v4 streaming graph and hooks; golden parity at
    160/320/640 ms.
  5. Tests: converter, loader, offline and streaming real-model smokes.

Notes

Activity

  1. changed the title [-]gigaam: port GigaAM-Multilingual-v2 (Zapformer, language conditioning, streaming)[/-] [+]gigaam: stream GigaAM-Multilingual-v2 (Zapformer, language conditioning)[/+] on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions