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.
brrrrrm · · focus · HN ↗
half an hour to process 10k tokens on an M5 seems... not great
kennywinker · · focus · HN ↗
selcuka · · focus · HN ↗
hdgvhicv · · focus · HN ↗
wccrawford · · focus · HN ↗
hdgvhicv · · focus · HN ↗
Given the cost of a building is far more than the cost of generating enough power for that building it doesn’t really matter
kennywinker · · focus · HN ↗
fsuts · · focus · HN ↗
People like this person are laying the foundations.
IsTom · · focus · HN ↗
rhdunn · · focus · HN ↗
The current GPUs are optimized for processing huge numbers of triangles per second. There are three things at play here:
1. the organization of the data being sent to the GPU to optimize throughput;
2. the speed at which the GPU can read that data from its VRAM;
3. how many triangles it can process in parallel by using individual compute units.
I suspect that given parallel improvements for neural networks, we'll see similar improvements:
1. optimizing the structure of the weights in the model for efficient access by the CPU/GPU/NPU/TPU;
2. efficient access of data strides (matrix rows) in the memory, e.g. being able to read multiple 2x2 matrix values in one clock cycle, or stepwise pairs of values (a(i,j), b(j,k)) needed for matrix multiplication;
3. parallel compute for matrix and tensor multiplication and other operations needed by neural networks.
IsTom · · focus · HN ↗
leonickson · · focus · HN ↗
[dead]
piyh · · focus · HN ↗
jbird99 · · focus · HN ↗
kennywinker · · focus · HN ↗
wat10000 · · focus · HN ↗
Alpha3031 · · focus · HN ↗
wat10000 · · focus · HN ↗
sudo_cowsay · · focus · HN ↗
petu · · focus · HN ↗
Practically if you're not streaming weights 24/7 from a full SSD, then it shouldn't be a problem.
zozbot234 · · focus · HN ↗
petu · · focus · HN ↗
It claims that each individual page read induces read disturb across whole block. And references <a href="https://arxiv.org/pdf/2501.02517" rel="nofollow">https://arxiv.org/pdf/2501.02517 that tested Samsung 3D TLC and found ~518K sequential page reads in a block to be ECC threshold (although it's unclear how they got 518K number -- e.g. is it single worst chip they've tried? authors brings up 160 chip sample size later on).
With 7704 pages in a block that's only ~70 sequential block reads till data is lost and to retain data controller would have to refresh block fair bit earlier.. basically it gives modern 3D TLC SSD lifespan measured in months (1TB drive 24/7 sequential reads at 5GB/s).
throwawayffffas · · focus · HN ↗
I remember the time spinning rust was the only option and reliable they weren't. In 30 years of computing I have had more than ten hdds and zero ssds die.
a96 · · focus · HN ↗
No normal use should wear out a drive in any sensible time in reasonable use and even in unreasonable use they seem to last almost indefinitely. There's more likely to be some other kind of component death before that.
Of course, in staged lab test, it's probably possible to burn one out. I've seen projects do that on memory cards and various *ROM chips but don't recall seeing someone kill SSDs. That would get costly. But I'm almost sure a web search would turn out someone doing that.
I also used to be sure that 90's SCSI HDDs would never really stop running. Just the machines using them became too much work and no utility to keep going. I remember only one of mine that wouldn't start after some years in the storage, but I managed to hammer it back into shape.
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]
AHASIC · · focus · HN ↗
Mistletoe · · focus · HN ↗
sudo_cowsay · · focus · HN ↗
bobbylarrybobby · · focus · HN ↗
swiftcoder · · focus · HN ↗
[deleted] · · focus · HN ↗
[deleted]
CircuitSeuss · · focus · HN ↗
Apple has worked very hard to make unified memory a feasible approach, and the benefits of that are pretty clear in apple silicon- that efficiency not only results in power and therefore thermal gains, but also in a significantly faster full loop per process: or a faster time to token. This is why even their single core mobile chips in the budget line Neo out perform PC processors with several times more threads and RAM[1]. Turns out, unified memory lets you have a whole lot more control over things like RAM bussing and core use for specific workflows.
Speculatively, a unified memory approach could also allow you to more easily integrate things like ReRAM to solve the current memory swapping bottleneck.
Let’s say a friend of mine works hardware at apple and works on exactly this… on device processing is the future I’m betting on.
[1] <a href="https://youtu.be/x26A28DoT-w?t=605" rel="nofollow">https://youtu.be/x26A28DoT-w?t=605
jsjohnst · · focus · HN ↗
That’s a six core processor. It’s an A18 Pro in the Neo, same chip as on the Iphone 16 Pro
ac29 · · focus · HN ↗
Unified memory has existed for decades in the PC space, Apple didnt invent it.
And the test you linked to has nothing to do with unified memory, its a web browser benchmark (almost entirely constrained by single threaded CPU performance that Apple better than competitors at).
ethersteeds · · focus · HN ↗
Nvidia leads in bandwidth and specialized architecture, but local inference takes off when it's usably fast at much lower cost and power consumption.
harrouet · · focus · HN ↗
Who needs memory when your model is set in silicon ?
KeplerBoy · · focus · HN ↗
harrouet · · focus · HN ↗
xprnio · · focus · HN ↗
dgently7 · · focus · HN ↗
on device llm gives apple the new "better camera" "better screen" race they need to keep people coming back for the latest.
for average users everything else is tapped out... screens, cameras wifi... all the core stuff is good enough now its hard to feel/see the difference model year to model year. embedded llm would let them ship something new and the on device ecosystem advantage is huge. especially as the gpt and claudes get ads and enshittified... the apple on device even if its less "capable" would be so compelling.
greggsy · · focus · HN ↗
dd8601fn · · focus · HN ↗
Then you go to the AI labs and say, “We see you’ve spent a trillion dollars on that model… we’ll write you a check today to let us run it how we want.”
Skips the ugly horse race and massive risk while focusing on what they do better than anyone.
And they’re the only ones who have cultivated the trust with normal people to be able to say, “We now have the only AI service that can safely reference your personal info without giving it all to strangers.”
They could possibly end up the second biggest winners in this insane hype cycle… without having had to compete on making a sota model.
dghlsakjg · · focus · HN ↗
We don’t talk about AVP.
red_green_yell · · focus · HN ↗
CyLith · · focus · HN ↗
zamadatix · · focus · HN ↗
ianmurrays · · focus · HN ↗
spockz · · focus · HN ↗
Maybe you could even do something like profiling and remember over multiple sessions (per project/workspace) what the most used agents are and load those up before hand.
fodkodrasz · · focus · HN ↗
In LM Studio I can tune it by selecting different quantation of the model, by selecting how many layers of the neural net to be loaded to GPU (rest stays in main mem, evaluated by the CPU), and by adjusting context window.
leonickson · · focus · HN ↗
adrianco · · focus · HN ↗
crossroadsguy · · focus · HN ↗
> Swiftlet was built in collaboration with Claude Code.
Did this really happen (some sort of working with Anthropic or Claude Code team) or is it some kind of requirement when you develop some software with Claude Code (I see the other author is: <a href="https://github.com/claude" rel="nofollow">https://github.com/claude), or sort of reuse some of its parts?
Is it like someone saying "built in collaboration with VS Code" or ".. in collaboration with <xyz> autocomplete plugin"?
Or merely a disclaimer about vibe-coding or AI written tool?
iamflimflam1 · · focus · HN ↗
vermarish · · focus · HN ↗
leonickson · · focus · HN ↗
crossroadsguy · · focus · HN ↗
> Swiftlet was built with Claude Code.
This is great and correct. It's a tool. Again, thanks.
PS. I just don't why people downvoted me. I am just someone, after a longish sabbatical/gap, exploring and getting used to the agnatic world, though very slowly :)
gitpusher42 · · focus · HN ↗
leonickson · · focus · HN ↗
[dead]
sallymander · · focus · HN ↗
I feel like I've seen a similar statement on a lot of these streaming weight projects.
400b model on an iPhone: <a href="https://x.com/anemll/status/2035901335984611412" rel="nofollow">https://x.com/anemll/status/2035901335984611412
leonickson · · focus · HN ↗
[dead]
throwawayffffas · · focus · HN ↗
Hello Claude!
sbsbdbdbfndj · · focus · HN ↗
tredre3 · · focus · HN ↗
vancekai · · focus · HN ↗
[dead]
gizmodo59 · · focus · HN ↗
pbronez · · focus · HN ↗
Microsoft and Amazon both provide web snapshot services that purport to give you a kind of agent-first internet archive. You can approximate something like that using common crawl, but it's a huge amount of data. Downloading the internet is impossible or a bad idea for almost everyone.
morgoo · · focus · HN ↗
myshapeprotocol · · focus · HN ↗
hn974izqdv · · focus · HN ↗
[dead]
nc55g3g · · focus · HN ↗
lern_too_spel · · focus · HN ↗
lenerdenator · · focus · HN ↗
gitpusher42 · · focus · HN ↗
erelong · · focus · HN ↗
Or could this be ported to work on other such platforms?
edit: AI mentions a "BigMoeonEdge" project