Show HN: Run an 80B Qwen in 4.3 GB of RAM on a Mac, and a 35B on an iPhone

github.com

310 points by leonickson 3 days ago


dghlsakjg - 3 days ago

I know everyone wants to crap all over these setups that are impractical, but this is how progress happens.

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.

AHASIC - 3 days ago

I read a comment on here a few months back I wanna restate. Basically, there is a good chance that Apple is betting that the LLMs in the future will be so efficient that those that consumers will use everyday will be easily computed by the iPhone or even bigger ones on Macs. Honestly makes the most sense that we are heading that way in a few years latest.

gitpusher42 - 3 days ago

Thank you for using TurboFieldfare as a starting point for this project and thank you for mentioning it at the README. I am glad it inspired more people to explore area of on-device AI further!

adrianco - 3 days ago

This looks useful, you can increase the RAM cache so if you have a Mac with 24-32GB it should speed up a lot and still run models that wouldn’t normally fit. I’m going to run some tests…

CyLith - 3 days ago

I know relatively little about the workings of LLMs, but I keep seeing projects like this that run massive MoE models using very modest amounts of RAM, perhaps excessively so. I wonder, is there a way to make the RAM usage tunable? I have a Macbook with 32 GB of RAM, and it'd be great if I could run the same model but take advantage of the additional RAM to make it run faster.

gizmodo59 - 3 days ago

The web and connecting to other services is very important for almost all of my use cases. While I believe we are going to get better and faster models, the web index is certainly not downloadable and maintainable for 99.99% of the folks who are able to use local models. Any good solutions exist?

throwawayffffas - 3 days ago

> One expectation to set honestly

Hello Claude!

sallymander - 3 days ago

"As far as we know, that is the first time a model of this class has run natively on a phone.".

I feel like I've seen a similar statement on a lot of these streaming weight projects.

400b model on an iPhone: https://x.com/anemll/status/2035901335984611412

erelong - 2 days ago

Is there something that already runs like this on android / linux ( / windows)? (ollama or something?)

Or could this be ported to work on other such platforms?

edit: AI mentions a "BigMoeonEdge" project

myshapeprotocol - 3 days ago

Achieving high-efficiency model compression to run large models locally on consumer hardware like Macs and iPhones mirrors the architectural goals of decentralized identity.

nc55g3g - 2 days ago

Running a 35B on iPhone at 1 tok/s with 2.5 GB RAM… this is the future of on-device inference. Insane work.

lenerdenator - 2 days ago

How can I do this with, say, Gemma?

lern_too_spel - 2 days ago

See also: https://github.com/Helldez/BigMoeOnEdge

brrrrrm - 3 days ago

this is cool but like, are we just vibe coding NAND burners at this point? these decode times don't really tell the whole story, because prefill becomes the bottleneck.

half an hour to process 10k tokens on an M5 seems... not great

vancekai - 3 days ago

[dead]

hn974izqdv - 2 days ago

[dead]

jbird99 - 3 days ago

At what, 10 tokens per hour? These disk swapping methods all have the same drawbacks - kill your drive early, and slow as hell.

crossroadsguy - 3 days ago

I see this at the end of the README

> 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: 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?