Tune Kimi2.5 A8W8 BPreshuffle GEMMs#3520
Open
XiaobingSuper wants to merge 2 commits into
Open
Conversation
Add the validated TP4 attention GEMM tuning results for Kimi-K2.5-MXFP4-AttnFP8 so runtime dispatch can use the measured BPreshuffle kernels. Co-authored-by: Cursor <[email protected]>
Include the untuned TP4 attention GEMM shape list used to generate and validate the Kimi-K2.5 BPreshuffle tuning config. Co-authored-by: Cursor <[email protected]>
Contributor
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds model-specific A8W8 BPreshuffle GEMM shape lists and corresponding tuned kernel selections for Kimi-K2.5-MXFP4-AttnFP8 (TP4), intended to improve the FP8 PT/PC attention GEMM path performance on gfx950.
Changes:
- Add Kimi2.5 BPreshuffle untuned GEMM shape CSV (M sweep for several (N,K) pairs, FP8 weights).
- Add Kimi2.5 BPreshuffle tuned GEMM CSV with per-shape selected kernels/IDs and measured timings.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| aiter/configs/model_configs/a8w8_bpreshuffle_untuned_gemm_kimik25.csv | New untuned shape list (M,N,K,q_dtype_w) for Kimi2.5 BPreshuffle tuning inputs. |
| aiter/configs/model_configs/a8w8_bpreshuffle_tuned_gemm_kimik25.csv | New tuned results mapping shapes → kernel selections/metrics for Kimi2.5 BPreshuffle GEMMs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Benchmark
Tested with docker
vllm_atom_vllm_0603on GPUs 0,1,2,3. Baseline uses the default A8W8 BPreshuffle config; tuned uses the new Kimi2.5 config.Test plan
Made with Cursor