Live data from Hacker News

Transformer architecture optimized for Apple Silicon

github.com

1–10 of 342 posts

Re: Transformer architecture optimized for Apple Silicon

#6

As someone entirely at sea with the rapid pace of development in this sphere: 1. Is this a new LLM from Apple? 2. Is this a way to optimize running LLMs like Llama locally on M1 macs? 3. Something else altogether?

2. A Transformer is a core building block of LLMs.

> [T]he device spec for this reference implementation is M1 or newer chips for the Mac and A14 and newer chips for the iPhone and iPad

Re: Transformer architecture optimized for Apple Silicon

#7
i'd say within 5 years apple will have optimized apple silicon and their tech, along with language model improvements, such that you will be able to get gpt-4 level performance in the iPhone 19 with inference happening entirely locally.

openai is doing great work and is serious competition, but I think many underestimate big tech. once they're properly motivated they'll catch up quick. I think we can agree that openai is a sufficient motivator.

Re: Transformer architecture optimized for Apple Silicon

#8

As someone entirely at sea with the rapid pace of development in this sphere: 1. Is this a new LLM from Apple? 2. Is this a way to optimize running LLMs like Llama locally on M1 macs? 3. Something else altogether?

It's none of those things. It is tweaks of other existing code to run better on apple's hardware. This other article is far more informative than the repo: https://machinelearning.apple.com/research/neural-engine-tra...

Re: Transformer architecture optimized for Apple Silicon

#9

As someone entirely at sea with the rapid pace of development in this sphere: 1. Is this a new LLM from Apple? 2. Is this a way to optimize running LLMs like Llama locally on M1 macs? 3. Something else altogether?

#2. A way to optimize running LLMs locally on Apple Silicon (including iPhones)

I am just a little better informed. As I understand it, their code improves model performance and memory consumption using PyTorch and Huggingface libraries.

Post reply on HN