ANEForge

Run computation on the Apple Neural Engine (ANE) directly — without CoreML.

ANEForge compiles a lazy tensor graph into a single fused ANE program and dispatches it through the same daemon and kernel-driver stack Apple's own frameworks use. In production the ANE is reachable only through CoreML, which can silently fall back to CPU/GPU; ANEForge targets the engine directly.

GitHub PyPI Docs Paper

What runs on the engine

Performance

A small fused program completes a call in ~90 us, near the engine's ~70 us per-program dispatch floor; a pretrained ResNet-18 forward runs end to end in ~0.33 ms. Apple Silicon, macOS 14+.

On the Hub

Install: pip install aneforge. The ANE only exists on Apple Silicon, so ANEForge runs on your own Mac.

Cite: Bryngelson, S. H. ANEForge: Python for direct computation on the Apple Neural Engine. arXiv:2606.17090 (2026).