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.

436 B
Raw Blame
flowchart LR
    T1["token 1"] --> S["one state<br/>96 x 128 x 128"]
    T2["token 1000"] --> S
    T3["token 100000"] --> S
    S --> SZ["626.25 MB<br/>always"]
    style T1 fill:#E4ECF3,stroke:#5C7C9B,color:#3B372F
    style T2 fill:#F2E9D4,stroke:#C0913E,color:#3B372F
    style T3 fill:#F4E7D3,stroke:#C07A42,color:#3B372F
    style S fill:#EAE4F1,stroke:#7E6E9C,color:#3B372F
    style SZ fill:#E7ECDD,stroke:#6E9160,color:#3B372F