Skip to content

[Config] Kimi-K3 TP8 gfx1250 grouped MoE: fit the 16384-token row's stage-2 k-tile to K - #7963

Merged
zufayu merged 1 commit into
mainfrom
ci455/20261114-kimi-k3-tp8-tile-k2
Nov 17, 2026
Merged

zufayu merged 1 commit into
mainfrom
ci455/20261114-kimi-k3-tp8-tile-k2

Conversation

@zejunchen-zejun

@zejunchen-zejun zejunchen-zejun commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

kimik3tp8_tuned_grouped_fmoe.csv runs the token=16384 row's stage 2 (K = inter_dim = 384 per TP8 expert slice) with tile_k2 = 512, larger than K. The gfx1250 TDM grouped GEMM then reads past the expert slice and the GPU faults in mxfp4_tdm_fp4_t128x128x512_..._K384_e896 ("Page not present"). ATOM's warmup prefills 2 x 8192 tokens, so Kimi-K3 TP8 hits this row at every server start.

Use tile_k2 = 128, which every other row of the table uses and which divides 384. The row came from #7296; the other 14 rows are unchanged.

Verified on two MI455X nodes (Kimi-K3 TP8 + DCP8 with DSpark, ATOM main 9fec99786 + ROCm/ATOM#2647 + #2760, aiter main b6f1ff6 + #7912 + #7913

  • this change). The server starts where it faulted in warmup before. GSM8K 5-shot is 0.9606 flexible / 0.9613 strict, and the MLPerf Endpoints agentic bench completes 293/293 samples at c4 and 1703/1703 at c64.

…n row's stage-2 k-tile to K

kimik3tp8_tuned_grouped_fmoe.csv runs the token=16384 row's stage 2
(K = inter_dim = 384 per TP8 expert slice) with tile_k2 = 512, larger
than K. The gfx1250 TDM grouped GEMM then reads past the expert slice and
the GPU faults in mxfp4_tdm_fp4_t128x128x512_..._K384_e896 ("Page not
present"). ATOM's warmup prefills 2 x 8192 tokens, so Kimi-K3 TP8 hits
this row at every server start.

Use tile_k2 = 128, which every other row of the table uses and which
divides 384. The row came from #7296; the other 14 rows are unchanged.

Verified on two MI455X nodes (Kimi-K3 TP8 + DCP8 with DSpark, ATOM main
9fec99786 + ROCm/ATOM#2647 + #2760, aiter main b6f1ff6 + #7912 + #7913
+ this change). The server starts where it faulted in warmup before.
GSM8K 5-shot is 0.9606 flexible / 0.9613 strict, and the MLPerf Endpoints
agentic bench completes 293/293 samples at c4 and 1703/1703 at c64.
@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 7963 --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.

zejunchen-zejun added a commit to ROCm/ATOM that referenced this pull request Nov 14, 2026
… repro commands

The result is pasted to Teams for the bosses as it is, so make_report.py
now writes:
- a head with the full image name and ATOM / aiter as branch, full commit
  and commit date;
- one short highlight per model: what failed or changed, why (the new
  `problem` column of followups.csv), and the PRs it needs, with each repo
  named once ("#2647 + #2760"). Next steps read "Needs ... (open)",
  "Passes with ... (verified)", "No fix yet; repro", and the new merged_pr
  "Fixed on main by ... (merged after the image was built)";
- a Problem column in the Follow-ups table;
- for each failure, how to reproduce it: the test container's docker run
  and the recorded *_cmd*.sh (servers, GSM8K, bench), with the MLPerf
  Endpoint client they share shown once.

The guide (§3.7, §5), the tools README, the tests and the examples follow;
findings are kept to a few lines. The suggested follow-up row is now built
from FOLLOWUP_COLUMNS: it still had a column for the owners removed earlier.

2026-11-14: Kimi-K3 now has ROCm/aiter#7963 (our K3 TP8 MoE tuning fix)
and records our_pr; Qwen-35B-A3B records merged_pr; the findings are short
and the result is regenerated.
@zejunchen-zejun
zejunchen-zejun marked this pull request as ready for review November 16, 2026 03:03
@zejunchen-zejun
zejunchen-zejun requested review from a team and a balanced review from Copilot November 16, 2026 03:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions github-actions Bot changed the title [FlyDSL] [Config] Kimi-K3 TP8 gfx1250 grouped MoE: fit the 16384-token row's stage-2 k-tile to K [Config] Kimi-K3 TP8 gfx1250 grouped MoE: fit the 16384-token row's stage-2 k-tile to K Nov 16, 2026
@aiter-bot

aiter-bot commented Nov 16, 2026 •

Copy link
Copy Markdown

WAITING ON AUTHOR

PR Self-Review

Revision a95a649f739f · 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.

@zufayu
zufayu merged commit 403b24d into main Nov 17, 2026
@zufayu
zufayu deleted the ci455/20261114-kimi-k3-tp8-tile-k2 branch November 17, 2026 03:04
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.

5 participants