4 ms·
None of the current iOS and macOS LLM Apps use the Neural Engine. They use the CPU and the GPU. nb: I'm the author of a fairly popular app in that category.
by woadwarrior01 2y ago
None of the current iOS and macOS LLM Apps use the Neural Engine. They use the CPU and the GPU.
nb: I'm the author of a fairly popular app in that category.
- l33t7332273 2y agoWhy do they not?
- wpm 2y agoAFAIK there is no general purpose, "do this on the ANE" API. You have to be using specific higher level APIs like CoreML or VisionKit in order for it to end up on the ANE.
- jjtheblunt 2y agoHow would you know none of the apple apps use the neural engine? Is the key in the statement “LLM”?
- woadwarrior01 2y agoYes, I specifically meant autoregressive LLMs. BERT style encoder only models, ViTs and CNNs ran perfectly fine. Yesterday's coremltools update[1] changes that. [1]: https://github.com/apple/coremltools/pull/2232 https://github.com/apple/coremltools/pull/2232