Skip to content

A 2.78-trillion-parameter Kimi K3 running inference on a single CPU in 8.24 GB of RAM. Portable C99: no BLAS, no framework, no GPU.

647 B
Raw Blame
flowchart LR
    HF["1.56 TB checkpoint<br/>96 shards"] --> PK["pack the trunk<br/>108.81 GB"]
    PK --> ENG["./bin/k3<br/>a 176 KB binary"]
    ENG --> MEM["8.24 GB<br/>peak RSS"]
    MEM --> OUT["Paris.<br/>the right answer"]
    ENG -.->|"1.45 TB of experts<br/>stay on disk"| D["streamed,<br/>never resident"]
    style HF fill:#ECE8E0,stroke:#8C8477,color:#3B372F
    style PK fill:#E4ECF3,stroke:#5C7C9B,color:#3B372F
    style ENG fill:#F2E9D4,stroke:#C0913E,color:#3B372F
    style MEM fill:#EAE4F1,stroke:#7E6E9C,color:#3B372F
    style OUT fill:#E7ECDD,stroke:#6E9160,color:#3B372F
    style D fill:#DDEBE7,stroke:#4E8E86,color:#3B372F