⚡ TL;DR
llama-modchip runs DeepSeek-V4-Flash 284B on a 64GB-RAM CPU-only PC via 1.71-bit quantization. How the trick works, hardware tiers, setup, and an honest verdict.
Running DeepSeek 284B on 64GB RAM: Inside Llama-Modchip
In November 2026, a repo called llama-modchip hit the Hacker News front page with 480+ points on a claim that reads like bait: DeepSeek-V4-Flash, a 284B-parameter MoE model, running entirely on a 64 GB-RAM machine with no GPU (HN, Nov 2026). I went in expecting vaporware. What I found is real engineering, self-reported numbers, and an unanswered quality question. Here’s how the trick works, which hardware can run it, and who should bother.
TL;DR
- llama-modchip repacks Unsloth’s 82.5 GB 1-bit DeepSeek GGUF (284.33B total, 13.17B active) into a 56.56 GiB file at 1.71 bits per weight, fully resident in 64 GB of RAM, no swap (GitHub, Nov 2026)
- Author-reported on a Ryzen 9 9955HX with no GPU: 9.06-9.95 tok/s decode, 11.5-14.7 with the n-gram drafter, versus 5.91 while OOM-swapping unpatched (GitHub, Nov 2026)
- The only community-measured datapoint: the larger DeepSeek V4.1 Flash at 233 GB 1-bit reached about 11.5 tok/s on a 64 GB gaming PC (Reddit, Nov 2026)
- The catch: the repo’s 100/100 quality gate ran only on a 30B Nemotron model; nobody has evaluated the 1.71-bit DeepSeek quant independently (HN, Nov 2026)
Contents
- What Does Llama-Modchip Actually Do?
- How Does the Trick Work?
- Where Did These Tricks Come From?
- Can Your Machine Run It?
- How Do You Set It Up?
- How Does It Compare to the Other Tricks?
- Who Is This Actually For?
- FAQ
- The Verdict
What Does Llama-Modchip Actually Do?
llama-modchip describes itself as “a set of ggml/llama.cpp kernel patches, quantization transcoders, and runtime tools” for running sparse mixture-of-experts checkpoints entirely in system RAM on CPUs (synchopate/llama-modchip, GitHub, Nov 2026). It’s Apache-2.0, created October 29, 2026 (v2.4.0 in November). It also targets Qwen3-30B-A3B and Nemotron-3.5-30B-A3B, the only targets with third-party validation.
The headline target is DeepSeek-V4-Flash: 284.33B total parameters, 13.17B active per token, 256 routed experts with 6 picked per token plus 1 shared expert per layer across 43 layers, and a 1M-token context window. The starting point is Unsloth’s 82.5 GB UD-IQ1_S GGUF. On a 64 GB Linux box with roughly 62.5 GiB usable, that file doesn’t fit, and the repo’s own table shows the unpatched baseline swapping: 5.91 tok/s decode, marked OOM.
The transcoder repacks those shards into a 56.56 GiB GGUF at 1.71 bits per weight overall. At 256K context the runtime sits at 57.61-58.9 GiB resident, no swap. That’s the claim in one sentence: reshape the model until a 284B MoE fits in consumer RAM, then make the CPU kernels fast enough to matter.
How Does the Trick Work?
Three moves, stacked.
Move 1: uneven DeepSeek quantization. The file is not uniformly 1.71 bits. Embeddings, the first dense layer, the 43 shared experts, and some attention projections stay at Q4_K, Q5_K, or F32. Other attention uses a custom “Fractal-64” format, a 3.75-bpw layout built from 64-weight blocks. The bulk, meaning the 256 routed experts, drops mostly to IQ1_S at 1.5625 bpw, with sensitive boundary layers held at IQ2_XXS or IQ1_M. A data-free importance score (SwiGLU-H2) picks the protected layers, so no calibration corpus is needed (Medium, Nov 2026).
Move 2: MoE expert handling without offloading. Most MoE CPU inference schemes page experts in from disk on demand. Modchip refuses that trade, betting 1-bit experts shrink the footprint enough to make offloading unnecessary. It does prune, though: an optional LLAMA_MOE_TOP_K=5 mode drops the 6th expert per token, reported at 95.8% top-1 match against the 6-expert run. Note what that measures: patched vs unpatched on the same quant, not quality vs the original weights.
Move 3: kernel surgery. The AVX-512 prefill kernels unpack each quantized block once and reuse it across up to 8 tokens, reported at 43.16-44.36 tok/s prefill. Decode skips rebuilding the compute graph on 7 of every 8 tokens, and cold experts stream with non-temporal hints. Speculative decoding uses a 1.64 MB n-gram drafter (94.5% reported acceptance on DeepSeek) instead of a neural draft model, pushing decode to 11.5-14.7 tok/s. KV-cache snapshots to /dev/shm restore 40-tool agent sessions in 13.1-32.6 ms.
And the thing it doesn’t do, despite the viral framing: memory mapping. mmap keeps the model file on disk and pages weights in on demand; the repo is explicit that everything lives in RAM.
Where Did These Tricks Come From?
This is at least the third round of the “huge model, tiny machine” game, and each round sacrificed something different.
Round one sacrificed speed entirely. kimi-k3-in-C loaded a 2.78T-parameter Kimi K3 into 8.24 GB of RAM on a single CPU, an impressive compression result with no published tokens-per-second figure, because every token becomes a disk-I/O event. I broke that down, along with the deltafin-style SSD-streaming experiments chasing the same trade-off, in my hardware reality check on running Kimi K3.1 Pro locally.
Round two sacrificed latency by keeping precision: the colibri-style mmap approach streams full-precision routed experts from NVMe on demand. The explainer’s numbers (Medium, Nov 2026): a 167 GB download, 16-32 GB of RAM, and 0.93-1.24 tok/s on desktop CPUs. Honest quality, conversation-killing speed.
Round three, modchip’s round, sacrifices bits in the experts and keeps everything in RAM: 1.5625 bpw experts, 9-14 tok/s reported, no disk I/O in the hot path. Every round the floor drops a little. Whether the quality ceiling holds is the question nobody has closed.
Can Your Machine Run It?
The repo requires x86_64 with AVX-512 or AVX2, or ARM64 with NEON/SVE, plus Apple Metal support. But reality is stricter: one HN commenter with a 24-core Haswell-era Xeon and 96 GB of DDR4 passed the readiness check, then hit “Illegal instruction” (HN, Nov 2026). Treat AVX-512 as effectively required until your CPU proves otherwise.
Here’s the tier map, using only figures the sources state. Anything beyond them is my estimate and labeled as one.
| Your machine | What to run | Realistic expectation |
|---|---|---|
| 64 GB + AVX-512, ~16 cores (Ryzen 9 9955HX-class, DDR5) | Fractal-64 56.56 GiB quant | 9.06-9.95 tok/s decode, 43-44 tok/s prefill, 11.5-14.7 with drafter (author-reported, GitHub Nov 2026) |
| 64 GB gaming PC, €2k build | 233 GB 1-bit DeepSeek V4.1 Flash quant | ~11.5 tok/s (community-measured, Reddit Nov 2026) |
| 64 GB + pre-AVX-512 CPU (Haswell-era Xeon) | Modchip binaries may fail; use stock llama.cpp with smaller MoEs | 284B quant unusable, smaller models fine (community-reported, HN Nov 2026) |
| 32 GB CPU-only | Small targets: Qwen3-30B-A3B, Nemotron-3.5-30B-A3B | Usable small-MoE CPU-only LLM inference speeds (estimate) |
| 128 GB+ Mac or workstation | Larger quants or other runtimes | ~30 tok/s decode reported on an M5 with 128 GiB (HN, Nov 2026) |
| 8 GB | Nothing in the DeepSeek family | Feasibility experiments only |
How Do You Set It Up?
If you want the whole llama-modchip guide in one block, it’s three commands:
git clone https://github.com/synchopate/llama-modchip.git
cd llama-modchip
./modchip chat./modchip chat walks you through model selection. Verify your CPU first:
python check_cpu_readiness.pyFor the DeepSeek target directly, pull the pre-transcoded GGUF from Hugging Face and launch the bundled server:
hf download Synchopate/DeepSeek-V4-Flash-0731-Fractal-64GB-CPU-GGUF --local-dir ./dsv4
./llama-server-modchip-linux-x86_64 \
-m ./dsv4/your-downloaded-file.gguf \
-c 32768 -t 16 -fa on --port 8080The flags that matter: 32,768-token context, 16 threads, flash attention on. For agent workloads, the /dev/shm KV-snapshot flag gets you 13-33 ms session restores.
The compatibility catch. The transcoder emits a custom tensor type (ID 40), so stock llama.cpp, Ollama, and LM Studio all reject the file with “unknown tensor type 40”; you must use the bundled binary or the ./modchip tool (GitHub, Nov 2026). There’s no GUI either. This is the deep end of running DeepSeek V4 locally, nowhere near the friendly tooling wave that Apple’s rumored Harbor app for local AI models aims to serve.
How Does It Compare to the Other Tricks?
| Approach | RAM needed | Quality trade | Speed (reported) | Evidence |
|---|---|---|---|---|
| llama-modchip Fractal-64 quant | 57.6-58.9 GiB resident, no swap | 1.71 bpw overall; quality vs original weights unverified | 9-10 tok/s decode, 11.5-14.7 with drafter | Author-reported only |
| colibri-style NVMe streaming (mmap) | 16-32 GB RAM + fast SSD | Full-precision experts | 0.93-1.24 tok/s | (Medium, Nov 2026) |
| Reddit 233 GB 1-bit V4.1 Flash | 64 GB gaming PC | Aggressive 1-bit class quant, larger model | ~11.5 tok/s | Community-measured (Reddit, Nov 2026) |
| kimi-k3-in-C | 8.24 GB | Research engine, quality unmeasured | None published | Proof of concept (GitHub, Nov 2026) |
Stock llama.cpp --cpu-moe | Whatever fits | Official quants | Standard llama.cpp CPU speeds | Mature, widely reproduced |
Modchip is the only approach reporting conversation-adjacent MoE CPU inference speeds for a 284B-class model on CPU alone, and its numbers come from a single author’s machine. The Reddit figure is the only community-measured one, on a different, larger model.
Who Is This Actually For?
Tinkerers. One HN commenter put the skeptical case bluntly: “Running a lobotomized model just to say you’re doing it is really not accomplishing anything special” (HN, Nov 2026), and research cited in the same thread argues quantized quality peaks near 4 bits. The economics agree with him: another commenter paid $2.91 for 354M API tokens in a month with DeepSeek’s prompt caching (HN, Nov 2026). Your 64 GB machine competes on privacy and rate limits, not price. For production, that math is decisive.
FAQ
What is llama-modchip?
A set of llama.cpp kernel patches, quantization transcoders, and runtime tools that runs sparse MoE models like DeepSeek-V4-Flash 284B entirely in system RAM on CPUs, no GPU required (GitHub, Nov 2026).
Can you run DeepSeek 284B without a GPU?
Yes, per self-reported benchmarks: a 56.56 GiB quant at 1.71 bits per weight runs at 9.06-9.95 tok/s decode on a 64 GB AVX-512 CPU. Independent verification covers only the smaller 30B targets so far.
Why does llama.cpp report “unknown tensor type 40”?
Modchip’s transcoder emits a custom tensor format stock llama.cpp, Ollama, and LM Studio can’t parse. Run the bundled llama-server binary or the repo’s ./modchip tool.
How fast is DeepSeek 284B on 64 GB of RAM?
The author reports 9.06-9.95 tok/s decode and 43-44 tok/s prefill on a Ryzen 9 9955HX, rising to 11.5-14.7 tok/s with the n-gram drafter. No independent 284B benchmark exists yet.
Is the 1.71-bit DeepSeek quant any good?
Unknown. The repo’s quality gate ran only on a 30B Nemotron model, and its agreement numbers compare patched vs unpatched runtimes on the same quant, not against original weights.
The Verdict
- For tinkerers with 64 GB and AVX-512, this is a legitimately good weekend. A 56.56 GiB file, 57.6-58.9 GiB resident, and 9-14 tok/s on CPU alone is a real result, and the readiness checker spares you a wasted download.
- The quality question is real and unanswered. Every quality figure so far compares the patched runtime against the same quant or was measured on a 30B model. At 1.5625 bits per expert weight, assume degradation until someone publishes a proper eval. Tinkerers accept that. Anyone shipping a product can’t.
- For production: no. One author’s hardware, self-reported benchmarks, a custom binary your Ollama stack can’t read, and a hosted API that served 354M cached tokens for $2.91 in a month. The economics don’t favor the home rig for real work.
- The lineage tells you where this is heading. kimi-k3-in-C proved tiny-RAM feasibility with no speed; SSD-streaming projects proved quality at 1 tok/s; modchip reports usable speed with unknown quality. Each generation closes one gap, and the floor keeps dropping.
- What I’d actually do: run
check_cpu_readiness.py, try the 30B targets first since stock llama.cpp can verify them, then pull the 56 GiB file with calibrated expectations. Just never confuse “it runs” with “it’s good.”

Written by Mihir Pipermitwala
Senior Full Stack Consultant & Mobile Engineering Specialist building user-focused applications in healthcare with Flutter, Dart and React Native. I write about what I actually build and test — every tutorial here comes from real project work.
More about Mihir →