Comment

Comment by woadwarrior01

Encoder only transformers (like BERT) can be made to run on neural engine with CoreML. Efficient inference with autoregressive encoder-decoder and decoder only transformers (aka LLMs) needs KV-caching, which currently can't be efficiently implemented with CoreML (and thus neural engine). So, for now it's GPU only, with Metal.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton