Repository navigation
[CI] Run only the retuned kernels' tests for config-only PRs - #6495
Conversation
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
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.
There was a problem hiding this comment.
🟢 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.
962b3d4 to
9eec837
Compare

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.