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: avoid em dashes in the invariants note
FareedKhan-devb07f16146164
diff --git a/README.md b/README.mdindex 2ce6061..d166677 100644--- a/README.md+++ b/README.md@@ -775,8 +775,8 @@ so that getting it wrong changes the output: `A_log` by a linspace that a per-chmisindex scrambles, NoPE by asserting the softmax scale is over the full head width, andthe routing bias by a fixture whose bias reorders the top-k on five of its six rows.-This list used to have five entries. The other two — that the UT-transform inverse is-`(I + Akk)^-1`, and that `Aqk` keeps its diagonal while `Akk` does not — describe the+This list used to have five entries. The other two, that the UT-transform inverse is+`(I + Akk)^-1` and that `Aqk` keeps its diagonal while `Akk` does not, describe thechunked parallel form of the delta rule. This engine does not use it. `k3_kda_step` runsthe naive sequential recurrence one position at a time, and so does the PyTorch referenceit is checked against, so neither matrix is ever formed. They were claims about an