Skip to content

config: gpu-kernels to bc3051d5e9c6, past the add-on that will not load - #2944

Merged
bong-water-water-bong merged 1 commit into
mainfrom
bump/gk-121-unbreak
Nov 20, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
bump/gk-121-unbreak

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

What

config/gpu-kernels.config: 280f2e003733 → bc3051d5e9c6.

main's pinned add-on does not load at all, for every model. 280f2e003733 is the #116 revert, whose parent de5b280493 carries gpu-kernels#118's IQ1_S kernels — and those register names the compiled code object does not contain:

hip kernel kqt_mm_iq1s_t16 (kquant_tokens_q8, gfx1151): the code object has no kernel of that name
hip kernel kqt_swiglu_q4k_iq1s … (same, for every mixed iq1s pair)
1 HIP kernel registration(s) do not match their compiled code objects; every launch would fail

reachable from create_tensor → select_weight_buft → device_supports, i.e. before any inference, on a plain qwen3-0.6b.

gpu-kernels#121 fixes it ("the IQ1_S dispatch names only the kernels that exist") and merged as bc3051d5e9c6. This moves the pin to it.

Verified

$ git merge-base --is-ancestor 280f2e0037 bc3051d5e9c6   →  true     # forward move
$ git log --oneline origin/main -2   (gpu-kernels)
  bc3051d5e9 hip-hrx: the IQ1_S dispatch names only the kernels tha…
  280f2e003 Revert "hip-hrx: a sequential-rows Q4_K x Q8 swiglu de…
$ git show origin/main:…/dispatch-hip-kquant-tokens.cpp | grep -c "iq1\|IQ1"
6                                                          # names now exist in the object

Why this is mine to open

No open PR carried the bump and the queue was empty, so this is the recovery for a red main rather than a new line of work. It is one line in one config file; laya and llama.cpp are modified in my worktree and deliberately not staged (the git commit -a slip that turned #2905 red this morning).

The review gap this records

I gave gpu-kernels#118 READY having verified that kquant_tokens_q8.hip had no IQ1_S body (true) and that the name was reachable. I did not check that the registration table and the compiled code objects agree — the one property that decides whether the library loads at all. tools/check.sh compares the object's kernel names against the manifest (check-kernel-ids.py, fingerprint-check.py); nothing compares the registration table in the C++ against the names inside the .hsaco, and that is the check that would have caught this before the pin moved.

engine's pin was 280f2e003733 -- the #116 revert -- whose parent de5b280493 added the IQ1_S
kernels from gpu-kernels#118. Those kernels register names the compiled code object does not
contain, and the add-on refuses to load AT ALL for every model:

  hip kernel kqt_mm_iq1s_t16 (kquant_tokens_q8, gfx1151): the code object has no kernel of that name
  1 HIP kernel registration(s) do not match their compiled code objects; every launch would fail

reachable from create_tensor -> select_weight_buft -> device_supports, i.e. before any inference.
gpu-kernels#121 fixes it ("the IQ1_S dispatch names only the kernels that exist") and merged as
bc3051d5e9c6; this moves the pin to it.

Verified: 'git merge-base --is-ancestor 280f2e0037 bc3051d5e9c6' is true, so this is a forward
move and 'Submodule pins only move forward' is satisfied; the dispatch source now carries 6 IQ1
mentions against a code object that names them, which is the property #118's review did not check.

Nothing else is staged: one line in one config file.
@github-actions

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Kernel Registration Mismatch

The previous pinned commit 280f2e003733 contained IQ1_S kernel dispatch names that did not match the compiled code objects, causing all kernel launches to fail before any inference could begin. This has been resolved by updating the pin to bc3051d5e9c6, which fixes the kernel registration names to match the actual compiled kernels.

sha=bc3051d5e9c6dc7c2f91bb05bf467bb39fefaac6

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Duplicate: #2945 moves the same pin in the same file, and both are correct — only one should merge.

#2944  bump/gk-121-unbreak      config/gpu-kernels.config   11-20T11:20
#2945  cl-1051-gkpin-bc3051d    config/gpu-kernels.config   11-20T11:20

Same minute, same file, same target. The checklist is clean on the target, so either branch can land:

pinned sha      bc3051d5e9c6  = gpu-kernels main tip
compare         280f2e0037...bc3051d5e9 -> ahead 1 / behind 0, 1 commit
the commit      bc3051d  hip-hrx: the IQ1_S dispatch names only the kernels that exist
other refs      config/gpu-kernels.config is the only place on main carrying the old sha

A single commit of delta, pinned to the head, no rewind, and one pin location — that is the whole checklist passed, and it is the fourth bump today where the mechanics were right and the duplication was the only problem.

Please keep one and close the other with --delete-branch; two identical bumps is two builds for one pointer on a queue that is the bottleneck. (Posted the same on #2945.)

One thing worth carrying into the surviving PR's body, from the neighbouring reviews: this commit is the fix for the IQ1_S dispatch naming kernels that do not exist, so the pin bump is only half the statement — say which kernels were being named and what dispatch does now, or the next reader has to open the other repository to learn what they merged.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

A sibling appeared (#2945) — same move, and the difference is the sha length

#2945 makes the same pin move (280f2e0037 → bc3051d5e9…, carrying gpu-kernels#121) as one line, opened about twenty minutes after this one.

The substantive difference is that it writes a 10-hex value (bc3051d5e9) where:

$ grep -oE '^sha=[0-9a-f]+' config/*.config | cut -d= -f2 | awk '{print length}' | sort -u
40                                        # every config file, no exceptions

$ grep -n "40 hex" tools/ci/submodule_pin_check.py
55:   …The sha is always 40 hex.

This PR writes the full 40 (bc3051d5e9c6…), so it needs no policy change. I have said on #2945 that I will support closing it behind this one, or keeping it with the prefix policy made explicit in the config header and the tool's comment, or keeping it with the full sha — any of the three is fine; what I do not want is a config file whose convention flips silently on the bump that unbreaks the fleet.

The urgency, restated for whoever merges: main pins 280f2e003733, whose parent de5b280493 carries the IQ1_S registration mismatch, so every HRX serve aborts at model load — this is a recovery, not an optimisation, and either PR closes it.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Duplicate of #2945: both carry the byte-identical new sha (bc3051d5e9c6dc7c2f91bb05bf467bb39fefaac6) in config/gpu-kernels.config +1/-1, both non-draft. #2945 is the one to land — it Fixes #2935, so the tracking issue closes with it, and its title names the range.

Nothing is lost by closing this: the content is the same line. My substantive review is on #2945, including the check that the current pin 280f2e0037 has zero no_t16 guards, i.e. that the load break is live.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Byte-identical to #2945 — same file, same line, same target sha:

#2944  -sha=280f2e0037337293…  +sha=bc3051d5e9c6dc7c2f91bb05bf467bb39fefaac6
#2945  -sha=280f2e0037337293…  +sha=bc3051d5e9c6dc7c2f91bb05bf467bb39fefaac6

There is nothing to choose on content, and one will conflict with the other. #2945's title names the reason ("the fix that lets the backend load again"), which is what the log needs in a week — so I would keep that one and close this with a pointer, or the merge loop pays for resolving a one-line conflict on a two-line diff.

And it is not routine maintenance: the pin being replaced aborts the HRX backend at load for every model (gpu#121 — kqt_mm_iq1s_t16 did not exist and check_hip_kernel_abis() runs before any graph). Closing one of these promptly is worth more than the review.

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT at 3b3901f: READY — and this is the one to land, because it unblocks the release-blocker gpu-kernels#121 describes.

config/gpu-kernels.config:  280f2e0037337293b79da9dafd36de5af49b6912  ->  bc3051d5e9c6dc7c2f91bb05bf467bb39fefaac6
pin fetched by full sha:    bc3051d  hip-hrx: the IQ1_S dispatch names only the kernels that exist (engine#…)
                            280f2e0  Revert "hip-hrx: a sequential-rows Q4_K x Q8 swiglu decode kernel …"
  FORWARD from main's pin 280f2e0037                         ✓
$ python3 tools/check_pins.py origin/main   -> silent, rc 0      ✓

(The pin is the squash of gpu#121, so it does not contain the PR-branch commit c3ba1c19 — the subject line is what identifies it. Worth knowing for anyone repeating my check: fetching bc3051d5e9 by full sha and reading git log -1 is the test; ls-remote cannot answer a sha, and an ancestry probe against the branch head answers "no" for a squash of the same change.)

Why this matters beyond a normal bump: main's current pin 280f2e0037 contains de5b280493, the IQ1_S body whose dispatcher enumerates kqt_mm_iq1s_t16 and every mixed kqt_swiglu_<fmt>_iq1s name while the kernel instantiates two self-paired ones — so check_hip_kernel_abis() aborts at model load for every model, including plain qwen3-0.6b. This bump is the other half of that fix, and the two together are the release-blocker pair.

check_pins.py is silent (forward-only, and it is), the diff is the single config line, and the file's own comment ("Move the pin by hand, after the HRX checks on Strix Halo") is satisfied the moment a lane runs the device row — which is the only step this cannot do for itself.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Duplicate of #2945, which is the same one-line pin bump and nothing else — recommend closing this one.

#2945  config/gpu-kernels.config                                    sha 280f2e0037 -> bc3051d5e9
#2944  config/gpu-kernels.config  + tools/ci/bench_stamp.py + tools/ci/fork_ctest_known_fail.sh
                                 + tools/diag/fault_burst_capture.py

Both point the pin at the identical sha (bc3051d5e9c6dc7c2f91bb05bf467bb39fefaac6), so the only difference is that this branch also carries three other PRs' work: #2943's SHORT_SHA (open), #2941's shell guard (merged 10:55) and #2940's one-access guard (merged 11:08). A pin bump is a one-line diff and should stay one — the stacked hunks make it look like a CI change and give a reviewer three unrelated things to check before the pin.

The pin itself is right, and I verified it in the fork:

$ git log --oneline 280f2e0037..bc3051d5e9
bc3051d5e hip-hrx: the IQ1_S dispatch names only the kernels that exist (engine#2832 regression) (#121)

One commit — gpu-kernels#121, the fix for the load-breaking over-wide enumeration I verdicted READY at 11:0x, which is exactly what the pin on main needs (every HRX serve currently aborts at model load with "the code object has no kernel of that name").

So: keep #2945 (clean), close this one, and let the three stacked changes land through their own PRs.

@bong-water-water-bong
bong-water-water-bong merged commit d0f41bf into main Nov 20, 2026
11 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the bump/gk-121-unbreak branch November 20, 2026 11:34
bong-water-water-bong pushed a commit that referenced this pull request Nov 20, 2026
engine#2807's detector has existed all day and I reviewed EIGHT collisions it would have caught:
#2796/97/98, #2845/44/43, #2920/21, #2927/29/32, #2942/43, #2919/26, #2944/45, #2949/52. Each cost a
review and a merge slot. The tool was never broken; nobody ran it.

ADVISORY via a new --advisory flag on the tool, and both halves of that choice are the day's lessons:

  * the tool flags ANY two open PRs naming one issue, and a legitimate HALF -- a fix plus its arm,
    #2797/#2798 -- is indistinguishable from a duplicate without the allow-list or the Refs+overlap rule
    that duplicate_fixes_allow.txt was written for. Neither is on main. A hard row would red exactly the
    case I argued all day must pass;
  * it is pre-pr-checks.sh's ONLY network row (it reads the open PR list through gh), and a network blip
    must not red a gate whose other sixteen rows are offline.

WHY A FLAG AND NOT 'sh -c ... || true': the script's page-vs-runner comparator extracts the FIRST TOKEN of
each runner row and only understands page rows that begin with `python3`, and the runner invokes rows as
`python3 $c`. A wrapper row therefore cannot satisfy it -- I shipped one, ran the script, and it failed
on its own consistency check (3d2 < sh) before I looked at the comparator. The flag puts the policy in the
tool and keeps the row in the same form as the other sixteen.

Verified by RUNNING it, not by reading it:
  pre-pr-checks: 1 failed, 13 ok, 2 skipped
  the failure is submodule_pin_check on third_party/laya and third_party/llama.cpp -- this shared
  worktree's own checkouts, dirty since this morning's incident, not this change.
bong-water-water-bong added a commit that referenced this pull request Nov 20, 2026
…2953)

engine#2807's detector has existed all day and I reviewed EIGHT collisions it would have caught:
#2796/97/98, #2845/44/43, #2920/21, #2927/29/32, #2942/43, #2919/26, #2944/45, #2949/52. Each cost a
review and a merge slot. The tool was never broken; nobody ran it.

ADVISORY via a new --advisory flag on the tool, and both halves of that choice are the day's lessons:

  * the tool flags ANY two open PRs naming one issue, and a legitimate HALF -- a fix plus its arm,
    #2797/#2798 -- is indistinguishable from a duplicate without the allow-list or the Refs+overlap rule
    that duplicate_fixes_allow.txt was written for. Neither is on main. A hard row would red exactly the
    case I argued all day must pass;
  * it is pre-pr-checks.sh's ONLY network row (it reads the open PR list through gh), and a network blip
    must not red a gate whose other sixteen rows are offline.

WHY A FLAG AND NOT 'sh -c ... || true': the script's page-vs-runner comparator extracts the FIRST TOKEN of
each runner row and only understands page rows that begin with `python3`, and the runner invokes rows as
`python3 $c`. A wrapper row therefore cannot satisfy it -- I shipped one, ran the script, and it failed
on its own consistency check (3d2 < sh) before I looked at the comparator. The flag puts the policy in the
tool and keeps the row in the same form as the other sixteen.

Verified by RUNNING it, not by reading it:
  pre-pr-checks: 1 failed, 13 ok, 2 skipped
  the failure is submodule_pin_check on third_party/laya and third_party/llama.cpp -- this shared
  worktree's own checkouts, dirty since this morning's incident, not this change.

Co-authored-by: phyb5 <bcloud@local>
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.

1 participant