Skip to content

[CI] Run only the retuned kernels' tests for config-only PRs - #6495

Merged
Boss2002n merged 1 commit into
mainfrom
satya/test_selection_config
Oct 13, 2026
Merged

Boss2002n merged 1 commit into
mainfrom
satya/test_selection_config

Conversation

@Boss2002n

Copy link
Copy Markdown
Contributor

A config family maps to the sources that name it the way resolve_config_dir() spells it (GEMM-A16W16 -> gemm_a16w16), or that name its prefix and add a suffix at runtime (_PRESHUFFLED).

Attention configs now map to kimi_delta_attn/, where chunk_delta_attn/ moved in #5942.

@Boss2002n Boss2002n self-assigned this Oct 13, 2026
@Boss2002n
Boss2002n requested review from a team and a balanced review from Copilot October 13, 2026 17:20
@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 6495 --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.

A config change now selects the tests of the kernels that load that
config and of the kernels that call them, instead of its whole op
folder. CK/ASM tuning CSVs no longer force the full suite, since no
Triton kernel reads them. Attention configs also map to
kimi_delta_attn/, where chunk_delta_attn/ moved in #5942.

While DRY_RUN is on, CI still runs every test and only prints this
selection. On the 17 config-only commits merged to main since Sep 10,
the selection is 1-13 test files where CI ran 118-137.

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.

🟢 Approval recommended

The selection logic is conservative, falls back safely, and aligns with the documented config layout.

0 open findings

What changed in this PR

Updates CI test selection so config-only PRs run tests for affected Triton/Gluon kernel families.

Changes:

  • Maps config families to their loaders and dependent tests.
  • Applies selection during dry runs for config-only changes.
  • Updates attention mapping for kimi_delta_attn.
File Description
.github/​scripts/​select_triton_tests.py Adds config-aware test selection and updated attention mapping.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Boss2002n
Boss2002n force-pushed the satya/test_selection_config branch from 962b3d4 to 9eec837 Compare October 13, 2026 17:37
Copilot AI balanced review requested due to automatic review settings October 13, 2026 17:37

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 workflow remains in dry-run mode, so config-only PRs still execute the full suite.

1 open finding

🧠 Review effort: Balanced

Comment thread .github/scripts/select_triton_tests.py Resolved
@Boss2002n
Boss2002n merged commit c1198f1 into main Oct 13, 2026
@Boss2002n
Boss2002n deleted the satya/test_selection_config branch October 13, 2026 22:59
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