<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap" rel="stylesheet"/>

Running DeepSeek 284B on 64GB RAM: Inside Llama-Modchip

By Mihir Pipermitwala · 10 min read

⚡ 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)

DeepSeek 284B MoE CPU inference on a 64GB RAM machine

Contents

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 machineWhat to runRealistic expectation
64 GB + AVX-512, ~16 cores (Ryzen 9 9955HX-class, DDR5)Fractal-64 56.56 GiB quant9.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 build233 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 MoEs284B quant unusable, smaller models fine (community-reported, HN Nov 2026)
32 GB CPU-onlySmall targets: Qwen3-30B-A3B, Nemotron-3.5-30B-A3BUsable small-MoE CPU-only LLM inference speeds (estimate)
128 GB+ Mac or workstationLarger quants or other runtimes~30 tok/s decode reported on an M5 with 128 GiB (HN, Nov 2026)
8 GBNothing in the DeepSeek familyFeasibility experiments only

How Do You Set It Up?

If you want the whole llama-modchip guide in one block, it’s three commands:

Copy
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:

Copy
python check_cpu_readiness.py

For the DeepSeek target directly, pull the pre-transcoded GGUF from Hugging Face and launch the bundled server:

Copy
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 8080

The 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?

ApproachRAM neededQuality tradeSpeed (reported)Evidence
llama-modchip Fractal-64 quant57.6-58.9 GiB resident, no swap1.71 bpw overall; quality vs original weights unverified9-10 tok/s decode, 11.5-14.7 with drafterAuthor-reported only
colibri-style NVMe streaming (mmap)16-32 GB RAM + fast SSDFull-precision experts0.93-1.24 tok/s(Medium, Nov 2026)
Reddit 233 GB 1-bit V4.1 Flash64 GB gaming PCAggressive 1-bit class quant, larger model~11.5 tok/sCommunity-measured (Reddit, Nov 2026)
kimi-k3-in-C8.24 GBResearch engine, quality unmeasuredNone publishedProof of concept (GitHub, Nov 2026)
Stock llama.cpp --cpu-moeWhatever fitsOfficial quantsStandard llama.cpp CPU speedsMature, 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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.”
Mihir Pipermitwala

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 →
Scroll down to load comments...
Related Blogs
GPT-6.2 Astra and Sol: What OpenAI's New Models Actually Change

GPT-6.2 Astra and Sol: What OpenAI's New Models Actually Change

OpenAI shipped GPT-6.2 Astra and Sol on Nov 17, 2026. A skeptic's read: benchmarks, API pricing, and what actually changes for coding work.

AI MLAI TOOLSCOMPARISON

November 23, 2026

Qwen4-Max Is Out: GA Benchmarks and the Open-Source Drama

Qwen4-Max Is Out: GA Benchmarks and the Open-Source Drama

Qwen4-Max went GA on November 16 with 62% cheaper tasks and uneven benchmarks. It shipped API-only, and the open-source promise is now the real story.

AI MLAI TOOLSON DEVICE LLM

November 22, 2026

Qwen4-Max Preview: What It Means for Local AI on Apple Silicon

Qwen4-Max Preview: What It Means for Local AI on Apple Silicon

Qwen4-Max entered preview in November 2026. What Alibaba's move means for Qwen on Apple silicon, MoEShift's 374 tok/s claim, and how to run Qwen locally.

ON DEVICE LLMAI MLAI TOOLS

November 19, 2026

Goldman Sachs Pulled Claude Code: What Regulated Teams Do Next

Goldman Sachs Pulled Claude Code: What Regulated Teams Do Next

Goldman Sachs restricted Claude Code and Copilot to engineers in November 2026. A governance playbook: 4 policy options, 10 checklist items, 1 verdict.

AI TOOLSDEVELOPER TOOLSSECURITY

November 18, 2026

Related Recommended Services
Visual Studio Code for the Web

Visual Studio Code for the Web

Build with Visual Studio Code, anywhere, anytime, in your browser.

IDEVISUAL STUDIOVISUAL STUDIO CODEWEB
Renovate | Automated Dependency Updates

Renovate | Automated Dependency Updates

Renovate Bot keeps source code dependencies up-to-date using automated Pull Requests.

AUTOMATED DEPENDENCY UPDATESBUNDLERCOMPOSERGITHUBGO MODULES
Best XML Formatter and XML Beautifier

Best XML Formatter and XML Beautifier

Online XML Formatter will format xml data, helps to validate, and works as XML Converter. Save and Share XML.

XMLXML BEAUTIFIERXML CONVERTERXML FORMATXML FORMATTER
Kubecost | Kubernetes cost monitoring and management

Kubecost | Kubernetes cost monitoring and management

Kubecost started in early 2019 as an open-source tool to give developers visibility into Kubernetes spend. We maintain a deep commitment to building and supporting dedicated solutions for the open source community.

CLOUDKUBECOSTKUBERNETESOPEN SOURCESELF HOSTED
Related Recommended Stories
How GitHub reduced testing time for iOS apps with new runner features

How GitHub reduced testing time for iOS apps with new runner features

Learn how GitHub used macOS and Apple Silicon runners for GitHub Actions to build, test, and deploy our iOS app faster.

IOSGITHUBTESTINGRUNNER
5 ways to transform your workflow using GitHub Copilot and MCP

5 ways to transform your workflow using GitHub Copilot and MCP

Learn how to streamline your development workflow with five different MCP use cases.

AGENT MODECODING AGENTCOPILOTFIGMAGITHUB
One weird trick for powerful Git aliases

One weird trick for powerful Git aliases

Advanced Git Aliases

ALIASALIAS TEMPLATEATLASSIANBITBUCKETGIT
Awesome Python

Awesome Python

An opinionated list of awesome Python frameworks, libraries, software and resources

AWESOMEAWESOME PYTHONCOLLECTIONSGITHUBPYTHON
Related Recommended Tools
Find out what websites are built with - Wappalyzer

Find out what websites are built with - Wappalyzer

Find out the technology stack of any website. Create lists of websites and contacts by the technologies they use.

ADD ONSANALYTICSAPP STOREAPPLEBOOKING
Sourcetree | Free Git GUI for Mac and Windows

Sourcetree | Free Git GUI for Mac and Windows

A Git GUI that offers a visual representation of your repositories. Sourcetree is a free Git client for Windows and Mac.

GITGITHUBGITLABATLASSIANBITBUCKET
Related Recommended Videos