Skip to page content
SAVRN
Search Plan a project

Dataset

ane-rooflines

by ANEForge aneforge/ane-rooflines

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).

Rows9
Configurations1
Size1.6 MB
Licensemit
AccessPublicly accessible
Monthly Downloads597

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_tflops is 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_s currently 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); slice clamps |value|>4094 on pre-A16 parts and is exact on A16+; reduce is 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

SplitRowsSize
train92.0 KB
chipstringmodel_identifierstringhardware_hashstringp_coresint64e_coresint64gpu_coresint64ram_gbint64macos_versionstringmacos_buildstringaneforge_versionstringpowerstringcontributorstringpeak_fp16_gemm_tflopsfloat64bandwidth_gbpsfloat64ridge_flop_per_bytefloat64peak_perf_per_w_gflopsfloat64decode_tok_sfloat64matmul_inf_cliffstringslice_x16_cliffstringreduce_exact_sumstringtimestamp_utctimestamp[s]

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.

Data13 files · 1.6 MB
Documentation2 files · 9.0 KB
Repository1 file · 2.5 KB
Every file
FileTypeSizeSHA-256
raw/roofline-apple-m1-MacBookAir10_1-bb9e71be3ae6-22b6e4fa.jsonData116.4 KB—
raw/roofline-apple-m1-MacBookPro17_1-dcf5b8a7dd09-b1ab0125.jsonData83.8 KB—
raw/roofline-apple-m1-max-MacBookPro18_2-8dc9588b5db6-2d0173cb.jsonData89.3 KB—
raw/roofline-apple-m1-max-MacBookPro18_2-8dc9588b5db6-85ebfafa.jsonData91.5 KB—
raw/roofline-apple-m2-pro-Mac14_12-723396ad9091-370b3d53.jsonData83.4 KB—
raw/roofline-apple-m2-pro-Mac14_12-723396ad9091-44d76599.jsonData115.4 KB—
raw/roofline-apple-m4-Mac16_12-d4109cd41a75-6779bad2.jsonData234.5 KB—
raw/roofline-apple-m4-max-Mac16_6-c77b1414be16-d11ec8da.jsonData234.7 KB—
raw/roofline-apple-m4-pro-Mac16_7-7fdf43ae2309-9094e75f.jsonData116.6 KB—
raw/roofline-apple-m5-Mac17_3-019d3ac27339-426ca052.jsonData93.1 KB—
raw/roofline-apple-m5-Mac17_3-019d3ac27339-dd5e5c95.jsonData92.8 KB—
raw/roofline-apple-m5-pro-Mac17_8-c38210cfc8ea-a154b89e.jsonData199.4 KB—
rooflines.jsonData5.9 KB—
README.mdDocumentation3.3 KB—
ROOFLINES.mdDocumentation5.7 KB—
.gitattributesRepository2.5 KB—

License and Download

License
mit
Access
No access gate
Download from ANEForge

Released by ANEForge through its official repository on Hugging Face. Read the license.