llama-modchip
synchopate
CPU-only inference for 26B to 284B mixture-of-experts models from system RAM, using custom quantization and a speculative-decoding drafter.
What is llama-modchip?
A roughly 1.2 MB patch set on llama.cpp plus Python tooling aimed at running large sparse MoE models on CPUs with 16, 32 or 64 GB of RAM. It adds project-specific quantization types, a speculative-decoding drafter called RouteCrack, a chained-prefix KV cache (HARP-Cache), AVX-512 and AVX2 kernels and an SSE gateway, and ships prebuilt Linux binaries with Apple Silicon and Windows paths. The author's own re-quantized GGUFs for Qwen3.8-Flash-Next, DeepSeek-V4-Flash, Nemotron-3.5 and Inkling-2-Mini are hosted on Hugging Face.
| Fact | Value |
|---|---|
| Maintainer | synchopate |
| GitHub stars | 1,455 (as of 2026-12-02) |
| Forks | 144 |
| License | Apache-2.0 |
| License type | OSI-open |
| Category | Local inference and "what runs on my machine" |
| Status | Rising |
| Edition | 2026-11 |
| Last verified | 2026-12-02 |
llama-modchip in depth
The usual assumption in local inference is that big models need big GPUs. llama-modchip, built by synchopate, argues the opposite for one family of models: mixture-of-experts checkpoints activate only a few billion parameters per token, so if the weights are squeezed hard enough to fit in 16, 32 or 64 GB of system RAM, an ordinary CPU can generate text at usable speed. Its headline claim is zero-GPU inference for models from 26B to 284B parameters, including Qwen3.8-Flash-Next, DeepSeek-V4-Flash, Nemotron-3.5 and Inkling-2-Mini.
Technically the project is a patch set of about 1.2 MB on top of llama.cpp, plus Python tooling. It adds its own quantization types, a speculative-decoding drafter called RouteCrack, a chained-prefix KV cache called HARP-Cache, AVX-512 and AVX2 kernels, and a gateway that streams responses and handles tool calls. A one-command installer detects RAM and CPU features, verifies SHA-256 checksums and fetches prebuilt Linux binaries or builds for Apple Silicon and Windows. The repository includes benchmark scripts, JSON result files, quality gates and a technical paper, and the author's re-quantized GGUFs are hosted on Hugging Face.
The claims are worth a sceptical look, and they hold up better than the branding suggests. Active parameters of roughly 3B to 13B at about 1.6 to 2.6 bits per weight put the per-token memory traffic in a range where tens of tokens per second on desktop DDR5 are physically plausible, and roughly 40 benchmark issues from independent users back that up: 18.20 tok/s on a Ryzen 9 7950X for Qwen3.8-Flash-Next, 51.49 tok/s on a Threadripper 9960X for Nemotron-30B, but also 2.20 tok/s on a Ryzen 5 8400F. Outside contributors have merged AVX2, Nix and bug-fix pull requests, and earlier build problems were reported and closed.
The cautions are real, too. The best numbers depend on custom quantization types and the author's own re-quantized models run on a patched engine, with only the presets marked standard ggml working on upstream llama.cpp. Perplexity and speed figures are the project's own, and quality is traded away: the 32 GB preset reports a perplexity of 5.81 against a 2.78 reference, and the README itself says the preset needs anti-repetition sampling settings. The documentation is extremely dense and heavily branded, which makes independent checking harder. Base-model licenses differ (Qwen community license, NVIDIA OpenMDW-1.1, MIT, Apache-2.0), and the project also publishes abliterated research variants behind an opt-in.
The verdict: llama-modchip is a legitimate, actively maintained engineering project with unusually rich public evidence, not an empty claim. Adopt it as an experiment if you own a CPU-only machine with plenty of RAM and want to run a large sparse model, and measure your own throughput before building anything on it. It is too early for production use or for anyone who needs predictable quality, because the formats are project-specific and results vary by a factor of eight between desktop CPUs.
Pros & Cons
Pros
- Claims sit in a plausible range for bandwidth-bound sparse models (about 3B to 13B active parameters at roughly 1.6 to 2.6 bits per weight), and the README links per-run JSON results and perplexity and KLD tables
- Real third-party use: about 40 benchmark submissions from different users on CPUs from old Xeons to Ryzen 9 and Apple M4 Max, plus merged outside pull requests (AVX2 fallbacks, a Nix flake, fixes)
- Apache-2.0, 17 releases in five weeks, SHA-256 checksums for binaries and GGUFs, and build bugs such as a missing codebook header and a macOS link failure were reported, fixed and closed
Cons
- The headline numbers rely on the author's own quantization types and re-quantized GGUFs plus a patched engine; only the presets marked standard ggml run on upstream llama.cpp
- Speed and quality figures are the project's own (16-core Zen 5, blind wiki-alt perplexity), and user submissions vary widely: 2.20 tok/s on a Ryzen 5 8400F versus 18.20 on a Ryzen 9 7950X for Qwen3.8-Flash-Next
- The README is extremely dense and heavily branded (MaxQ, RouteCrack, ConeCollapse, HARP-Cache), and earlier releases had reproducibility problems (patches that did not compose, a prebuilt encoder library)
- Also publishes abliterated (refusal-removed) research variants behind an explicit opt-in, and the Linux x86_64 binaries are prebuilt release assets installed via a curl-to-bash script
License
Apache-2.0 (OSI-open)
Engine and tooling are Apache-2.0. The GGUFs inherit their base models' licenses: Qwen community license (Qwen3.8-Flash-Next), NVIDIA OpenMDW-1.1 (Nemotron-3.5), MIT (DeepSeek-V4-Flash) and Apache-2.0 (Inkling-2-Mini), per the README.
When it is interesting
Running a large sparse MoE model on a CPU-only workstation or server with 32 to 64 GB of RAM, where you accept modest throughput and verify the numbers on your own hardware.
When it is too early
Production serving or anything needing reproducible quality guarantees: the formats are project-specific, and submitted Qwen3.8-Flash-Next results range from 2.20 to 18.20 tok/s on desktop CPUs.
This repo featured in the 2026-11 edition of the Open-Source AI Radar.
oMLX
jundot
macOS-native LLM inference server for Apple Silicon with continuous batching and SSD-tiered caching.
TurboFieldfare
drumih
Streams a 26B-parameter MoE model's experts from SSD to run Gemma 4 on an 8 GB Apple Silicon Mac.
apfel
Arthur-Ficial
Expose the on-device Apple Intelligence model on macOS 26 as a zero-setup OpenAI-compatible local API.