Show HN: Run an 80B Qwen in 4.3 GB of RAM on a Mac, and a 35B on an iPhone
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
Show HN: Run an 80B Qwen in 4.3 GB of RAM on a Mac, and a 35B on an iPhone
Unofficial Hacker News client; not affiliated with Y Combinator.
dghlsakjg · · focus · HN ↗
People will keep plugging away at this and figure out how to avoid wearing the hard drive, how to make it run faster, custom hardware buses etc.
Keep going! I personally can't wait for the day when a 1t param model runs off a $200 SSD instead of a $50k rack of Nvidia chips.
arjie · · focus · HN ↗
hedora · · focus · HN ↗
arjie · · focus · HN ↗
apimade · · focus · HN ↗
1080 GTX in 2016. Cutting-edge, an insanely powerful consumer card for the time. Theoretically around 8.87 to 8.9 TFLOPS.
5090 RTX in 2026. Cutting-edge, an insanely powerful consumer card for today. Theoretically around 104.8 TFLOPS.
In the same timeframe mobile processor CPU's went from 0.001 TFLOPS, to today's Apple's A19 Pro chip which delivers 2.074 TFLOPS.
That's _without_ getting into ASIC's, or purpose-built hardware like Taalas's model on silicon HC1, or generic AI dies like what they're planning with HC2 or Cerebras, which will massively compress the timeline.
cududa · · focus · HN ↗
xbmcuser · · focus · HN ↗
formerly_proven · · focus · HN ↗
zmmmmm · · focus · HN ↗
jack_pp · · focus · HN ↗
Aren't we already approaching theoretical physical limits? We're at 2nm
kaashif · · focus · HN ↗
(2) Are you saying that you think we're at the limits of computing in general, or that specific technology?
We know, for example, that a human brain level intelligence is possible to run on a human brain. We are nowhere near that. And actually that's not even a physical limit necessarily.
But that is...not a low hanging fruit.
fragmede · · focus · HN ↗
Nowhere?
darkwater · · focus · HN ↗
cvak · · focus · HN ↗
root_axis · · focus · HN ↗
apimade · · focus · HN ↗
GTX 1080 in 2016: 8 GB of GDDR5X, with 320 GB/s.
RTX 5090 in 2026: 32 GB of GDDR7, with 1.792 TB/s.
This is fun, what's next?!
PCI 8.0 is breaking 1TB/s, GDDR7 is 1TB/s.
With just the _current_ timeline, things are looking like they'll compress once we get over this initial lump.
flaburgan · · focus · HN ↗
dtj1123 · · focus · HN ↗
The suggestion is that a 1T model could be made to run on cheap consumer hardware of the future.
foxrider · · focus · HN ↗
SJC_Hacker · · focus · HN ↗
At the rate models are improving, it would be obsolete in six months.
HPsquared · · focus · HN ↗
naasking · · focus · HN ↗
foxrider · · focus · HN ↗
kaelwd · · focus · HN ↗
apimade · · focus · HN ↗
This is definitely being done with private models by HFT/quant firms, data processing agencies/orgs (large intelligence agencies, _every_ data analytics org, etc).
Azantys · · focus · HN ↗
dghlsakjg · · focus · HN ↗
We went from adding 8 teraflops in a decade, to adding almost 100 the next decade. If we add "only" 400 more teraflops in the next decade the graph will make that initial growth look flat in comparison, even though your math would show that we are basically stalled out.
It’s like claiming that a company that goes from making $1 to $1k to $100k to $1mm in a 4 year period has decelerating growth.
ksec · · focus · HN ↗
Because it is decelerating growth. There is a reason why we use YoY percentage in annual and financial reporting.
sh3rl0ck · · focus · HN ↗
Not too wild an idea!
arjie · · focus · HN ↗
gpt5 · · focus · HN ↗
In addition, LLMs, small or large, are highly parallelizable. This means that running on the same machine/GPUs many requests in parallel is significantly more efficient, and the sum of tok/s will far outweight any single user use case.
Those two combined means that unless LLMs reach the state of 'good enough' (TBD), I fully expect the economics and people's interest to align with 99%+ of LLM usage would be in centralized servers. (not dismissing the fact that there are use cases for local LLMs, and that the progress matters).
anon373839 · · focus · HN ↗
gpt5 · · focus · HN ↗
However, the compute situation just skew it even further when it comes to LLMs.
anon373839 · · focus · HN ↗
xyzsparetimexyz · · focus · HN ↗
zozbot234 · · focus · HN ↗
The economics of real-time, low-latency inference of very large near-SOTA models will heavily favor a centralized setup. But if you can afford to wait for your answer - be it a day, a week, or even more at the extreme low end (or if you just stick to leaner models for your relatively quick replies) the economics start to shift in a very clear way. A slow-going local inference setup relying on cheap SSD offload does not need the high power input of a datacenter rack, and the cooling load is outright trivial - even when working on many requests in parallel, which (in a SSD offload context) is what maximizes throughput even for local inference. These are serious problems for centralized inference that will probably limit the scale at which it can be applied.
dghlsakjg · · focus · HN ↗
submeta · · focus · HN ↗
mihaaly · · focus · HN ↗
hobofan · · focus · HN ↗
Once you are able to not just go on-premise, but on-device, there a boatload of other advantages than efficiency (network independence, privacy, etc.) that make it attractive.
Tiny language models are already plenty "good enough" for a lot of on-device use-cases. E.g. there are a lot of things, that can be reformulated as ranking problems, where you can apply pairwise ranking, which even small language models are good at.
dudefeliciano · · focus · HN ↗
FAANG has trained them well. "Normal" people also use chatGPT & co. to ask mundane questions that qwen27b could easily answer (random trivia, writing emails, correcting translations etc), why do these simple requests need to be processed on a B300 on server on the other side of the planet? There is no reason.
And this being hackernews, I would expect people here to go against the grain in this regard...maybe even promote local llms to "normies".
marci · · focus · HN ↗
josu · · focus · HN ↗
l33tman · · focus · HN ↗
marci · · focus · HN ↗
<a href="https://machinelearning.apple.com/research/introducing-third-generation-of-apple-foundation-models" rel="nofollow">https://machinelearning.apple.com/research/introducing-third...
josu · · focus · HN ↗
croes · · focus · HN ↗
That time won’t be as much fun as you think
cromka · · focus · HN ↗
We'll be fine.
bestham · · focus · HN ↗
cromka · · focus · HN ↗
JKCalhoun · · focus · HN ↗
Oh well, maybe the last one to leave the internet can turn the lights off.
croes · · focus · HN ↗
myrmidon · · focus · HN ↗
Has also been the case for things like chess computing; a lot of the progress we made over the last decades there (even before involving neural networks!) happened thanks to software improvements because the problem got so accessible, not just faster hardware.
I expect similar trends with AI; I'd expect to get decent, human comparable capability with <200GB/s of memory bandwidth and under 60GB of RAM long term (SSDs with very high read bandwidth looks also promising, but we'll see).
I hope that in a decade or two, training will also be somewhat feasible for "pro-sumers".
Bayart · · focus · HN ↗
That's how the AI boom came around to start with, before CUDA it was an academic topic.
mannanj · · focus · HN ↗
RachelF · · focus · HN ↗
So true. The reverse is also true - when greedy companies overprice their initial release so that it is out of range of the enthusiastic hobbyist they stall progress and adoption.
This is true for hardware (eg failed Intel Optane, Knights Bridge) and software that does not have a cheap or free basic plan.
pizza234 · · focus · HN ↗
This is progress in the same way that a man climbing a tree is making progress toward reaching the moon.
This project is essentially the MoE-of-the day, with some platform-related optimizations.
> Keep going! I personally can't wait for the day when a 1t param model runs off a $200 SSD instead of a $50k rack of Nvidia chips.
That won't happen. Projects like this just give the illusion that that will be possible.
AlecSchueler · · focus · HN ↗
That is, an essential step?
rhdunn · · focus · HN ↗
1. Better hardware optimized for matrix operations and other ML/NN specific workflows (NVIDIA hardware, Apple M4/M5 chips, Intel AI Boost, other NPU/TPU chips, etc.).
2. Bigger RAM/VRAM/unified for loading models in memory -- with 3090/4090 you can run 22-24B models in VRAM; with 5090 you can run 30-32B models; with Apple hardware with 128GB unified RAM you can run 70-128B models.
3. Better quantization (smaller, better value representations/lower errors/loss, optimized CUDA/etc. kernels) will lead to larger models being able to be run on the lower VRAM hardware at (with optimized kernels) decent tokens/s.
4. Better optimizations in general taking advantage of the hardware (coupled with the hardware and driver advances) and the NN architectures (NOTE: I saw a huge performance boost a while back after upgrading my llama.cpp version).
5. Better model architectures optimized/designed for running on lower-spec hardware, like Mixture-of-Experts which make it easier to run on a single GPU or distribute the weights more efficiently across multiple GPUs (i.e. you know that specific weights will be used together so you can keep them resident on a specific GPU and not have to swap the weights in/out of the various GPUs or transfer intermediate results of a single layer, only the result from that block/expert).
5. Improved NVME or similar SSD technology which a) has a large amount of storage, and b) has access efficiency on par with RAM/VRAM, especially if/when coupled with efficient DMA access to the GPU/NPU.
sipjca · · focus · HN ↗
While not exactly an “SSD”, High Bandwidth Flash will make it to market and make big sparse MOE models even more accessible. Everyone knows bandwidth is the game right now and you think hardware vendors are going to sit on their heels and not take part of the market? Absolutely silly to discount progress both on the software and hardware sides.
Hugsbox · · focus · HN ↗
trymas · · focus · HN ↗
IMHO it’s a matter of time until we (consumers) will get the hardware (maybe coupled maybe even more novel techniques). Though I expect it will take another 10 years or more.
mv4 · · focus · HN ↗
This is why banning Chinese open-weight AI models is a major policy debate in Washington. The labs can't survive log-term without subsidies, and a ban can act as a subsidy.
trymas · · focus · HN ↗
Though my bet would be, if USA will go ultra protectionist in this regard - in 10-20 years most world will run Chinese LLMs and hardware for this purpose.
bluerooibos · · focus · HN ↗
I don't understand how anyone with any degree of technological or scientific literacy or knowledge of advances in the past 100-200 years can say something won't happen in the future.
I am absolutely certain it will - the only uncertainty is how long, but given the rate of progress, I'm guessing it won't be far away.
mv4 · · focus · HN ↗
hagen8 · · focus · HN ↗
Perz1val · · focus · HN ↗
Do reads wear out nvme? Iirc only writes do
efficax · · focus · HN ↗
jarek83 · · focus · HN ↗
JKCalhoun · · focus · HN ↗
ac29 · · focus · HN ↗
ksec · · focus · HN ↗
I am 100% sure this won't happen in 10 years time. At least not on a $200 SSD. But I wouldn't be surprised if it ran on $1K to $2K HBF SSD. It will still be better than a $50K Rack.
spacebacon · · focus · HN ↗
[dead]