News for hackers. Stuff that matters.
Re:Towards 1-bit Machine Learning Models by JKCalhoun on Friday March 29, 2024 @12:44PM (#39866135)
As an AI layman, I am for some reason excited by the low-bit learning models.

Apple, now leaving behind the albatros that was the Apple car, could be the one to roll their own silicon and put an LLM in our back pockets.

Goodbye Siri, hello Seriously.

Re:Towards 1-bit Machine Learning Models by quentinp on Friday March 29, 2024 @01:28PM (#39866712)
Actually they plan to put an LLM in your back pocket using flash memory, not silicon: https://arxiv.org/abs/2312.11514
Re:Towards 1-bit Machine Learning Models by declaredapple on Friday March 29, 2024 @01:49PM (#39866942)
The flash doesn't do the computations though, that's just a method of getting it to the processor
Re:Towards 1-bit Machine Learning Models by sroussey on Friday March 29, 2024 @04:19PM (#39868568)
It would be better to have eeprom or some such directly attached as memory. No loading.
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.
Re:Towards 1-bit Machine Learning Models by talldayo on Friday March 29, 2024 @12:49PM (#39866198)
Or we could end up getting another Google integration, with iOS being too rigid and locked-down to feasibly support third-party private AI alternatives. Fate has a cruel sense of humor, sometimes.
Re:Towards 1-bit Machine Learning Models by odyssey7 on Friday March 29, 2024 @01:04PM (#39866379)
Are you referring to the Swift version of TensorFlow?

https://www.infoworld.com/article/3608151/swift-for-tensorfl...

Re:Towards 1-bit Machine Learning Models by Me1000 on Friday March 29, 2024 @03:34PM (#39868092)
I believe they're referring to these rumors: https://www.macrumors.com/2024/03/21/apple-iphone-ai-talks-g...
Re:Towards 1-bit Machine Learning Models by JKCalhoun on Friday March 29, 2024 @05:02PM (#39868972)
Could be a way for Apple to buy time as well until they do have something competitive.