ANE Training is an experimental research project that demonstrates how to train neural networks directly on Apple’s Neural Engine by leveraging reverse-engineered private APIs that are normally inaccessible to developers. The repository implements a from-scratch transformer training pipeline capable of running both forward and backward passes on ANE hardware without relying on CoreML, Metal, or GPU acceleration. It explores the internal software stack of the Apple Neural Engine by interfacing with private classes such as _ANEClient and compiling custom compute graphs in the MIL format. The project includes performance benchmarks and kernel breakdowns that show how different components of the training loop are distributed between the ANE and CPU. It is primarily intended as a research and educational proof of concept rather than a production library, highlighting what is technically possible with undocumented hardware access.

Features

  • Direct neural network training on Apple Neural Engine
  • Reverse-engineered private API access
  • Transformer forward and backward pass implementation
  • Custom MIL graph compilation pipeline
  • Performance benchmarking and kernel analysis
  • Hybrid ANE and CPU training workflow

Project Samples

Project Activity

See All Activity >

Categories

Machine Learning

License

MIT License

Follow ANE Training

ANE Training Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ANE Training!

Additional Project Details

Programming Language

Objective C

Related Categories

Objective C Machine Learning Software

Registered

2026-03-02