Work

ANEForge: Python for direct computation on the Apple Neural Engine

Year: 2026
Type: software
Abstract: A maintenance release: bug fixes and a smoother first run. No API changes. Fixes OpenMP no longer aborts on import. import aneforge now sets KMP_DUPLICATE_LIB_OK before NumPy loads, so the NumPy/Torch + ANE-runtime duplicate-OpenMP clash no longer aborts the process (#5). OpenMP fork segfault in the test/bench harness fixed. Cross-compile guard: sub-MIL-floor targets are rejected cleanly instead of raising (#2). Runnable examples fixed: the topk batch path and the point-cloud demo no longer reference a path left dangling by the public-release scrub (#6). Hygiene & docs Dropped the KMP_DUPLICATE_LIB_OK=TRUE prefix from documented run commands and the stale _bridges "Run:" hints. ASCII-only source; colourised example output; dropped ASCII-art dividers (#1, #3). Version derived from the git tag (hatch-vcs); added PyPI / Read the Docs / Zenodo badges; install leads with pip install aneforge. Install: pip install --upgrade aneforge
Language: English
Open Access status: green
OpenAlex ID: W7164501313
Cites:
Cited by:
Related to: 10