logoalt Hacker News

Llama-modchip: 284B DeepSeek on 64GB RAM, no GPU

463 points • by joshcsimmons • yesterday at 10:22 AM • 201 comments • view on HN

Comments

kennywinker • yesterday at 6:19 PM

The floor for a functional local AI system keeps getting lower, dispite ram and GPU prices continuing to go up. An E5 workstation with lots of threads, $300 of RAM and at least $100 of GPU gets you something that can do >100tok/s+ prompt processing, and ~20tok/s output with Qwen3.8-flash-next:IQ3_S. Toss a $500 GPU in there, and it goes from barely usable to pleasingly performant. For less than $800 you have something that holds its own with where the SOTA was less than a year ago.

I don't see how anyone justifies a claude subscription. Do you want to rent the tools you use to making a living from the people who are trying to automate away your job?

➕ show 14 replies
armcat • yesterday at 1:21 PM

Something to keep in mind with aggressive quantisation, is that it's been empirically proven [1] that (1) quantisation has non-linear performance behaviour, and (2) generally the peak size-to-performance ratio occurs at 4-bit; anything lower and you will see significant reduction in performance.

Also, I've been playing with speech models for the past 2 years, and for me anything below 8-bit is a huge drop in quality; so quantisation for LLMs and for other bespoke modality models, is not 1:1.

[1] "Reliability Scaling Laws for Quantized Large Language Models", TUM, https://arxiv.org/pdf/2607.10855

➕ show 5 replies
antirez • yesterday at 12:28 PM

To put this on perspective, consider that with 128GB of unified RAM it can run even fast: https://x.com/antirez/status/2119392658661749175 Like, coding-agent acceptably fast. See later in the reply for the prefill at ~300 t/s but can go even faster for larger prefills.

➕ show 6 replies
boredatoms • yesterday at 3:38 PM

The quantization is probably the most important thing to know and its not clear at all from the dense word salad

➕ show 2 replies
akie • yesterday at 11:57 AM

At which quantization? That's the only thing I want to know.

EDIT: I think it's 2 bit? If so, would be curious to see the quality of the output. Not great, I think.

➕ show 3 replies
aappleby • yesterday at 7:37 PM

Stupid question, but does this AI-generated repo actually _do_ anything?

Comparing it on Nemotron, it runs just about the same as plain old llama.cpp on the cpu (except prefill seems much faster). I don't see an option to set up DeepSeek in "modchip setup", so I haven't tested that one yet.

Edit: this is on a Ryzen 7945hx 16-core Zen 4 + 96 gb DDR5.

➕ show 1 reply
superkickstart • yesterday at 1:52 PM

I wish people would clean up the ai spammed emoji from the github readme. The readability is just horrible.

➕ show 2 replies
SillyUsername • yesterday at 4:35 PM

Interesting. There are quite a few forks of llama.cpp where streaming weights has been successful, or special quants / decompressing before processing.

- Bonsai Qwen 3.8 27B

- Strata

- Pulsar

- This...

I just wish upstream Llama.cpp would accept the PRs faster - they build multiple times per day, but their PR backlog was 1.7K last I checked, which is a ridiculously impractical number to review with a few volunteers.

I watched the Qwen 3.8 Bonsai feature and it took over 3 weeks from creation to be reviewed, and even then it doesn't include the patches for bugs, that they fixed downstream and simply gave up pushing to upstream because the process was so laborious.

So they end up with delayed or missing model support, and half working implementations like Bonsai's Hadamard Folding, and new models lose out on this kind of optimisation.

I suppose this is fine if you intend your project to be the reference project for forks and encourage this kind of specialisation, but I don't think that's intentional.

At least I can use llamaswap to juggle the inference engines and models on the fly, and abstract the fact I need to install 3 or 4 different ones.

➕ show 2 replies
aussiegreenie • yesterday at 9:28 PM

Running a local LLM is similar in price to a mid-range photocopier.

It is about $10 per person per month for enough processing power for useful work with data sovereignty.

nickdothutton • yesterday at 7:21 PM

In a way this hardware shortage/price situation may come to be a helpful driver of efficiency and novel approaches. A lot of the 1980s demoscene guys came from countries where hardware was scarce and expensive, and it drove a lot of technical creativity.

dgreensp • yesterday at 5:48 PM

How can CPU be fast enough? What does “modchip” refer to?

➕ show 1 reply
real_faxenoff • yesterday at 3:09 PM

This is a very impressive achievement in an unexpected direction. I'm really looking forward to trying out qwen on this system.

➕ show 1 reply
intoXbox • yesterday at 12:06 PM

This is quite an obnoxious Readme.md with AI slop. It wraps around llama.cpp but without seeing what platform assumptions it makes its unclear for other readers whether this is worth testing.

walrus01 • yesterday at 12:59 PM

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 models in ridiculously tiny sizes. For comparison a 'regular' version of v4 flash 0731 has file sizes more like this: https://huggingface.co/unsloth/DeepSeek-V4-Flash-0731-GGUF

Even the 97GB Q2XS will show very significant divergence from the full precision thing. Running a lobotomized model just to say you're doing it is really not accomplishing anything special.

rcarmo • yesterday at 8:41 PM

Very nice. I have been doing various SIMD hacks to my fork of llama, but some of these are ingenious combinations that I will be dropping into my ARM boards….

sparse-Matrix • yesterday at 8:01 PM

It works pretty good on my Ryzen 7 5700U/64GB DDR4

Steady 12 to 14 TPS.

Not blazing, by any means, but fast enough to get meaningful personal work done, with a power consumption of 15w.

lastdong • yesterday at 2:52 PM

Strata, Project Maya, the FP8 3x speedup on memory-bound workloads on Ampere cards and now llama-mod chip. I’m amazed with all these optimisations and thinking outside the box. Well done, don’t stop!

spwa4 • yesterday at 1:55 PM

Anyone else finding these AI generated pages really hard to read?

➕ show 1 reply
Roark66 • today at 9:21 AM

Which DeepSeek V4.1 Flash were talking about? The 0731 that is benchmaxed to hell and runs worse than Nemotron for me, or the 1017 that needs triple the RAM that is really good?

Still, at 1.75bpw that is barely usable.

At least for me, the absolute minimum for the 1017 DeepSeek is 3.75bpw. Anything below and you're better with Qwen3.8-flash-next at 4 bits or preferably 4.5.

999900000999 • yesterday at 7:16 PM

Tinfoil hat time:

I can imagine Open AI and Anthropic( among others) artificially manipulating the pc part market to keep consumers from buying capable hardware.

As is a ROG tablet is available for 3K with 128GB of ram. I don’t need to beat Opus, I just need good enough

➕ show 1 reply
zahlman • today at 1:55 AM

Could I perhaps get an overview of how this works that doesn't require me to understand Claude-speak nor the jargon of domain experts?

GypsyKing716 • yesterday at 4:26 PM

Just because you CAN load it, doesn't mean you SHOULD load it. Sparse models n such ... but I digress.

➕ show 1 reply
outfinity • yesterday at 12:05 PM

It is 2 bit? anybody tested this? is any good?

➕ show 1 reply
ctrlaltdileep • yesterday at 3:13 PM

hm... this is the first time. TIL something from the HN comments more than the actual article. I'm relatively new to the AI space and the idea of quantization is something I'll have to take forward when evaluating future models.

throw10920 • yesterday at 5:10 PM

"2-bit quant" is the "in mice" of "look at how big a model I can fit on this hardware".

Avlin67 • yesterday at 8:42 PM

no intel AMX ? poor me

robotswantdata • yesterday at 5:50 PM

Prefill of this approach (prompt processing) is far too slow.

The readme is practically unreadable ai slop as well

yieldcrv • yesterday at 4:14 PM

all the pieces are coming into place for the Apple M7 chip, 2028 is going to be great for useful local inference

frontier labs are going to need to have some new tricks up their sleeve that are inaccessible by prosumer level compute

gtirloni • yesterday at 6:49 PM

Do people remember humans read README.md files too or are we all just asking for the TL;DR; from AI slop by default?

Laxman_Singh • today at 3:18 PM

[flagged]

france_france • today at 2:32 PM

[flagged]

apishare_api • today at 12:03 AM

[flagged]

brodydung • today at 6:06 AM

[flagged]

xiaoliangliang • today at 3:12 AM

[flagged]

junaid0016 • yesterday at 3:07 PM

[flagged]

ankur_misra • yesterday at 4:17 PM

[flagged]

hb_b19yaati • yesterday at 3:58 PM

[flagged]