Skip to content

bench: headline fallback for pre-#147 submissions; add M1 datapoint (#148) - #150

Merged
sbryngelson merged 1 commit into
sbryngelson:mainfrom
comp-physics:bench/headline-fallback-plus-m1
Aug 1, 2026
Merged

bench: headline fallback for pre-#147 submissions; add M1 datapoint (#148)#150
sbryngelson merged 1 commit into
sbryngelson:mainfrom
comp-physics:bench/headline-fallback-plus-m1

Conversation

@sbryngelson

Copy link
Copy Markdown
Owner

Two things, both consequences of #146/#147 landing while data was already in flight.

1. Headline fallback in aggregate_rooflines.py. _perf_headline now derives GEMM / bandwidth / ridge from the raw saturation + bandwidth sweeps when roofline_analysis is absent or errored. Submissions taken before #147 (where roofline_analysis KeyError'd on a device a sweep could not measure) carry a rc=1 blob for that step, so their headline GEMM/bandwidth/ridge were blank even though the numbers sit in the report. The fallback recovers them, and future-proofs the table against that whole failure class. Also widened the bandwidth cell format so sub-1 GB/s ANE values render correctly (0.86, not a rounded 1).

2. Incorporates the M1 datapoint from #148 (@diegobauavi, MacBook Pro 17,1). Its roofline_analysis errored exactly like M2 Pro's; the fallback recovers it. I pulled the submission JSON in here and regenerated the combined table because #148 conflicted on ROOFLINES.md after #145 merged (both regenerate it) -- closing #148 in favor of this, with credit preserved on the row and in the co-author trailer.

The table now spans M1 / M2 Pro / M5 Pro, and the science shows: matmul cliff ~32759 on all three (silicon-invariant), and the slice-x16 crop-DMA clamp present on M1 + M2, exact on M5 -- the pre-A16 -> A16/M5 transition bracketed by real data.

ruff clean; aggregate_rooflines.py --check green; ASCII-clean.

…datapoint (sbryngelson#148)

_perf_headline now falls back to the raw saturation + bandwidth sweeps for GEMM /
bandwidth / ridge when roofline_analysis is absent or errored -- so a submission
from before sbryngelson#147 (where roofline_analysis KeyError'd on a device a sweep could not
measure) still shows a full headline row instead of three blanks. Also widen the
bandwidth cell format so sub-1 GB/s ANE values read correctly (0.86, not 1).

Incorporates the Apple M1 (MacBook Pro 17,1) submission from sbryngelson#148 (@diegobauavi);
its roofline_analysis errored the same way M2 Pro's did, now recovered by the
fallback. Table now spans M1 / M2 Pro / M5 Pro, and the slice-x16 clamp shows
present on M1+M2, exact on M5 -- the pre-A16 -> A16 transition bracketed by data.

Co-authored-by: diegobauavi <diegobauavi@users.noreply.github.com>
@sbryngelson
sbryngelson merged commit 4a9bb9e into sbryngelson:main Aug 1, 2026
14 checks passed
@sbryngelson
sbryngelson deleted the bench/headline-fallback-plus-m1 branch August 1, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant