Skip to content

[Triton/Gluon] Reduce the number of tests in shard 1 to avoid time out - #8036

Merged
Boss2002n merged 13 commits into
mainfrom
satya/shard1_fixes
Nov 25, 2026
Merged

Boss2002n merged 13 commits into
mainfrom
satya/shard1_fixes

Conversation

@Boss2002n

Copy link
Copy Markdown
Contributor

removed the non-correctness checks from shard1 triton tests

@Boss2002n
Boss2002n requested review from a team and a balanced review from Copilot November 16, 2026 15:30
@Boss2002n Boss2002n self-assigned this Nov 16, 2026
@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 8036 --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 Reduce the number of tests in shard 1 to avoid time out [Triton/Gluon] Reduce the number of tests in shard 1 to avoid time out Nov 16, 2026
@aiter-bot

aiter-bot commented Nov 16, 2026 •

Copy link
Copy Markdown

WAITING ON AUTHOR

PR Self-Review

Revision e3416e7f3ef0 · 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
  • FAIL — changed op test not explained in Changed op tests: op_tests/triton_tests/attention/test_block_scale_fp8_attention.py
  • FAIL — changed op test not explained in Changed op tests: op_tests/triton_tests/attention/test_chunk_kda.py
  • FAIL — changed op test not explained in Changed op tests: op_tests/triton_tests/attention/test_fav3_sage.py
  • FAIL — changed op test not explained in Changed op tests: op_tests/triton_tests/attention/test_fp8_mqa_logits.py
  • FAIL — changed op test not explained in Changed op tests: op_tests/triton_tests/attention/test_fused_attention_qk_norm_rope.py
  • FAIL — changed op test not explained in Changed op tests: op_tests/triton_tests/attention/test_kda.py
  • FAIL — changed op test not explained in Changed op tests: op_tests/triton_tests/attention/test_lse_merge.py
  • FAIL — changed op test not explained in Changed op tests: op_tests/triton_tests/attention/test_mha.py
  • FAIL — 56 additional changed op test(s) are not explained
  • FAIL — Changed op tests must explain why each changed op test is necessary and non-redundant

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

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.

🟡 Changes recommended

Deleted correctness tests leave critical alignment and scale/page-pool guards without negative coverage, allowing regressions that could cause invalid memory access to go undetected.

3 open issues
What changed in this PR

This PR reduces AITER’s shard 1 Triton/Gluon test workload to address CI timeouts. It removes selected tests without changing production wrappers or kernels.

Changes:

  • Removes input-validation, layout, and unsupported-path tests.
  • Removes selected cache, tuning-boundary, import, and default-path checks.
  • Cleans up imports and constants used only by deleted tests.
File Description
op_tests/​triton_tests/​quant/​test_fused_quant_transpose_hadamard_mxfp4.py Removes contract, Philox-boundary, architecture, and config checks.
op_tests/​triton_tests/​quant/​test_convert_mxfp8.py Removes shape-alignment and unsupported-dtype checks.
op_tests/​triton_tests/​gated_delta_net/​test_fused_gdn_prefill_qkvz.py Removes the unsupported-shape reporting test.
op_tests/​triton_tests/​fusions/​test_attn_res.py Removes validation, cache-size, and tuning-boundary checks.
op_tests/​triton_tests/​attention/​test_qsa.py Removes cache-layout validation and GPU-free import tests.
op_tests/​triton_tests/​attention/​test_mxfp8_attention_kernel.py Removes unsupported-path and default-path smoke tests.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 16, 2026 17:47

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.

🟡 Changes recommended

Deleting a helper still imported by bench_sage.py breaks benchmark imports, while other deletions remove targeted autograd, quantization-contract, and graph-capture coverage.

8 open issues

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 16, 2026 18:42

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.

🔵 Needs a closer look

The test deletions remove critical regression coverage for sparse-attention guards against out-of-bounds reads, along with checks for Philox reservation boundaries and quantization-config correctness.

2 open issues
2 previously missed issues

In code that hasn't changed since last review

High severity Keep wrapper validation tests for index length and chunk width

op_tests/​triton_tests/​attention/​test_sparse_attention_dsv4_bwd.py:77

This deletion removes the wrapper's rejection tests for short index tensors and invalid chunk widths, leaving guards against out-of-bounds reads without regression coverage. Keep these checks, including TOPK=128 with R_CHUNK=96, or move them to another CI shard.

Medium severity Keep Philox counter-range boundary coverage

op_tests/​triton_tests/​quant/​test_mxfp4_philox.py:23

The remaining test uses offset 11, so it still passes if the counter-range guard is removed; the deleted boundary test checks the last valid reservation and the first overflowing one. Keep this CPU-only boundary test so an off-by-one error in Philox stream reservation remains detectable.

6 resolved since last review

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 16, 2026 21:33

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.

🔵 Needs a closer look

Human assessment is needed because removed CPU-only tests leave correctness coverage gaps in quantization configuration behavior and the final legal Philox reservation boundary.

No open issues 🎉

2 resolved since last review

Review effort: Balanced

@zufayu
zufayu requested review from a team and vgokhale November 17, 2026 01:06
Copilot AI balanced review requested due to automatic review settings November 17, 2026 17:12

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.

🟡 Changes recommended

The change removes the only numerical checks for three tuned gfx1250 router buckets and includes an unrelated gfx950 scheduling retune that violates the one-problem-per-PR rule.

1 open issue
1 resolved since last review

Review effort: Balanced

@azaidy azaidy 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.

LGTM!

Copilot AI balanced review requested due to automatic review settings November 25, 2026 16:53

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.

🔵 Needs a closer look

The change removes GEMM numerical and shared-config correctness coverage while including an unrelated production GEMM retune that violates the one-problem-per-PR rule.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@Boss2002n
Boss2002n merged commit c5679a5 into main Nov 25, 2026
89 of 95 checks passed
@Boss2002n
Boss2002n deleted the satya/shard1_fixes branch November 25, 2026 22:02
yhl-amd added a commit to yhl-amd/aiter that referenced this pull request Nov 26, 2026
…1344 / 1536

The DSv4.1 router GEMM at the high-concurrency decode widths (M 1344 and
1536 rows with speculative tokens) had no exact bf16 row and ran the
default selection. Add Gluon a16w16 buckets M_LEQ_1344 (32x64x256, 4
buffers) and M_LEQ_1536 (64x64x256, 4 buffers) to the N=384, K=5120 config,
and the two bf16 rows that select Gluon at those M. The logits are bit
identical to the previous kernel; the other buckets are unchanged.

Builds on ROCm#7663 (M_BOUNDS and the M 576 / 672 / 768 buckets of the same
file), which is in main. No op test is added: ROCm#8036 trimmed the router
shapes from the a16w16 test to keep the shard within its time limit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
davzhuAMD added a commit to davzhuAMD/aiter that referenced this pull request Nov 26, 2026
…rent_state

One conflict, in the imports of test_flash_kda.py. ROCm#8036 removed
`fast_launch as _fast_launch` along with its only user,
test_tuner_keeps_the_two_schedules_apart; this branch had widened the
kda_ref import on the next line. Kept the widened kda_ref import and
dropped `_fast_launch`, which nothing in the file uses any more.

Co-authored-by: Claude Fable 5.2 <[email protected]>
Signed-off-by: David Zhu <[email protected]>
yhl-amd added a commit to yhl-amd/aiter that referenced this pull request Nov 27, 2026
…1344 / 1536

The DSv4.1 router GEMM at the high-concurrency decode widths (M 1344 and
1536 rows with speculative tokens) had no exact bf16 row and ran the
default selection. Add Gluon a16w16 buckets M_LEQ_1344 (32x64x256, 4
buffers) and M_LEQ_1536 (64x64x256, 4 buffers) to the N=384, K=5120 config,
and the two bf16 rows that select Gluon at those M. The logits are bit
identical to the previous kernel; the other buckets are unchanged.

Builds on ROCm#7663 (M_BOUNDS and the M 576 / 672 / 768 buckets of the same
file), which is in main. No op test is added: ROCm#8036 trimmed the router
shapes from the a16w16 test to keep the shard within its time limit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ragua1 added a commit to Ragua1/aiter that referenced this pull request Nov 30, 2026
Conflicts resolved in op_tests only: kept upstream's shared get_shapes() and the test removals of ROCm#8036/ROCm#8214 next to this branch's changes.

Signed-off-by: Martin Domanský <[email protected]>
Ragua1 added a commit to Ragua1/aiter that referenced this pull request Nov 30, 2026
Conflicts resolved in op_tests only: kept upstream's shared get_shapes() and the test removals of ROCm#8036/ROCm#8214 next to this branch's changes.

Signed-off-by: Martin Domanský <[email protected]>
Ragua1 added a commit to Ragua1/aiter that referenced this pull request Nov 30, 2026
Conflicts resolved in op_tests only: kept upstream's shared get_shapes() and the test removals of ROCm#8036/ROCm#8214 next to this branch's changes.

Signed-off-by: Martin Domanský <[email protected]>
azaidy pushed a commit that referenced this pull request Nov 30, 2026
… Gluon buckets and bf16 rows for M 1344 / 1536 (on #7663) (#8049)

* dsv41 router GEMM (N=384, K=5120): Gluon buckets and bf16 rows for M 1344 / 1536

The DSv4.1 router GEMM at the high-concurrency decode widths (M 1344 and
1536 rows with speculative tokens) had no exact bf16 row and ran the
default selection. Add Gluon a16w16 buckets M_LEQ_1344 (32x64x256, 4
buffers) and M_LEQ_1536 (64x64x256, 4 buffers) to the N=384, K=5120 config,
and the two bf16 rows that select Gluon at those M. The logits are bit
identical to the previous kernel; the other buckets are unchanged.

Builds on #7663 (M_BOUNDS and the M 576 / 672 / 768 buckets of the same
file), which is in main. No op test is added: #8036 trimmed the router
shapes from the a16w16 test to keep the shard within its time limit.

* dsv41 router GEMM: record the bw column of the M 1344 / 1536 rows in GB/s

The two bf16 rows added for M 1344 and 1536 stored the bandwidth column in
TB/s, while the rest of the table (and BaseTuner.calculate) use GB/s.
Convert the two cells from the recorded time with the same formula; the
kernel selection and the other columns are unchanged.
zufayu pushed a commit that referenced this pull request Nov 30, 2026
)

#8036 deleted test_pa_decode_sparse_rejects_partial_extra and
test_pa_decode_sparse_fp8_rejects_unsupported, so the P1 manifest's exact
selectors make pytest exit 4 and test_pa_decode_sparse.py collects nothing.
P1 is now 227 nodes, all passing on gfx1250.

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants