Add M5 Max benchmark — first H17 ANE on record#50
Open
lixiangnlp wants to merge 1 commit intomaderix:mainfrom
Open
Add M5 Max benchmark — first H17 ANE on record#50lixiangnlp wants to merge 1 commit intomaderix:mainfrom
lixiangnlp wants to merge 1 commit intomaderix:mainfrom
Conversation
_ANEDeviceInfo.aneSubType returns "h17" on M5 Max (M4 / base M5 = "h16"), but peak FP16 (19.27 TFLOPS) and INT8 W8A8 (35.61 TOPS) match M4 within 4%. Stories110M static 90.0 ms/step, dynamic 73.5 ms/step; Qwen3-0.6B dynamic 320.0 ms/step (1.29× M4 baseline). Training gains over base M5 are CPU-driven (12 P-cores + Accelerate), not ANE-driven. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
_ANEDeviceInfo.aneSubTypereturnsh17on M5 Max — distinct from theh16subtype reported by both M4 and the base M5 (pertraining/m5result.md). This is the first H17 ANE incommunity_results.json.Stories110M73.5 ms/step (dynamic) andQwen3-0.6B320 ms/step (1.29× the README's M4 412 ms baseline) come from the 12 P-cores + Accelerate, whileane_msis essentially flat across M4/M5/M5 Max.Full probe report (
inmem_peak,inmem_bench,sram_bench,ane_int8_bench, dynamic + static training) lives inbenchmarks/m5max_result.md.Files changed
benchmarks/m5max_result.md— new, ~180-line probe + training report aligned with the format used bytraining/m5result.mdbenchmarks/community_results.json— adds an M5 Max training entry and updatesneural_engine_specswith the H17 subtype fieldTest plan
inmem_peak,inmem_bench,sram_bench,ane_int8_benchall build with the existing one-linexcrun clang …invocations on macOS 26.4.1training/training_dynamicbuilds for bothMODEL=stories110mandMODEL=qwen3_06btraining/train_large(static pipeline) builds and runs with random init when no pretrained weight file is presentpython3 -c "import json; json.load(open('benchmarks/community_results.json'))"parses cleanly after the edit🤖 Generated with Claude Code