llama-modchip Claims 284B DeepSeek Inference on 64GB RAM Without a GPU
The open llama-modchip project claims its CPU-only implementation can run the 284B-parameter DeepSeek-V4-Flash MoE model with a 256K context in less than 59 GiB of RAM, without a GPU or NVMe swap. Its reported figures include 44.4 tokens per second prefill and 9.1–14.7 tokens per second generation for the 284B model on a 64GB system. For the Nemotron-3.5-30B-A3B model, the project reports up to 111.62 tokens per second on a Threadripper workstation and 25.0–60.4 tokens per second on a 16-core Zen 5 system. The project provides setup instructions, hardware guidance, benchmarks, architecture documentation, and a preprint.
If the claimed results hold, llama-modchip could reduce the memory and GPU requirements for running large MoE models locally on CPU workstations, including air-gapped enterprise workloads.
CPU-First Inference for 284B & 30B Mixture-of-Experts Models on 16–64 GB RAM
Quickstart · Quantization & Memory Specs · Supported Models · Supported Hardware · Leaderboard · Technical Paper (paper/) · Architecture · FAQ
284.33B Total MoE params (13.17B active)56.56 GiB DeepSeek-V4 GGUF (1.71 bpw)57.61 GiB Peak VmRSS @ 256K ctx44.36 tok/s 284B CPU prefill (16C Zen 5)25.0–111.6 tok/s 30B MoE CPU decode (3.75 bpw)13.1 ms /dev/shm KV slot restore0 GPUs required
| Hardware Class | System RAM | Target Checkpoint | Throughput (0 GPUs) | Architecture & Memory Notes |
|---|---|---|---|---|
| Developer laptop / Mini-PC | 16–32 GB | Nemotron-3.5-30B-A3B (14.35 GiB, 3.75 bpw) | 25.0–60.4 tok/s | 46 Mamba-2 SSM layers + 1.64 MB L3 PVS drafter; 256K context uses 432 MB KV |
| 64 GB Desktop / Server | 64 GB | DeepSeek-V4-Flash 284B (56.56 GiB, 1.71 bpw) | 44.4 tok/s pp · 9.1–14.7 tok/s tg | Fits in 62.5 GiB usable Linux RAM (57.61 GiB VmRSS) with zero NVMe swap |
| Hybrid Desktop (CPU + 16 GB GPU) | 32–64 GB | Nemotron-30B / Qwen3-30B (3.75–4.25 bpw) | 80.80 tok/s | Hot attention/SSM trunk on GPU (-ngl 99), cold routed MoE experts in CPU RAM |
| 8-Channel Workstation (Threadripper) | 128 GB+ | DeepSeek-284B / Nemotron-30B | 111.62 tok/s (30B) | 8-CCD AVX-512BW _1x8 register tiling saturates 8-channel DDR5 bandwidth |
#llama-modchip#DeepSeek-V4-Flash#Nemotron-3.5-30B-A3B#Qwen3-30B