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.

616 B
Raw Blame
flowchart LR
    RUN["one real run"] --> TR["expert_trace.bin<br/>100,096 requests"]
    TR --> SIM["replay at every<br/>cache size"]
    SIM --> LRU["LRU: what we do"]
    SIM --> BEL["Belady: the ceiling"]
    LRU --> GAP["25.5 points apart<br/>at the same RAM"]
    BEL --> GAP
    style RUN fill:#ECE8E0,stroke:#8C8477,color:#3B372F
    style TR fill:#E4ECF3,stroke:#5C7C9B,color:#3B372F
    style SIM fill:#EAE4F1,stroke:#7E6E9C,color:#3B372F
    style LRU fill:#F2E9D4,stroke:#C0913E,color:#3B372F
    style BEL fill:#E7ECDD,stroke:#6E9160,color:#3B372F
    style GAP fill:#F5E2DB,stroke:#B75845,color:#3B372F