Add roofline data for Apple M1 (MacBook Pro 17,1) - #148
Conversation
Contributes fp16 numeric cliffs and fast-headline perf rooflines (GEMM/conv saturation, bandwidth) for issue sbryngelson#137. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…148) (#150) _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 #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 #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>
|
Thank you, @diegobauavi -- first fully-external roofline datapoint, and a valuable one: your M1 confirms the slice-x16 crop-DMA clamp at 4094 is present on M1 (matching M2 Pro, and contrasting M5 where it is exact), which brackets that cliff across the pre-A16 -> A16 boundary. Your M1 data is now on Closing as incorporated in #150. Thanks again -- please keep them coming, and sorry for the extra step on your end. |
Summary
bench/results/rooflines/roofline-apple-m1-MacBookPro17_1-dcf5b8a7dd09-b1ab0125.json, produced bybench/roofline_suite.py --perfon an Apple M1 MacBook Pro (MacBookPro17,1), AC power.bench/results/ROOFLINES.mdviabench/aggregate_rooflines.pyto include this machine.Contributes to the crowdsourced ANE roofline effort in #137.
Test plan
bench/roofline_suite.py --perfcompleted successfully (numeric cliffs + fast headline perf rooflines: saturation sweep, bandwidth roofline, decode measurement, roofline analysis)bench/aggregate_rooflines.pyregeneratedROOFLINES.mdwithout errors