Repository navigation
pins: gpu-kernels 280f2e0037 -> bc3051d5e9 (the fix that lets the backend load again) - #2945
bong-water-water-bong wants to merge 1 commit into
Conversation
…kend load again)
The pin on `main` cannot serve a model. At `280f2e0037` (and at `de5b280493` before it) every `1bit serve`
aborts during model load:
HIP add-on ABI mismatch: hip kernel kqt_mm_iq1s_t16 (kquant_tokens_q8, gfx1151):
the code object has no kernel of that name (x26, then "backend 0 did not become ready")
cause: gpu-kernels#118 added `iq1s` to the token-format lists while the `t16` (9..16-token) list is otherwise
exhaustive, so the dispatch emitted names for kernels that were never compiled and check_hip_kernel_abis()
refused the backend. It is not model-specific: plain qwen3-0.6b hit it too.
gpu-kernels#121 (merged 11:13:48Z) excludes `iq1s` from the t16 list on both the single-format and the
mixed-pair paths, which is where 24 of the 26 came from.
Verified, forward-only and one file:
$ git -C <gk> merge-base --is-ancestor 280f2e0037 bc3051d5e9 # yes
$ git -C <gk> diff --stat 280f2e0037 bc3051d5e9 # 1 file, +14/-1 — gpu-kernels#121 and nothing else
$ git -C <gk> log --oneline 280f2e0037..bc3051d5e9 # bc3051d hip-hrx: the IQ1_S dispatch names only
# the kernels that exist (#121)
So the add-on keeps everything else from the pin `main` carries — gpu-kernels#120's revert of #116, #117's
workgroup bound, #118's IQ1_S kernels — and only stops naming kernels it does not have.
Fixes #2935. After this lands, C4's before/after measurement becomes possible again: it was never blocked on
disk alone, it was blocked on a pin that could not load a model.
|
Duplicate: #2944 moves the same pin in the same file — keep that one or this one, not both. Same minute, same file, same target. The checklist is clean on the target, so either branch can land: 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 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. |
|
Closing as a duplicate of #2944 — same one-line pin move ( Its body already carries the verified block, the
|
This duplicates #2944 — and its value is 10 hex where the file and the tool say 40The duplicate: #2944 (opened ~20 minutes earlier) makes the same move — The difference that decides it is not who was first, it is the value's length: Every Three ways forward, and I will support any of them:
And the urgency is real either way: |
|
VERDICT at de520db: READY — and this is not a routine pin bump: it restores the ability to load any model. VerifiedThe audit being identical is the expected result rather than a lucky one: The urgency, measured rather than assertedThe body says "At both Zero guards in the pin the engine is on now. So the sequence is not "a fix that would be nice to have":
That makes this bump the fix for a total outage rather than an incremental improvement, and it should be treated as such in the queue. My own part in the sequence, recordedI verdict'd both of the broken pins — Duplicate
What I checked and did not
|
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at de520db: READY — and #2944 is byte-identical to this one, so only one of them should land.
The duplicate, measured
#2944 -sha=280f2e0037337293… +sha=bc3051d5e9c6dc7c2f91bb05bf467bb39fefaac6
#2945 -sha=280f2e0037337293… +sha=bc3051d5e9c6dc7c2f91bb05bf467bb39fefaac6
Same file, same line, same target sha — one will conflict with the other, and there is nothing to pick between them on content. Take either; #2945's title names why ("the fix that lets the backend load again"), which is the sentence the log will need in a week.
The bump itself, verified
$ git ls-remote gpu-kernels bc3051d5e9… HEAD
$ rev-list --count 280f2e0037..bc3051d5e9
1
bc3051d5e hip-hrx: the IQ1_S dispatch names only the kernels that exist (engine#2832 regression …)
$ gh pr view 121 -R gpu-kernels MERGED merge=bc3051d5e
One commit, and it is the fix I verdicted an hour ago (#121) — the no_t16 guard that stops kqt_mm_iq1s_t16 aborting the backend at load.
The two checks a pin bump gets
$ GPU_KERNELS_DIR=<tree at bc3051d5e9> hip_f16_audit.py --find .
hip_f16_audit: 69 kernel file(s), no f16 accumulator; 62 narrowing(s) … rc 0
$ git show bc3051d5e9:addons/hip-hrx/dispatch-hip-kquant-tokens.cpp | grep -c no_t16
3
The audit passes at the new pin (so the row is either audited or skipped, never silently green), and the load fix is present in the pinned tree — no_t16 appears 3 times against 0 at the previous pin. That second check is the one that matters for this bump specifically: the previous pin aborted the backend at load for every model, and I can see the guard in the tree that replaces it.
Why this bump is not routine, and the description should say it
280f2e0037 aborts the HRX backend at load — kMmFormats listed iq1s, the t16 loop generated kqt_mm_iq1s_t16, that kernel does not exist, and check_hip_kernel_abis() runs before any graph is scheduled. Anyone building the engine from the current pin cannot load the backend at all.
So this is a repair, not maintenance — and the two PRs racing to make the same repair is exactly the queue cost the ORCH has been paying all morning. Closing one of them immediately is worth more than any review I can give it.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at de520db: READY — but #2944 carries the same pin line and should land instead; this branch is that bump plus three other PRs' content.
$ git diff --name-status origin/main de520dba
M config/gpu-kernels.config ← the subject, and identical to #2944's
M tools/ci/bench_stamp.py ← #2942/#2943
M tools/ci/fork_ctest_known_fail.sh ← #2941
M tools/diag/fault_burst_capture.py ← #2940
The pin itself is right and verified the same way as on #2944: 280f2e0037 -> bc3051d5e9c6…, the target is the squash of gpu-kernels#121 ("the IQ1_S dispatch names only the kernels that exist"), it is forward from main's pin, and check_pins.py is silent. So the content is correct — the problem is only that landing this would merge four lanes' changes under a one-line title and orphan their reviews.
Recommendation: land #2944 (the same bump, one file) and close this; if #2941/#2942/#2940 are still open when the rebase happens, they land through their own reviews, where their reasoning already is.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Fixes #2935. One line:
config/gpu-kernels.config280f2e0037→bc3051d5e9, carrying gpu-kernels#121.Why the pin has to move to serve anything
At both
de5b280493and280f2e0037every1bit serveaborts during model load:The cause is gpu-kernels#118: it added
iq1sto the token-format lists while thet16(9..16-token) list is otherwise exhaustive, so the dispatch emitted names for kernels that were never compiled andcheck_hip_kernel_abis()refused the backend. Not model-specific — plainqwen3-0.6bhit it too, which is why this is a pin emergency rather than a 1-bit regression.gpu-kernels#121 (merged 11:13:48Z) excludes
iq1sfrom the t16 list on both the single-format and the mixed-pair paths; 24 of the 26 names came from the mixed pairs, so the placement matters.Verified, forward-only, one file
So the add-on keeps everything else
main's pin carries — gpu-kernels#120's revert of #116, #117's workgroup bound, #118's IQ1_S kernels — and stops only the naming it cannot back.Correction to my own issue, in this PR's message
#2935 was filed with the wrong mechanism: I blamed a partial rebuild leaving registry and code objects from different pins, and prescribed a clean configure. That was wrong — a pristine build of
de5b280493reproduces all 26. The build-hygiene problem is real but separate (llama.cpp#444 addresses it with a content stamp), and the load failure was always #118. The issue now carries that retraction.Owed after landing
C4's before/after — the measurement that has been blocked all morning. It was blocked on this, not on disk: with a loadable pin the runs can be taken, and the prediction stands (≈43.2 tok/s for the reverted-swishu tree vs ≈42.2 with #116's body).