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
docs: say how much free memory a preset needs, not only its peak RSS
Fareed Khane5dc42f44413
diff --git a/README.md b/README.mdindex b682b36..f7488f2 100644--- a/README.md+++ b/README.md@@ -599,6 +599,9 @@ Two things worth knowing before you pick:- **`max` is not faster than `server`** in these measurements. The extra 96 GB buys nothingoutside the noise floor.+- **A preset needs a little more free memory than its peak RSS.** The engine refuses any+ plan above 95% of available memory, to leave room for everything outside the plan, so+ `server` at about 128 GB needs roughly 135 GB available, not 128.- **Give the trunk memory before the expert cache.** At a fixed 128 GB budget that wasworth 1.69×. [Allocation beats capacity](#allocation-beats-capacity) has the data.