RepositoryC
JustVugg

JustVugg/colibri

A hierarchical inference engine for frontier MoE models: hot experts on the GPU (CUDA, Vulkan), warm ones in RAM, cold ones streamed from NVMe. Written in C, runs on the hardware you already own.

54.3kstars
6.6kforks
56issues
23views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

9
TINIX TRENDING

#9 Repository Của Tuần

7
TINIX TRENDING

#7 Repository Của Tuần

5
TINIX TRENDING

#5 Repository Của Tuần

🐦 Tiny engine, immense model

Run 744B MoE on consumer hardware.

colibrì single-file C engine. Runs GLM-5.2 744B MoE on consumer machine with ~25 GB RAM. Dense parameters stay resident, experts streamed from disk.

✨ Highlights

  • Faithful GLM-5.2 forward: validated token-exact against transformers oracle.
  • MLA attention: compressed KV-cache uses 576 floats/token, 57× smaller.
  • Sigmoid router: DeepSeek-V3-style noaux_tc with routed scaling.
  • MTP speculative decoding: achieves 2.0 tokens/forward, lossless.
  • Integer-dot kernels: AVX2 maddubs speed int8 matmuls 1.4–2.5×.
  • Async expert readahead: reads next experts while multiplying current.

💡 Why it matters

Runs large MoE on CPU without GPU. Disk streaming makes 744B model feasible on cheap hardware. Ideal for research, prototyping, edge deployment.


#OpenSource #C #MoE #TiniX