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.

604 B
Raw Blame
flowchart LR
    ID["token ids"] --> EM["embed rows"]
    EM --> LOOP["93 layers<br/>bind, run, prefetch next"]
    LOOP --> AGG["model aggregator<br/>over all snapshots"]
    AGG --> NR["final RMSNorm<br/>last position only"]
    NR --> LG["lm_head<br/>163,840 logits"]
    style ID fill:#ECE8E0,stroke:#8C8477,color:#3B372F
    style EM fill:#E4ECF3,stroke:#5C7C9B,color:#3B372F
    style LOOP fill:#F2E9D4,stroke:#C0913E,color:#3B372F
    style AGG fill:#EAE4F1,stroke:#7E6E9C,color:#3B372F
    style NR fill:#F4E7D3,stroke:#C07A42,color:#3B372F
    style LG fill:#E7ECDD,stroke:#6E9160,color:#3B372F