News for hackers. Stuff that matters.
Re:Apple releases eight small AI language models aimed at on... by philjohn on Friday April 26, 2024 @04:40AM (#40167140)
It probably helps that Apple Silicon has dedicated die space to the Neural Engine - essentially a TPU. No good for training, great for inference.
Re:Apple releases eight small AI language models aimed at on... by anentropic on Friday April 26, 2024 @07:59AM (#40168272)
these most likely aren't using the Neural Engine

the ANE seemed to be optimised for small vision models like you might run on an iPhone a couple of years ago

these will be running on the GPU

Re:Apple releases eight small AI language models aimed at on... by smpanaro on Friday April 26, 2024 @09:09AM (#40169020)
I bet these can all run on ANE. I’ve run gpt2-xl 1.5B on ANE [1] and WhisperKit [2] also runs larger models on it.

The smaller ones (1.1B and below) will be usably fast and with quantization I suspect the 3B one will be as well. GPU will still be faster but power for speed is the trade-off currently.

[1] 7 tokens/sec https://x.com/flat/status/1719696073751400637 [2] https://www.takeargmax.com/blog/whisperkit

Re:Apple releases eight small AI language models aimed at on... by anentropic on Friday April 26, 2024 @01:08PM (#40171830)
indeed, but probably not as written currently?

i.e they would need converting with e.g. your work in more-ane-transformers

Re:Apple releases eight small AI language models aimed at on... by davedx on Friday April 26, 2024 @07:16AM (#40167979)
I’ve been reading up on this recently but devs say ANE is kinda a pain in the ass to leverage; most OSS is using gpu instead