AIAny
AI Infra2026
Icon for item

kimi-k3-in-c

Runs Kimi K3 inference on CPU by streaming model weights from storage instead of keeping them all in RAM. The project reports 8.24 GB peak memory, with substantially slower token generation at low-memory settings.

Introduction

A model’s parameter count does not have to equal its RAM requirement. This project demonstrates why: Kimi K3 routes each token through only a small subset of its experts, and the engine streams the dense trunk layer by layer. Its reported 8.24 GB peak memory is a real engineering result, but not a promise of laptop-speed inference: the reference measurements used a high-core-count workstation and fast NVMe storage.

What Sets It Apart
  • It exploits sparsity without shrinking the model. Only 16 of 896 routed experts are selected per MoE layer, so unused experts can stay on disk. The checkpoint remains about 1.56 TB; the approach changes where weights reside, not which weights the model uses.
  • It streams the always-used trunk too. A packed file lets the engine keep a configurable prefix of layers in memory and cycle the rest through a buffer. This turns memory into a speed-versus-capacity dial rather than a fixed minimum.
  • It prioritizes reproducible output. Custom C kernels avoid BLAS and preserve a fixed arithmetic order; the project reports matching output across memory budgets and tests against PyTorch references. That makes the memory trade-off easier to evaluate without conflating it with a model change.
  • Storage is the limiting resource. At the smallest budget, each token can require more than 100 GB of model reads and take tens of seconds. Fast local storage and ample disk space matter more than the small executable might suggest.
Who It’s For

Great fit if you want to study MoE inference, CPU-only execution, weight streaming, or exactness-preserving memory trade-offs. Look elsewhere if you need interactive throughput, a packaged chat application, or a lightweight download: the released checkpoint is enormous, low-memory generation is slow, and the project is an inference engine rather than a hosted service. The 8 GB figure was measured under a memory limit on a 124-core workstation, not established by testing an ordinary 8 GB laptop.

Information

  • Websitegithub.com
  • AuthorsFareed Khan
  • Published date2026/08/01

Categories

More Items

GitHub
AI Infra2026

Adds keyless model channels to DeepSeek Harness and brings multiple providers into one model picker and local compatible gateway. Availability is checked dynamically; free quotas, regional access, and data handling remain controlled by upstream services.

GitHub
AI Infra2026

Connects coding agents to one local model gateway, making providers and subscriptions available across agents and routing requests to another account or model when quotas run out.

GitHub
AI Agent2026

Lets AI agents read and operate real phones through a shared set of controls for tapping, typing, scrolling, and screenshots. Supports personal iPhones, Android devices, and hosted cloud phones, with different connection and screen-reading methods for each.