Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Models

rivoli targets large mixture-of-experts models. Supporting a model means an artifact converter, a per-architecture decode loop, and first-party reference goldens that the loop is scored against. Which models belong to which code path is data in a checked census table, not something encoded in code names.

At a glance

modelparams1experts2attentionformatstok/s3Intelligence Index1
GLM-5.2753B / 40B256 (8)MLA4VQ3, INT453.06N/A7
DeepSeek-V4-flash284B / 13B256+1 (6)MQA, SWA + blocks8FP49.29N/A7
Kimi-K32.8T / 104B896+2 (16)KDA + MLA10MXFP411—121713
Muse Glimmer30B dense—GQA, SWA14BF16, FP815—16617
Inkling 2 Mini26B / 5.4B128 (8)SWA + full, sinks18BF161911.7 / 2.32020
Inkling 2 Small594B / 17B384 (8)SWA + full, sinks18MXFP811—1231
Qwen3.8-Flash-Next180B / 6B512+1 (10)GDN + sparse21FP815—1228

Pipeline and verification

modelconvertdecodeservePPL22vs. referencesmokeopen
GLM-5.2✓✓✓✓32/32 ids12/12stale-read defect23
DeepSeek-V4-flash✓✓✓24—30/32 ids253/3NLL-by-position gate
Kimi-K3✓✓26✗27—KDA 2.3e-728—context alloc. vs. floor29
Muse Glimmer✓✓✓✓goldens 3/3halves30drafter31
Inkling 2 Mini✓✓✓✓8/8 ids16/16—
Inkling 2 Small✓pending——logits 1.5e-5326/633live GPU decode
Qwen3.8-Flash-Next✓✗✗—anchors vendored—decode arm (S6–S8)

✓ built and passing · ✗ refused at startup with the reason · — not built or not measured. “ids” means greedy token ids identical to the first-party reference on the pinned prompt. Every model runs text only: multi-token-prediction heads and vision towers are refused or left out of the artifact. The repository’s docs/ hold the evidence for every row; see the docs index.


  1. Parameter counts (total / active per token) and Intelligence Index scores as published by Artificial Analysis on its v5.0.2 index, read on 2026-11-25. Scores from earlier index versions are on a different scale and are not mixed in. ↩ ↩2

  2. Routed experts per MoE layer (+ shared experts), with the number active per token in parentheses. From the model configs in the repository. ↩

  3. Decode tokens per second, release build, measured under the GPU lock with an empty contention witness. Test machine: AMD Ryzen AI Max+ 395 (Radeon 8060S, ROCm), 128 GB unified LPDDR5, artifacts on a local Samsung 9100 PRO 1 TB (PCIe 5.0) NVMe with btrfs. Numbers move with the memory budget (--max-mem) and the prompt; each footnote names its arm. ↩

  4. Multi-head latent attention. ↩

  5. VQ3: 3-bit vector (codebook) quantization. INT4: 4-bit integer. ↩

  6. 3.03 tok/s, mean of three arms, 512 tokens, --max-mem 115, 3-bit VQ, 2026-11-20. About 2.1 GB of expert slots streamed per token. ↩

  7. Deprecated on Artificial Analysis, with no score on the v5 index. ↩ ↩2

  8. Multi-query attention with a shared K=V head; a 128-token sliding window plus compressed blocks chosen by an indexer. ↩

  9. 9.17 tok/s, 512 tokens, --max-mem 100, 2026-08-16. Its prompt was not recorded, so the arm has not been reproduced. ↩

  10. Hybrid: 69 Kimi Delta Attention (linear) layers and 24 gated MLA layers. ↩

  11. OCP microscaling formats: 4- or 8-bit floats sharing one scale per 32-element block. Kimi-K3’s MXFP4 is repacked bit-exact. ↩ ↩2

  12. No witnessed decode speed yet. ↩ ↩2 ↩3

  13. Low reasoning effort; the max-effort score is not listed. ↩

  14. Grouped-query attention (32 query, 2 KV heads); three sliding-window layers (2048 tokens) per full-attention layer. ↩

  15. FP8 e4m3 with one scale per 128-element block. ↩ ↩2

  16. A bf16 figure from 2026-08-16 (2.56 tok/s) is superseded; the re-take is owed. ↩

  17. High reasoning effort. ↩

  18. Sliding-window and full-attention layers, with attention sinks. ↩ ↩2

  19. Converted to bf16 from the checkpoint’s NVFP4/MXFP8 weights. ↩

  20. 11.7 tok/s with all 24 layers resident (90 GiB budget); 2.3 tok/s at a 20 GiB budget, streaming 16 of 24 layers. 64 tokens, 2026-11-25. Both arms produced identical token ids. ↩

  21. Hybrid: 36 Gated DeltaNet (linear) layers and 12 indexed sparse-attention layers. ↩

  22. Teacher-forced perplexity scoring, the producer for paired per-token NLL comparisons. ↩

  23. Under some timing, a GPU read of memory the NVMe has just written can return stale data, so long stock runs have not always reproduced their own output. --copy-via-cpu is a validated fix candidate; --arena-refresh is a lighter mitigation. ↩

  24. Uses GLM’s chat framing, a known gap. ↩

  25. Both differing positions are near-ties between the top two tokens. ↩

  26. Correctness only so far: a first 16-token decode, coherent. ↩

  27. No chat encoding yet. ↩

  28. Linear-attention (KDA) layer outputs match the reference captures to 2.3e-7. ↩

  29. At --ctx 4096 an allocation that grows with context is not yet charged to the memory floor, so the run can fail after the pin is placed. ↩

  30. Covered by the device-halves gate rather than an end-to-end smoke script. ↩

  31. The DFlash speculative drafter has a converter and an oracle so far. ↩

  32. MXFP8 logits within 1.5e-5 (relative) of the bf16 reference. ↩

  33. Deviceless cells only. ↩