<- Back
Comments (53)
- LatencyKillsI worked on the Xcode team for years and know the lengths Apple goes to make this stuff difficult to figure out.I just wanted to say that you’ve done an excellent job and am looking forward to the 3rd installment.
- zozbot234Much of this information we already knew the very basics of from documentation of the M1/M2 ANE as accessed via bare-metal from Asahi Linux, but it's nice to see confirmation and it being explored in further depth. Note that according to OP Parts 1/2 for very large matmuls CoreML adds little to no overhead compared to the lower-level interface, so there seems to be plenty of scope for supporting ANE for prefill in local AI frameworks. Decode is generally memory-bandwidth limited unless context is very large, and the ANE requires special handling (converting from matmul to 1x1 convolution as described here is wasteful of memory bandwidth, as is potentially dequantizing to INT8/FP16 in memory) so it's less of a clear win.
- Octoth0rpePart 2 has benchmarks: https://maderix.substack.com/p/inside-the-m4-apple-neural-en...6.6 FLOPS/W, plus the ability to completely turn off when not in use, so 0W at idle.
- behnamohIt's insane that the source code of ANE is not available even to the MLX team, possibly one of the reasons Awni (MLX project head) left Apple.
- notepad0x90I've been guilty of this myself, but every other comment here is like "What about <insert something unrelated to the topic but related to apple>".
- grey-areaIf only they could fix the iOS autocomplete, which is getting worse with every iteration.
- mattlangstonThe future is bright for software engineers.The big takeaway isn't reverse engineering the ANE per se, but what Manjeet could do with his software engineering skills when accelerated by AI.This is a good example of the present state of software engineering. Not future state - present state.
- GeekyBearThe recent news is that Apple is supposedly replacing the Core ML framework with an updated version that will make it easier to integrate third party LLMs into your apps.> the company is also planning a few other software-based AI upgrades, including a new framework called Core AI. The idea is to replace the long-existing Core ML with something a bit more modern.https://www.bloomberg.com/news/newsletters/2026-03-01/apple-...
- love2readThis article was clearly written by a human (and AI) but still has a few "LLMisms" such as:- The key insight - [CoreML] doesn't XXX. It YYY.With that being said, this is a highly informative article that I enjoyed thoroughly! :)The article links to their own Github repo: https://github.com/maderix/ANE
- eleventyseven> Throughout this series, “we” refers to maderix (human) and Claude Opus 4.6 (by Anthropic) working as a pair. The reverse engineering, benchmarking, and training code were developed collaborativelySure, "collaboratively." Why would I ever trust a vibe coded analysis? How do I, a non expert in this niche, know that Opus isn't pulling a fast one on both of us? LLMs write convincing bullshit that even fools experts. Have you manually verified each fact in this piece? I doubt it. Thanks for the disclaimer, it saved me from having to read it.
- giancarlostoroReverse Engineering with AI is only going to get better. I have seen some crazy things friends of mine have done with Claude alone. Let's just says SaaS isn't the only industry that could one day suffer.
- mayhemducksI never realized just how much hardware engineering Apple dedicated to enabling people to type faster with their thumbs!
- kamranjonI have always wondered if the neural engine could be used for training - pretty excited for part 3 of this to see if the juice is actually worth the squeeze
- daoistmonkTangential: Is anyone doing something similar to accelerate the support matrix of Linux on anything higher than M2?
- msieI remember the good old days when Apple was desperate for developers and produced great documentation and there were a lot of great 3rd-party books too. You can't just give out awards in hopes that someone will make that great app.
- ericol> human intuition driving the explorationThis, a thousand times this.For me, what AI brings is augmented humans. Just as we don't calculate on paper anymore, what is the reason of doing things by hand when a machine in X times better.Want to code by hand, as artisans of old? Suit yourself.I, for one, love the smell of burning chrome.
- FL33TW00DUnreadable Claude slop
- techpulse_x[dead]
- poszlemGenuine question, not trying to throw a shade or anything, but are those cores actually useful with the state of apple intelligence being what it is?