Skip to content

[Config] [Perf] Tune gfx1250 Kimi K3 TP1 DSpark gate_up at M96 - #8706

Open
ZLkanyo009 wants to merge 1 commit into
ROCm:mainfrom
ZLkanyo009:tune/kimi-tp1-dspark-gate-up-m96-20261125
Open

ZLkanyo009 wants to merge 1 commit into
ROCm:mainfrom
ZLkanyo009:tune/kimi-tp1-dspark-gate-up-m96-20261125

Conversation

@ZLkanyo009

Copy link
Copy Markdown
Contributor

Add one gfx1250/CU256 Kimi K3 TP1 DSpark gate_up MXFP8/E8M0 tuning row at M96, N28672, K7168. Native default lookup changes M81-96 from fallback kernel222 to kernel132. M80 and M97 retain their original selections. All 303 prior CSV rows and their bytes are preserved; only this row is appended.

The comparison uses parent 3fd42598ca239020765f3eb9be84fc5f84cd8d6c and exact candidate 3649f511146e6f93d68c7d34f89fc38419763cad with identical backend source. Hardware and runtime: gfx1250/CU256, native1120 image sha256:4a4ca99b58fa9a2ea949431cf6063d84532a6c88c6d210cda81d35fbd28c81d0, FlyDSL 0.5.3, NUMA balancing 0.

M Baseline us Candidate us Baseline TFLOPS Candidate TFLOPS Throughput increase Paired latency reduction
81 79.7391 42.7075 417.54 779.59 86.71% 46.47%
96 79.4981 43.6020 496.36 905.00 82.33% 45.09%

Each BF16-output stage times the complete native backend with FP8/E8M0 inputs and full TP1 N/K. The protocol uses 16 rotating weight copies (3,288,535,040 bytes), 32 graph calls, seven ABBA rounds and seven A/A controls. All seven paired rounds favor the candidate. Maximum absolute null drift is 0.5305% at M81 and 0.4719% at M96. TFLOPS uses pooled per-arm median latency; paired reduction uses the median of round ratios. CSV timing cells stay blank. These measurements cover the affected interval's endpoints; interior points, public-wrapper cost and model/E2E performance were not timed.

Validation of this exact candidate:

  • Both public allocating and out APIs pass at M80/81/96/97 with BF16 and FP16 output: 32 full-output checks, 81,199,104 compared elements, eager execution and NaN-poisoned graph replay. Real Python/JIT padding is exercised.
  • Native no-device selection checks verify 9,029 source files per arm, all five default table inputs, and 4,292 parent / 4,293 candidate merged keys. The parent correctly uses fallback and the candidate uses the appended row. Accepted native scalar padding is reused.
  • Paired stages add eight full-output checks with full-K references and TF32 disabled. All checks use rtol=atol=0.01 and maximum mismatch fraction 5%. Public maximum mismatch is 0.757853% for BF16 and 0.712549% for FP16. Observed mismatches are nonzero; this is tolerance-based correctness.
  • Both public dtype stages and both paired GPU stages exited 0, preserved their raw results and removed the exact owned containers. No new matching fault lines appeared in the retained intervals. CI and reviewer assessment remain separate.

Observed upstream main at 2026-11-25T18:22:55.838397+00:00: 8b98c823cccb4be51d1ea0962e76d791907f5b79. Measurements remain bound to the parent and candidate above. The earlier a3005ac8 exploratory result is separate from this main comparison.

Tracking: https://github.com/wuhuikx/LLM-Booster/issues/710

@ZLkanyo009
ZLkanyo009 requested a review from a team November 25, 2026 18:23
@github-actions

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

  • ✅ Pre-checks (submodule verification, code formatting)
  • ✅ Aiter standard tests on MI35X
  • ✅ Triton tests on MI35X (only when aiter/ops/triton/** or related paths are changed)

Extended tests (opt-in via labels):

Label Tests
ci:mi300x Run Aiter standard tests on MI300X in PRs; main branch always runs them
ci:gfx1250-ffm-triton Run the five-shard gfx1250 FFM Triton test suite
ci:triton-300x Run an additional Triton test job on MI300X in PRs (added automatically when gfx942 configs change); main branch always runs both MI35X and MI300X
ci:triton-355 Run the full Triton test suite on MI35X, not only the tests the change affects
ci:windows Windows JIT op smoke test on the Radeon R9700 ROCm runner
ci:multi-gpu Aiter multi-GPU tests on the 8-GPU runner
ci:sglang SGLang integration tests: DeepSeek-R1-MXFP4 accuracy, Qwen 3.5 accuracy
ci:atom ATOM benchmark: DeepSeek-R1-0528, GPT-OSS-120B
ci:atom_full ATOM accuracy suite for PR and main models from ATOM models_accuracy.json
ci:vllm vLLM benchmark: DeepSeek-V4-Pro, MiniMax-M3-MXFP4
ci:all All standard extended tests (excludes ci:atom_full)

Only add ci:atom_full for FlyDSL or Triton upgrades.
Add labels via the sidebar or gh pr edit 8706 --add-label <label>

One backend per PR:
A PR changes one kernel backend: [Triton/Gluon] (Triton and Gluon count as one), [HIP], [ASM], [CK], [OPUS] or [FlyDSL]. If the title ends up with two backend tags, split the PR -- as stacked pull requests when one part cannot merge without the other.

PR title tags & labels:
Component tags ([Triton/Gluon], [HIP], [CK], [ASM], ...) are added to the PR title and as PR labels automatically from the changed files and re-synced on every push — change-type tags like [fix]/[Perf], op tags like [MLA], and human labels (ci:*) are left untouched. Add the no-auto-title label to stop the title rewrites; labels stay in sync either way.

Reviews:
A reviewer is usually assigned within one working day after the PR is ready for review (see Code Review Process). If nobody has responded for about a week, mention the area contact listed in CONTACTS.md. Want to help review? See REVIEWERS.md.

@github-actions github-actions Bot changed the title [Perf] Tune gfx1250 Kimi K3 TP1 DSpark gate_up at M96 [Config] [Perf] Tune gfx1250 Kimi K3 TP1 DSpark gate_up at M96 Nov 25, 2026
@aiter-bot

Copy link
Copy Markdown

WAITING ON AUTHOR

PR Self-Review

Revision 3649f511146e · mode shadow

Waiting for the PR author. The readiness report will appear after the self-review answers are complete for this revision.

Questions to answer in the PR description

  1. What behavior does this PR change, and why is the existing behavior insufficient?
  2. What did you validate, and what remains unverified? Include commands, hardware/configuration and results.
  3. Which exact workload keys consume these configuration changes, and what evidence shows that unrelated shapes keep their previous selection?
  4. For every changed op_tests/ file, what behavior does it cover and why is it not redundant? Write None if no op test changed.

Edit the PR Self-Review section in the PR description. Include the current revision SHA; this comment refreshes automatically.

Missing or invalid answers

  • FAIL — missing ### Reviewed revision in the PR description
  • FAIL — missing ### Behavior and intent in the PR description
  • FAIL — missing ### Validation and unverified scope in the PR description
  • FAIL — missing ### PR-specific question in the PR description
  • FAIL — missing ### Changed op tests in the PR description
  • FAIL — Reviewed revision must contain at least the first 7 characters of the current head SHA
  • FAIL — Behavior and intent has no substantive answer
  • FAIL — Validation and unverified scope has no substantive answer
  • FAIL — PR-specific question has no substantive answer

Shadow mode reports what would block but keeps the status successful. Set AITER_PR_SELF_REVIEW_MODE=enforce only after reviewing real false positives.

@ZLkanyo009

Copy link
Copy Markdown
Contributor Author

Superseded as the review entry for this tuning batch by #8729 (head 0cbdcc3ea501d0cf2c957af7e5c65dea51147add). The consolidated main PR includes this PR's final changes at 3649f511146e6f93d68c7d34f89fc38419763cad and links the original validation and review history. Its CPU composition checks preserve the final configuration choices; the original GPU results keep their measured-source and protocol limits.

Please use the consolidated PR for review of this batch. This source PR remains open for provenance; no merge or closure is performed here, and the two should not be merged independently.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants