You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HK20: flags when a 3rdparty/* submodule is pinned to a commit not on
any upstream branch. Ref: PR#5708 vs PR#4620.
A4: when a PR adds a new dispatch branch to an existing kernel, shared code changes can silently regress pre-existing paths. Refs: PR#5708 (enable_bias narrowing), PR#5985 (kStoreTakesDivisor widening broke gfx942 fp16), PR#5914 (runtime check caused VGPR spill, occupancy drop from 5 to 4 waves/SIMD).
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 6865 --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.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The infrastructure shortcut bypasses the new check for standalone submodule repins, and the upstream-membership guidance needs safeguards against incomplete local refs.
Thanks for adding these two checks. I found one functional issue that currently prevents HK20 from covering its intended case:
In triage.py, the infra-only early return runs before _has_submodule_repin is computed. Because 3rdparty/ is part of INFRA, a normal standalone submodule repin (and a repin accompanied only by docs) returns [("infra-only", "NONE")], so HK20 is never selected. Please compute the repin flag before that shortcut, exempt repins from the early return, and add focused derive() tests for those two cases.
Two smaller follow-ups should be fixed in the same update:
git branch -r --contains <hash> is only reliable after successfully fetching complete canonical-upstream refs and restricting the check to those refs. Missing objects/incomplete fetches should be treated as inconclusive; otherwise the rule can produce either false positives or false clearance from stale/fork refs.
Please regenerate MAPPING.md. On the current merge target it still reports 45 families / 62 rule IDs, while triage.py mapping produces 46 / 64 and includes the new submodule-repin family plus the A4 additions. A mapping-drift selftest would also prevent this recurring.
Other than these review-tool issues, I did not find additional problems. Once they are addressed, this should be straightforward to re-review.
…gression guard)
HK20: flags when a 3rdparty/* submodule is pinned to a commit not on
any upstream branch. Ref: PR#5708 vs PR#4620.
A4: when a PR adds a new dispatch branch to an existing kernel, shared
code changes can silently regress pre-existing paths. Refs: PR#5708
(enable_bias narrowing), PR#5985 (kStoreTakesDivisor widening broke
gfx942 fp16), PR#5914 (runtime check caused VGPR spill, occupancy
drop from 5 to 4 waves/SIMD).
Co-Authored-By: Claude <[email protected]>
…k, mapping drift guard
- triage.py: detect a 3rdparty/ submodule repin before the infra-only and
version-bump shortcuts. 3rdparty/ is INFRA, so a standalone repin (or one
with only docs alongside) returned infra-only and HK20 was never selected.
- rules.md: HK20 checks only refs fetched from the canonical upstream URL
(from base .gitmodules), not `git branch -r`. A failed fetch, shallow repo
or missing object is inconclusive (warning), never clean or red.
- MAPPING.md: regenerated (46 families / 64 rule ids).
- selftest.sh: derive() tests for the two repin cases and a MAPPING.md drift check.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Rule-routing and fallback omissions can skip required checks, while submodule citation mismatches can block valid reports and stale upstream refs can falsely establish pin reachability.
- rules.md: HK20 fetch uses --prune so refs for branches deleted upstream
cannot clear a pin on a repeated review.
- triage.py audit_card: count changed extensionless paths (submodules) named
in a FIRE verdict as citations, so a card reporting HK20 without the rule
code no longer fails with UNREPORTED-FIRE.
- triage.py: add A4 and HK20 to ALL_RULES (fallback inventory) and A4 to
flydsl-kernel; regenerate MAPPING.md.
- selftest.sh: FlyDSL A4 routing case and derive-to-card cases for red and
inconclusive HK20 findings.
Include host-side dtype dispatch changes in A4 derivation
.claude/skills/review-pr/triage.py:1081
A diff confined to aiter/fused_moe.py that adds a dtype or activation branch and narrows the shared enable_bias guard does not select A4. These host-side changes match neither kernel detection nor the routing-value check, so the new regression rule is omitted from rules_expanded.txt for the shared-bias scenario it is meant to cover. Include host-side dtype and activation dispatch changes in A4 derivation, add regression fixtures, and regenerate MAPPING.md.
Thanks for fixing the HK20 standalone-repin routing, canonical-upstream check, mapping drift, and earlier follow-ups. I did a focused pass on head 4f9388f. Please address these two remaining functional gaps together: (1) A4 is still not selected for host-side dtype/activation dispatch changes confined to a wrapper such as aiter/fused_moe.py. A new branch that also changes shared bias/scale logic can therefore miss the existing-path regression check; extend derivation to cover that case and add a fixture. (2) The HK20 card test uses numeric-only 2222222, but a real mixed-hex commit ID such as 1f66d862 is not recognized as concrete evidence and a valid red finding fails with UNPROVEN-RED; accept commit SHAs and add a mixed-hex fixture. These are the remaining blockers from my review. Once both focused tests and the review-bot selftest pass on the updated head, with required CI green, I can complete the focused re-review without another broad round.
- Add 'activation' keyword and A4 rule to dispatch-change family so
host-side wrapper changes (e.g. fused_moe.py adding activation branch)
trigger A4 regression checks
- Add commit SHA pattern ([0-9a-f]{7,40}) to VALUE regex so mixed-hex
hashes like 1f66d862 are recognized as concrete evidence
- Add selftest fixtures for both fixes
- Regenerate MAPPING.md
The bot's review of this PR reported that the diff no longer applies to the
merge target: main gained e10bd0a (#6865), whose [derive] selftest block
lands exactly where this branch adds its own test lines. Verified -- that one
file is the only conflict, and every other changed file's base blob still
matches main.
Both sides are kept: #6865's [derive]/[mapping] cases and this branch's
degrade, fetch-failure and citation tests are unrelated checks in the same
file. selftest is 97 green / 0 red on the merged tree, ruff clean, 34 pytest
cases passing.
Merged rather than rebased so the published branch only ever moves forward.
# Conflicts:
# .claude/skills/review-pr/selftest.sh
ROCm#6865)
* review-pr: add HK20 (submodule upstream check) and A4 (new-feature regression guard)
HK20: flags when a 3rdparty/* submodule is pinned to a commit not on
any upstream branch. Ref: PR#5708 vs PR#4620.
A4: when a PR adds a new dispatch branch to an existing kernel, shared
code changes can silently regress pre-existing paths. Refs: PR#5708
(enable_bias narrowing), PR#5985 (kStoreTakesDivisor widening broke
gfx942 fp16), PR#5914 (runtime check caused VGPR spill, occupancy
drop from 5 to 4 waves/SIMD).
Co-Authored-By: Claude <[email protected]>
* review-pr: select HK20 for standalone repins, canonical-ref HK20 check, mapping drift guard
- triage.py: detect a 3rdparty/ submodule repin before the infra-only and
version-bump shortcuts. 3rdparty/ is INFRA, so a standalone repin (or one
with only docs alongside) returned infra-only and HK20 was never selected.
- rules.md: HK20 checks only refs fetched from the canonical upstream URL
(from base .gitmodules), not `git branch -r`. A failed fetch, shallow repo
or missing object is inconclusive (warning), never clean or red.
- MAPPING.md: regenerated (46 families / 64 rule ids).
- selftest.sh: derive() tests for the two repin cases and a MAPPING.md drift check.
* review-pr: address Copilot review on HK20/A4
- rules.md: HK20 fetch uses --prune so refs for branches deleted upstream
cannot clear a pin on a repeated review.
- triage.py audit_card: count changed extensionless paths (submodules) named
in a FIRE verdict as citations, so a card reporting HK20 without the rule
code no longer fails with UNREPORTED-FIRE.
- triage.py: add A4 and HK20 to ALL_RULES (fallback inventory) and A4 to
flydsl-kernel; regenerate MAPPING.md.
- selftest.sh: FlyDSL A4 routing case and derive-to-card cases for red and
inconclusive HK20 findings.
* review-pr: fix A4 host-side dispatch gap and HK20 mixed-hex evidence
- Add 'activation' keyword and A4 rule to dispatch-change family so
host-side wrapper changes (e.g. fused_moe.py adding activation branch)
trigger A4 regression checks
- Add commit SHA pattern ([0-9a-f]{7,40}) to VALUE regex so mixed-hex
hashes like 1f66d862 are recognized as concrete evidence
- Add selftest fixtures for both fixes
- Regenerate MAPPING.md
---------
Co-authored-by: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…gression guard)
HK20: flags when a 3rdparty/* submodule is pinned to a commit not on
any upstream branch. Ref: PR#5708 vs PR#4620.
A4: when a PR adds a new dispatch branch to an existing kernel, shared code changes can silently regress pre-existing paths. Refs: PR#5708 (enable_bias narrowing), PR#5985 (kStoreTakesDivisor widening broke gfx942 fp16), PR#5914 (runtime check caused VGPR spill, occupancy drop from 5 to 4 waves/SIMD).
Motivation
Technical Details
Test Plan
Test Result
Submission Checklist