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: show contributors and star history in the README
Fareed Khanfd8bf5219fae
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.mdindex 3ae6cfb..f10f488 100644--- a/CONTRIBUTORS.md+++ b/CONTRIBUTORS.md@@ -1,11 +1,12 @@# ContributorsPeople outside the project who have landed real fixes or features in this codebase.-GitHub's own contributor graph misses a few of these: a handful of pull requests hit a-merge conflict against other work landing the same day and had to be rebased by hand-through a new pull request to get a clean CI run, which is why their code shows up in-the history under a different name than the one that wrote it. This file is the correct-record.++GitHub's contributor list is built from commit authors. Most of the pull requests below+were rebased and squash-merged by hand to clear conflicts with other work landing at the+same time, and those commits went in under the maintainer's name, so that list misses+most of the people here. This file is the correct record. Pull requests merged after+v1.1.0 are committed under their author's name.- **[douglasmun](https://github.com/douglasmun)** -- got the engine building andpassing the test suite on macOS / Apple Silicon.diff --git a/README.md b/README.mdindex 04f8555..64dc20d 100644--- a/README.md+++ b/README.md@@ -189,6 +189,8 @@ component at a time.- [Closing the ledger](#closing-the-ledger)- [Documentation](#documentation)- [Development](#development)+- [Contributors](#contributors)+- [Star history](#star-history)- [License](#license)---@@ -3499,6 +3501,48 @@ Fixtures are generated from the PyTorch reference and committed;adversarial and how to regenerate it. [`CONTRIBUTING.md`](CONTRIBUTING.md) is the place tostart.+## Contributors++The macOS, Windows and NEON ports, chat mode, the `ultra` preset, the faster MXFP4 kernels+and a long list of parser fixes all came from people outside the project.+[`CONTRIBUTORS.md`](CONTRIBUTORS.md) says who did what.++<p align="center">+<a href="https://github.com/douglasmun"><img src="https://avatars.githubusercontent.com/u/12515041?v=4&s=112" width="56" height="56" alt="douglasmun" title="douglasmun"></a>+<a href="https://github.com/cwwjacobs"><img src="https://avatars.githubusercontent.com/u/251295277?v=4&s=112" width="56" height="56" alt="cwwjacobs" title="cwwjacobs"></a>+<a href="https://github.com/mahavak"><img src="https://avatars.githubusercontent.com/u/38126162?v=4&s=112" width="56" height="56" alt="mahavak" title="mahavak"></a>+<a href="https://github.com/sulfierry"><img src="https://avatars.githubusercontent.com/u/22729945?v=4&s=112" width="56" height="56" alt="sulfierry" title="sulfierry"></a>+<a href="https://github.com/Barba2k2"><img src="https://avatars.githubusercontent.com/u/67913962?v=4&s=112" width="56" height="56" alt="Barba2k2" title="Barba2k2"></a>+<a href="https://github.com/ShaalanMarwan"><img src="https://avatars.githubusercontent.com/u/26276966?v=4&s=112" width="56" height="56" alt="ShaalanMarwan" title="ShaalanMarwan"></a>+<a href="https://github.com/TROY665"><img src="https://avatars.githubusercontent.com/u/84645104?v=4&s=112" width="56" height="56" alt="TROY665" title="TROY665"></a>+<a href="https://github.com/ysgao"><img src="https://avatars.githubusercontent.com/u/1692765?v=4&s=112" width="56" height="56" alt="ysgao" title="ysgao"></a>+<a href="https://github.com/openchat-ai"><img src="https://avatars.githubusercontent.com/u/274358245?v=4&s=112" width="56" height="56" alt="openchat-ai" title="openchat-ai"></a>+<a href="https://github.com/arafatsolok"><img src="https://avatars.githubusercontent.com/u/58647359?v=4&s=112" width="56" height="56" alt="arafatsolok" title="arafatsolok"></a>+<br>+<a href="https://github.com/genesisrevelationinc-debug"><img src="https://avatars.githubusercontent.com/u/243808510?v=4&s=112" width="56" height="56" alt="genesisrevelationinc-debug" title="genesisrevelationinc-debug"></a>+<a href="https://github.com/AuricTW"><img src="https://avatars.githubusercontent.com/u/108772778?v=4&s=112" width="56" height="56" alt="AuricTW" title="AuricTW"></a>+<a href="https://github.com/biokraft"><img src="https://avatars.githubusercontent.com/u/35855749?v=4&s=112" width="56" height="56" alt="biokraft" title="biokraft"></a>+<a href="https://github.com/cablepull"><img src="https://avatars.githubusercontent.com/u/135179737?v=4&s=112" width="56" height="56" alt="cablepull" title="cablepull"></a>+<a href="https://github.com/Avicennasis"><img src="https://avatars.githubusercontent.com/u/913872?v=4&s=112" width="56" height="56" alt="Avicennasis" title="Avicennasis"></a>+<a href="https://github.com/Deobot2"><img src="https://avatars.githubusercontent.com/u/131834087?v=4&s=112" width="56" height="56" alt="Deobot2" title="Deobot2"></a>+<a href="https://github.com/BlakeEvans22"><img src="https://avatars.githubusercontent.com/u/32441662?v=4&s=112" width="56" height="56" alt="BlakeEvans22" title="BlakeEvans22"></a>+<a href="https://github.com/FermiHart"><img src="https://avatars.githubusercontent.com/u/100219585?v=4&s=112" width="56" height="56" alt="FermiHart" title="FermiHart"></a>+<a href="https://github.com/santhoshsathish94"><img src="https://avatars.githubusercontent.com/u/11693712?v=4&s=112" width="56" height="56" alt="santhoshsathish94" title="santhoshsathish94"></a>+<a href="https://github.com/Irfanwani"><img src="https://avatars.githubusercontent.com/u/62456735?v=4&s=112" width="56" height="56" alt="Irfanwani" title="Irfanwani"></a>+</p>++## Star history++<p align="center">+<a href="https://www.star-history.com/#FareedKhan-dev/kimi-k3-in-c&Date">+ <picture>+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=FareedKhan-dev/kimi-k3-in-c&type=Date&theme=dark" />+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=FareedKhan-dev/kimi-k3-in-c&type=Date" />+ <img alt="Star history of FareedKhan-dev/kimi-k3-in-c" src="https://api.star-history.com/svg?repos=FareedKhan-dev/kimi-k3-in-c&type=Date" />+ </picture>+</a>+</p>+## LicenseApache 2.0, see [`LICENSE`](LICENSE). Vendored third-party components, and the