Llama-modchip: 284B DeepSeek on 64GB RAM, no GPU
Llama-modchip provides custom quantization and CPU kernel patches to run massive sparse mixture-of-expert models, like 284B DeepSeek, entirely within 64GB of system RAM without a GPU.
summary is enough While the SIMD and memory-tiling techniques are clever, the extreme 2-bit quantization required to fit massive models into consumer RAM severely impacts output quality.
summary
Llama-modchip is a collection of llama.cpp patches and custom block-64 quantization transcoders designed to run massive sparse mixture-of-expert models entirely on consumer CPU RAM without GPUs. By compressing checkpoints like 284B DeepSeek-V4-Flash down to roughly 1.7 bits per weight, it allows the model and a large context window to fit within 64GB of system memory. However, commenters note that such extreme sub-4-bit quantization typically leads to heavy perplexity degradation and incoherent outputs, despite achieving impressive token throughput on desktop CPUs.
key points
- Compresses the 284B DeepSeek-V4-Flash model down to 56.56 GB (1.71 bpw) to fit inside 64GB RAM without NVMe swap.
- Implements multi-level register tiling and non-temporal streaming hints to optimize cache lines for CPU inference.
- Hacker News discussion heavily questions the practical output quality, emphasizing that sub-2-bit quantization severely harms model coherence.
who should read it
Hardware enthusiasts and developers exploring extreme local LLM execution on consumer CPUs without dedicated GPUs.
discussion skeptical
consensus
Commenters are deeply skeptical of the extreme 2-bit quantization, arguing that model quality and coherence degrade too severely to be useful for real work despite the impressive speed.
pushback
A minority of users find value in similar optimization forks for smaller 30B-class models on consumer hardware, achieving practical speeds for local tasks.
I very recently spent a lot of time using deepseek v4 flash 0731 before it was superseded by newer more capable things (glm 5.3-flash, v4.1 flash 1017, etc) and I am exceedingly skeptical of anyone that claims to get good QUALITY results out of it at that size. Whatever they're doing to shrink it will make it worse than an unsloth Q2XS quantization of it or equivalent. That size of model needs something like 150GB of RAM to run properly with full unquantized kv cache and not with a ton of training data discarded.
I remain exceedingly skeptical of people who are claiming to run fairly large …
Points out the severe divergence and loss of quality inherent in running massive models at impossibly small file sizes.
Generated by an LLM from the article and thread. Check the sources before relying on it.