ANEForge icon indicating copy to clipboard operation
ANEForge copied to clipboard

Pythonic binding to the Apple Neural Engine

Results ANEForge issues
Sort by recently updated
recently updated
newest added

Follow-ups from reviewing #294 (SMC-rail ANE power), none of them blocking. cc @751K 1. **Does the rail sampler slow the benchmark?** Wherever `RailSampler.create()` succeeds (M4, M5, M6), the sampler now...

enhancement

We are characterizing the Apple Neural Engine's rooflines across the whole Apple Silicon line -- and we need runs from machines we do not have. **If you have any Mac...

help wanted
good first issue

The perf/W numbers (`device_saturation_sweep.py`, `device_serving_sweep.py`, `decode_measurement.py`, `device_compare_wattcomplete.py`) read ANE power from the `ANE Power:` line of `sudo powermetrics --samplers ane_power`. There are two problems with that: 1. **On Apple M6,...

enhancement

Reported in #285 by @diegobauavi. `bench/_machine.py:_git_info` records how the benchmarked checkout relates to canonical `main` by taking the merge-base against the first of `origin/main` or `main` that exists. For a...

bug
good first issue

## Summary On an **M4 Pro (Mac16,7) running macOS 27.0.1**, the ANE compiler deterministically rejects several *backward* graphs. `examples/demo.py` (the README hero) fails in `Trainer.__init__` while compiling its per-parameter gradient...

**Environment:** Mac mini M4 Pro (Mac16,11), macOS 27.2 (26B5091g), ANEForge main at 2e4b0e7, Python 3.12, `pip install -e ".[dev]"` (no torch). The main MIL -> e5rt path works well here:...

`detrend(x, type='linear'|'constant')` removes a trend before spectral work. `type='constant'` subtracts the mean (one reduce, already available). `type='linear'` fits and subtracts a least-squares line -- a length-2 fit that goes straight...

enhancement
good first issue

`examples/README.md` catalogues 50+ runnable demos, but after the curated "Start here" block it is a long flat list. New visitors cannot easily find "the LLM ones" or "the training ones"....

documentation
good first issue

ONNX `Hardmax(axis)` puts `1.0` at the argmax position along `axis` and `0.0` everywhere else -- an argmax followed by a one-hot, both primitives already present (`Tensor.argmax`, and `OneHot` is already...

enhancement
good first issue

#215 / #224 folded GPT-2 into LlamaPrefill with host-side lm_head and wpe. speculative.py already has _build_lm_head that runs the head on the ANE as a tiled compile_multi, amortising cost over...