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.
C avx2c99cpu-inferencedeep-learningfrom-scratchinference-enginekimi-k3linear-attentionllmllm-inferencemachine-learningmemory-efficientmixture-of-expertsmoemxfp4quantizationsimdsystems-programmingtransformerzero-dependencies
flowchart LR
L["laptop<br/>8 GB"] --> D2["desktop<br/>32 GB"]
D2 --> W["workstation<br/>96 GB"]
W --> S["our box<br/>228 GB"]
L -.->|"same 8 tokens"| OUT["identical ids<br/>17374 20829 10 427"]
S -.-> OUT
style L fill:#F5E2DB,stroke:#B75845,color:#3B372F
style D2 fill:#F4E7D3,stroke:#C07A42,color:#3B372F
style W fill:#F2E9D4,stroke:#C0913E,color:#3B372F
style S fill:#E4ECF3,stroke:#5C7C9B,color:#3B372F
style OUT fill:#E7ECDD,stroke:#6E9160,color:#3B372F