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.

500 B
Raw Blame
flowchart LR
    S["shard N"] --> Q{"layer bytes<br/>contiguous?"}
    Q -->|"no"| STOP["refuse<br/>would copy experts"]
    Q -->|"yes"| CP["one range copy<br/>pad to 4096"]
    CP --> TB["trunk.bin<br/>108.81 GB, 93 runs"]
    style S fill:#ECE8E0,stroke:#8C8477,color:#3B372F
    style Q fill:#EAE4F1,stroke:#7E6E9C,color:#3B372F
    style STOP fill:#F5E2DB,stroke:#B75845,color:#3B372F
    style CP fill:#E4ECF3,stroke:#5C7C9B,color:#3B372F
    style TB fill:#E7ECDD,stroke:#6E9160,color:#3B372F