MiMo-V2.5 β€” colibri/peng int4 container

βœ… Re-validated (2026-07-20): The capital of France is β†’ Paris. (greedy), per-rank guard verify_mimo_qkv.py PASS 5/5 layers, all ranks against the official FP8 checkpoint, and teacher-forcing perplexity prose 9.97 / code 2.07 (code axis = exact match with the peng repo reference, Β§40).

⚠️ Integrity notice (2026-07-16 incident, repaired 2026-07-20): the original upload (2026-07-11) shipped the qkv_proj of all 48 layers with TP ranks 1..3 corrupted (the per-rank fp8 scale grid was applied flat; rank 0 intact) β€” the model produced plausible-looking but broken output and the original one-prompt validation did not catch it. Shard out-00001.safetensors was re-converted and re-uploaded on 2026-07-20 (commit cb41912). If you downloaded the container before that date, you only need to re-download that single shard (12.6 GB) and verify with python3 c/tools/verify_mimo_qkv.py --int4 <container> --fp8 <fp8_src>. The zstd variant (-int4-zstd) is pending a repack from this repaired container β€” do not use it for quality work until further notice.

Quantized container of MiMo-V2.5 (311B MoE, 15B active) for peng, the port of colibri's expert-streaming technology (colibri) to the mimo_v2 architecture. It runs the model on a consumer machine (~32 GB RAM) by reading experts on demand from NVMe.

Format

  • Routed experts (47 layers Γ— 256): packed int4, per-row f32 scales (.qs)
  • Resident dense (fused attention qkv, o_proj, layer-0 MLP): int8
  • Embeddings and lm_head: f32
  • Norms, router and sink bias: f32
  • Source: official FP8 checkpoint (128Γ—128 blocks, per-rank scale grid), o_proj bf16, exact dequant
  • Total size β‰ˆ 152 GB (16 out-*.safetensors shards)

Usage

git clone https://github.com/FiveTechSoft/peng-mimo && cd peng-mimo/c
make mimo
SNAP=/path/to/this/repo ./mimo 64 4 8        # validation
# interactive chat: see the peng repo README

Engine: pure C, zero runtime dependencies, AVX2 (+ optional CUDA backend). Validated token-exact against transformers on a tiny oracle (TF 32/32) and a 396M fixture (TF 20/20); the container is verified identical to runtime quantization.

Measured performance (Xeon W-2140B 8c/16t, 32 GB RAM, NVMe 2.75 GB/s, WSL2, RTX 3060)

  • Load: ~35 s Β· resident dense 4.8–9.2 GB (depends on CUDA_DENSE) Β· peak RSS ~17.5 GB
  • Cold decode: ~0.3–0.5 tok/s (cold expert cache)
  • Warm decode: 0.60–0.89 tok/s (TAO=1 SPEED=1, COLI_CUDA=1 CUDA_DENSE=1 CUDA_ATTN=1, expert hit-rate ~75–80%; session median ~0.75, WSL2 host drift)
  • After replacing shards: delete .coli_usage/.coli_traj/.coli_pathpack β€” an expert cache learned on other weights routes worse until it re-warms

Credits and licenses

  • peng/colibri engine: Apache 2.0 β€” colibri is by JustVugg; peng is a community derivative
  • MiMo-V2.5 weights: Β© Xiaomi, under the license of the original repo XiaomiMiMo/MiMo-V2.5
  • FP8β†’int4 conversion: tools/convert_fp8_to_int4.py --arch mimo from the peng repo
Downloads last month
327
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for fivetech/MiMo-V2.5-colibri-peng-int4

Quantized
(29)
this model