Skip to content

[OPUS] Align CO tests and build metadata with local kernel IDs - #7055

Merged
gyohuangxin merged 1 commit into
mainfrom
demonsan/opus-gfx1250-hybrid-a0-co
Oct 28, 2026
Merged

gyohuangxin merged 1 commit into
mainfrom
demonsan/opus-gfx1250-hybrid-a0-co

Conversation

@demonsan

Copy link
Copy Markdown
Contributor

Rebase onto the merged global-to-local registry migration. Match all 221 kernel records exactly, update A0/mirror build-info kids and test lookups, and add a CPU-only consistency regression for all profile tables. Keep CO bytes and exported symbols unchanged; clarify historical validation IDs.

Rebase onto the merged global-to-local registry migration. Match all 221 kernel records exactly, update A0/mirror build-info kids and test lookups, and add a CPU-only consistency regression for all profile tables. Keep CO bytes and exported symbols unchanged; clarify historical validation IDs.
@demonsan
demonsan requested a review from a team October 28, 2026 02:02
@github-actions

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

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

Extended tests (opt-in via labels):

Label Tests
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 gfx1201 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 7055 --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.

@gyohuangxin
gyohuangxin merged commit 5b5d14f into main Oct 28, 2026
52 of 53 checks passed
@gyohuangxin
gyohuangxin deleted the demonsan/opus-gfx1250-hybrid-a0-co branch October 28, 2026 05:26
vpietila-amd pushed a commit that referenced this pull request Oct 28, 2026
Rebase onto the merged global-to-local registry migration. Match all 221 kernel records exactly, update A0/mirror build-info kids and test lookups, and add a CPU-only consistency regression for all profile tables. Keep CO bytes and exported symbols unchanged; clarify historical validation IDs.
zhiding512 added a commit that referenced this pull request Oct 29, 2026
No conflicts, but main changed code the deployment replay runs through:

- #7020: the MXFP4 inline sort takes num_local_tokens and skips expert
  ids outside [0, E), as the sentinel ids of EP callers are.
- #7067: the a16w4 stage-2 reduce mode in fused_moe.py and Kimi-K3's
  a16w4 table.
- #7068, #6668: gfx1250 grouped tables for DeepSeek-V4.1 MegaMoE EP and
  MiniMax-M3.
- #7055: the OPUS CO tests read local kernel IDs; this branch's 1-GPU CI
  shards failed on the global ones.

Co-authored-by: Cursor <[email protected]>
zufayu pushed a commit that referenced this pull request Oct 30, 2026
…de (#6557)

* [FlyDSL][gfx1250] Tune DeepSeek-R1 FP4 MoE tiles for high-batch decode.

128x256x256 is the right tile for the fused K7168 and K2048 GEMMs at high
batch on gfx1250. For the 4096 tokens-per-rank EP shape, 3 buffers is
faster than 2 (benched: GEMM1 82.6 vs 83.4 us, GEMM2 67.9 vs 69.6 us,
~0.5-4% per GEMM, accuracy PASS), so record 3 buffers there for both the
65- and 64-expert shapes; the smaller buckets keep 2 buffers.

Co-authored-by: Cursor <[email protected]>

* [FlyDSL][gfx1250] Select fused-EP MoE tiles on the compact-plan path.

The compact-plan lookup left ep_fused false, and the merged CSV stores that flag as "1.0", so the 128-tile rows never matched and the plan stayed on the 64 default. Look the scatter path up and normalize those cells, and log the row that was selected.

Co-authored-by: Cursor <[email protected]>

* [FlyDSL][gfx1250] Keep pitched FP4 scale addresses in the grouped GEMM launch.

The launcher cache flattens scale tensors with view(-1). Compact dispatch scales are a strided window on the wire pitch, so that view aborts before the kernel runs. Pass a rank-1 span of the same base address and let the row stride describe the pitch.

Co-authored-by: Cursor <[email protected]>

* [OPUS] Align CO tests and build metadata with local kernel IDs (#7055)

Rebase onto the merged global-to-local registry migration. Match all 221 kernel records exactly, update A0/mirror build-info kids and test lookups, and add a CPU-only consistency regression for all profile tables. Keep CO bytes and exported symbols unchanged; clarify historical validation IDs.

---------

Co-authored-by: Cursor <[email protected]>
Co-authored-by: karverma-amd <[email protected]>
Co-authored-by: demonsan <[email protected]>
Co-authored-by: Satya Nikhil Kodukula <[email protected]>
solinzby1 pushed a commit that referenced this pull request Nov 2, 2026
Rebase onto the merged global-to-local registry migration. Match all 221 kernel records exactly, update A0/mirror build-info kids and test lookups, and add a CPU-only consistency regression for all profile tables. Keep CO bytes and exported symbols unchanged; clarify historical validation IDs.
solinzby1 pushed a commit that referenced this pull request Nov 2, 2026
…de (#6557)

* [FlyDSL][gfx1250] Tune DeepSeek-R1 FP4 MoE tiles for high-batch decode.

128x256x256 is the right tile for the fused K7168 and K2048 GEMMs at high
batch on gfx1250. For the 4096 tokens-per-rank EP shape, 3 buffers is
faster than 2 (benched: GEMM1 82.6 vs 83.4 us, GEMM2 67.9 vs 69.6 us,
~0.5-4% per GEMM, accuracy PASS), so record 3 buffers there for both the
65- and 64-expert shapes; the smaller buckets keep 2 buffers.

Co-authored-by: Cursor <[email protected]>

* [FlyDSL][gfx1250] Select fused-EP MoE tiles on the compact-plan path.

The compact-plan lookup left ep_fused false, and the merged CSV stores that flag as "1.0", so the 128-tile rows never matched and the plan stayed on the 64 default. Look the scatter path up and normalize those cells, and log the row that was selected.

Co-authored-by: Cursor <[email protected]>

* [FlyDSL][gfx1250] Keep pitched FP4 scale addresses in the grouped GEMM launch.

The launcher cache flattens scale tensors with view(-1). Compact dispatch scales are a strided window on the wire pitch, so that view aborts before the kernel runs. Pass a rank-1 span of the same base address and let the row stride describe the pitch.

Co-authored-by: Cursor <[email protected]>

* [OPUS] Align CO tests and build metadata with local kernel IDs (#7055)

Rebase onto the merged global-to-local registry migration. Match all 221 kernel records exactly, update A0/mirror build-info kids and test lookups, and add a CPU-only consistency regression for all profile tables. Keep CO bytes and exported symbols unchanged; clarify historical validation IDs.

---------

Co-authored-by: Cursor <[email protected]>
Co-authored-by: karverma-amd <[email protected]>
Co-authored-by: demonsan <[email protected]>
Co-authored-by: Satya Nikhil Kodukula <[email protected]>
zhiding512 added a commit that referenced this pull request Nov 4, 2026
No conflicts, but main changed code the deployment replay runs through:

- #7020: the MXFP4 inline sort takes num_local_tokens and skips expert
  ids outside [0, E), as the sentinel ids of EP callers are.
- #7067: the a16w4 stage-2 reduce mode in fused_moe.py and Kimi-K3's
  a16w4 table.
- #7068, #6668: gfx1250 grouped tables for DeepSeek-V4.1 MegaMoE EP and
  MiniMax-M3.
- #7055: the OPUS CO tests read local kernel IDs; this branch's 1-GPU CI
  shards failed on the global ones.

Co-authored-by: Cursor <[email protected]>
shantipriya-amd pushed a commit to shantipriya-amd/aiter that referenced this pull request Nov 18, 2026
…de (ROCm#6557)

* [FlyDSL][gfx1250] Tune DeepSeek-R1 FP4 MoE tiles for high-batch decode.

128x256x256 is the right tile for the fused K7168 and K2048 GEMMs at high
batch on gfx1250. For the 4096 tokens-per-rank EP shape, 3 buffers is
faster than 2 (benched: GEMM1 82.6 vs 83.4 us, GEMM2 67.9 vs 69.6 us,
~0.5-4% per GEMM, accuracy PASS), so record 3 buffers there for both the
65- and 64-expert shapes; the smaller buckets keep 2 buffers.

Co-authored-by: Cursor <[email protected]>

* [FlyDSL][gfx1250] Select fused-EP MoE tiles on the compact-plan path.

The compact-plan lookup left ep_fused false, and the merged CSV stores that flag as "1.0", so the 128-tile rows never matched and the plan stayed on the 64 default. Look the scatter path up and normalize those cells, and log the row that was selected.

Co-authored-by: Cursor <[email protected]>

* [FlyDSL][gfx1250] Keep pitched FP4 scale addresses in the grouped GEMM launch.

The launcher cache flattens scale tensors with view(-1). Compact dispatch scales are a strided window on the wire pitch, so that view aborts before the kernel runs. Pass a rank-1 span of the same base address and let the row stride describe the pitch.

Co-authored-by: Cursor <[email protected]>

* [OPUS] Align CO tests and build metadata with local kernel IDs (ROCm#7055)

Rebase onto the merged global-to-local registry migration. Match all 221 kernel records exactly, update A0/mirror build-info kids and test lookups, and add a CPU-only consistency regression for all profile tables. Keep CO bytes and exported symbols unchanged; clarify historical validation IDs.

---------

Co-authored-by: Cursor <[email protected]>
Co-authored-by: karverma-amd <[email protected]>
Co-authored-by: demonsan <[email protected]>
Co-authored-by: Satya Nikhil Kodukula <[email protected]>
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