Cross-Apple-Silicon performance and fp16-correctness measurements for the Apple Neural Engine (ANE), collected with ANEForge. Each row is one machine (grouped by hardware hash; identical silicon in different chassis stays distinct by model identifier).
Dataset Card
By ANEForge, published under mit, revision 260cbc55d676.
Cross-Apple-Silicon performance and fp16-correctness measurements for the Apple Neural Engine (ANE), collected with ANEForge. Each row is one machine (grouped by hardware hash; identical silicon in different chassis stays distinct by model identifier).
See it charted: the ANE leaderboard ranks these machines by peak GEMM, perf-per-watt, and decode throughput.
These are community-contributed submissions mirrored from the public
bench/results/rooflines/
in the repo. The full per-size sweeps live in raw/; rooflines.json is the flattened
headline table; ROOFLINES.md is the human-readable version.
from datasets import load_dataset
ds = load_dataset("aneforge/ane-rooflines") # the flattened headline table
Columns
| column | meaning |
|---|---|
chip, model_identifier, hardware_hash |
machine identity |
p_cores, e_cores, gpu_cores, ram_gb |
CPU perf/efficiency cores, GPU cores, unified memory |
macos_version, macos_build, aneforge_version |
software the run was recorded under |
power |
ac, ac (high-power), or battery at run time |
contributor |
GitHub handle who submitted the run |
peak_fp16_gemm_tflops |
headline compute peak (measured on every machine) |
bandwidth_gbps, ridge_flop_per_byte |
streaming bandwidth and the ridge point |
peak_perf_per_w_gflops |
peak GFLOP/s per watt |
decode_tok_s |
single-stream LLM decode throughput |
matmul_inf_cliff, slice_x16_cliff, reduce_exact_sum |
fp16 correctness cliffs (magnitudes where the engine silently returns a wrong answer) |
timestamp_utc |
when the run was recorded |
Reading notes
peak_fp16_gemm_tflopsis the most robust cross-chip number. Bandwidth/ridge come from a streaming sweep and are more dispatch-overhead-sensitive on smaller/older parts, so treat them as indicative.decode_tok_scurrently reports only on A16+ (e.g. M5). The decode benchmark's 32000-vocab head exceeded the 16384 max matmul dimension on the A13-A15 families; a tiled head fixes this and the older machines re-run to populate it. Blank means the run predates the tiled head, not that the chip cannot decode.- Correctness cliffs are magnitude thresholds, independent of clock, so they are valid
even on battery.
matmul~fp16_max/2(~32752);sliceclamps|value|>4094on pre-A16 parts and is exact on A16+;reduceis bit-exact for integer sums up to 2048.
Contribute your chip
Run the suite on any Apple Silicon Mac and open a PR:
PYTHONPATH=. python3 bench/roofline_suite.py --contributor <your-gh-handle>
See the roofline drive. More chip generations sharpen the per-family map.
Cite
Bryngelson, S. H. ANEForge: Python for direct computation on the Apple Neural Engine. arXiv:2606.17090 (2026).
Structure
default 9 rows
| Split | Rows | Size |
|---|---|---|
| train | 9 | 2.0 KB |
Details
- Repository
- aneforge/ane-rooflines
- Publisher
- ANEForge
- Task category
- Not stated by the source
- Tags
- benchmark, apple-neural-engine, apple-silicon
- Size category
- n<1K
- Languages
- Not stated by the source
- Revision
- 260cbc55d6762f917007c9a4bd0b3e5fe95c1af6
- Last updated
- 2026-10-05
Files
16 files, 1.6 MB in total.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| raw/roofline-apple-m1-MacBookAir10_1-bb9e71be3ae6-22b6e4fa.json | Data | 116.4 KB | — |
| raw/roofline-apple-m1-MacBookPro17_1-dcf5b8a7dd09-b1ab0125.json | Data | 83.8 KB | — |
| raw/roofline-apple-m1-max-MacBookPro18_2-8dc9588b5db6-2d0173cb.json | Data | 89.3 KB | — |
| raw/roofline-apple-m1-max-MacBookPro18_2-8dc9588b5db6-85ebfafa.json | Data | 91.5 KB | — |
| raw/roofline-apple-m2-pro-Mac14_12-723396ad9091-370b3d53.json | Data | 83.4 KB | — |
| raw/roofline-apple-m2-pro-Mac14_12-723396ad9091-44d76599.json | Data | 115.4 KB | — |
| raw/roofline-apple-m4-Mac16_12-d4109cd41a75-6779bad2.json | Data | 234.5 KB | — |
| raw/roofline-apple-m4-max-Mac16_6-c77b1414be16-d11ec8da.json | Data | 234.7 KB | — |
| raw/roofline-apple-m4-pro-Mac16_7-7fdf43ae2309-9094e75f.json | Data | 116.6 KB | — |
| raw/roofline-apple-m5-Mac17_3-019d3ac27339-426ca052.json | Data | 93.1 KB | — |
| raw/roofline-apple-m5-Mac17_3-019d3ac27339-dd5e5c95.json | Data | 92.8 KB | — |
| raw/roofline-apple-m5-pro-Mac17_8-c38210cfc8ea-a154b89e.json | Data | 199.4 KB | — |
| rooflines.json | Data | 5.9 KB | — |
| README.md | Documentation | 3.3 KB | — |
| ROOFLINES.md | Documentation | 5.7 KB | — |
| .gitattributes | Repository | 2.5 KB | — |
License and Download
- License
- mit
- Access
- No access gate
Released by ANEForge through its official repository on Hugging Face. Read the license.