News for hackers. Stuff that matters.
Re:Towards 1-bit Machine Learning Models by lawlessone on Friday March 29, 2024 @01:28PM (#39866711)
> could be the one to roll their own silicon and put an LLM in our back pockets.

Wouldn't they have to do a lot of catching up with everyone else already working on it?

Re:Towards 1-bit Machine Learning Models by declaredapple on Friday March 29, 2024 @01:52PM (#39866974)
They've been designing their own chips a while now, including with an NPU.

Also because of their unified memory design, they actually have insane bandwidth which is incredibly useful for LLMs. IMO they may have a head-start in that respect for on-device inference of large models (e.g. 1B+ params).

Re:Towards 1-bit Machine Learning Models by talldayo on Friday March 29, 2024 @06:51PM (#39869881)
I don't think people are running 1B+ models on the Neural Engine these days. The high-performance models I've seen all rely on Metal Performance Shaders, which scales with how powerful your GPU is. It's not terribly slow on iPhone, but I think some people get the wrong idea and correlate an ambient processor like the Neural Engine with LLMs.

The bigger bottleneck seems like memory, to me. iPhones have traditionally skimped on RAM moreso than even cheap and midrange Android counterparts. I can imagine running an LLM in the background on my S10 - it's a bit harder to envision iOS swapping everything smoothly on a similarly-aged iPhone.

Re:Towards 1-bit Machine Learning Models by JKCalhoun on Friday March 29, 2024 @11:55PM (#39871707)
Sure, but we're discussing 1.8-bit models that, again I'm a layman, I assume are over an order of magnitude smaller in their memory overhead.