benchmarks: add Apple I8MM affine-QMM evidence harness - #4235
Draft
PhilipJohnBasile wants to merge 1 commit into
Draft
benchmarks: add Apple I8MM affine-QMM evidence harness#4235PhilipJohnBasile wants to merge 1 commit into
PhilipJohnBasile wants to merge 1 commit into
Conversation
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
This draft adds an opt-in Apple arm64 evidence harness for comparing MLX affine 8-bit QMM against two dynamic-int8 activation controls:
vusmmlaq_s32It follows the closed #4197 discussion and is intended only to inform a possible future ARM path alongside Highway work in #3019.
Scope
This draft:
throughput: nullIt is not evidence of a public speedup, model-level quality, production readiness, Highway integration, or MLX source/binary provenance.
Why this shape
The earlier microbenchmark compared against a scalar stand-in and mixed activation-reuse gains with I8MM gains. This harness adds an actual MLX baseline, a same-preparation dot-product control, alternating measurement order, tail/edge coverage, and explicit fail-closed claim boundaries.
Validation
Possible extraction path
If the evidence eventually supports production work, activation reuse, the I8MM tile, and ARM Highway/CMake dispatch should be developed and reviewed as separate changes.