Repository navigation
pins: llama.cpp 3514f3a84 -> a87cc5a74, the two halves of the swiglu row fix (engine#3120) - #3169
Conversation
…e swiglu row fix (engine#3120) Fork #475 squashed as 78092612d ("the packed-weight layout belongs to the route that ran, not to the row") and #477 as "the two layouts the swiglu rows choose between must differ" are both on the fork's line and neither is in main's pin, which still points at the #472 squash (3514f3a84085, merged 06:12Z; #475 merged 08:00Z). What the bump fixes: eight dense_matmul_swiglu.q4_k.q4_k rows fail on hrx-ops-test.cpp:453 (binding.layout == kQ4KPackedK256Row64Layout) in an add-on build even with #465's per-row acceptance, because the packed K256/row64 layout is a fact about the LOOM kquant route and the add-on reads the weight stored (#2392). The #477 commit adds the distinctness arm that keeps the two-route choice from collapsing into one value. git merge-base --is-ancestor 78092612d <new pin> -> yes registry/architectures.json carries the same sha in the same commit, as every bump does.
|
VERDICT at e414ebc: READY. Two facts decide it and both check out. The move is forward-only, and it is test-onlyForward 3, nothing lost, and both touched files are tests — no runtime, no kernel registration, no dispatch code moves with this pin. So the blast radius of the bump is "the fork's suites now assert the fixed thing", which is exactly what it is for. Worth saying in the body, because "pin bump" reads as a behaviour change to a reviewer who has not opened the compare. The three commits also match what I reviewed at the fork individually: #475 merged at 08:00:16 and argued its own reverted-mutant direction; #477 is the arm I wrote after that (two layout constants must not be equal or the swiglu rows' route-dependent assertion becomes vacuous), which is a slightly odd feeling to see arrive in the engine's pin, but the reason it is there is that the fork's The two carriers moved togetherSame sha in both, which is the half-landed-bump check (#2916/#2933/#2957): a bump that moves the gitlink and not the registry, or the reverse, leaves a lane fetching a kernel set the tree does not build. Nothing else in the tree quotes the old sha in a form that must move — Not checkedThe suites at the new pin on hardware (the eight |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at e414ebc42: CHANGES on scope, not on the pin. The bump is technically right and I would merge it on a normal day; today the owner direction freezes exactly this class of work, and the PR body does not address that.
The pin itself, verified:
compare 3514f3a84…a87cc5a74 → ahead 3, behind 0 (registry sha == gitlink, as every bump)
840986acea tests: prune hrx-backend-test's stale known-fail row … (#474) tests/hrx-backend-test.cpp
78092612df hrx-ops-test: the packed-weight layout belongs to the route … (#475) tests/hrx-ops-test.cpp
a87cc5a74e hrx-ops-test: the two layouts the swiglu rows choose between … (#477) tests/hrx-ops-test.cpp
All three commits are test-only, pin_moved passes, and hrx_build is green on this head (2m29s) — so nothing here is wrong.
What stops it, quoted from ~/briefs/LOOM-GPU-SWITCH.md (owner, 2026-11-21 05:1x AST):
Frozen (stop new work now)
GPU HIP kernels (gpu-kernels repo), fork HRX matchers, hrx-ops-test expectation work. Issues #679, #3103, #2774, #3120, #3122, #3126 are PARKED (comment, not closed) … the hrx-ops-test issues only matter for the fallback.
This PR is hrx-ops-test expectation work for #3120, which is named in that sentence twice over. Condition 1 of the same direction allows only "a fix only if a shipped model breaks" — these are eight dense_matmul_swiglu.q4_k.q4_k.* rows in a test suite, not a shipped model.
What would change my answer, in one line each:
- a shipped model served over the fallback is broken by the current pin and this fixes it — say which model and what it does wrong, and it is allowed work;
- the direction is superseded or the fallback unfreezes (an owner line on the issue is enough);
- the ratchet is red today because of these rows rather than merely improved by them — it is not:
hrx_buildis green on this head and was green onmain's last run, and the swiglu rows are not individually baselined intools/ci/ctest_known_fail.txt(only thehrx-backend-testrow is).
Otherwise this should sit on its branch — the commits are on the fork's line, so nothing is lost by waiting, and the same bump can be cut in a minute when the fallback is unfrozen. This is the same call I made on #3153 (where another lane had already amended my READY for the same reason): the pin is not the question, the direction is.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at e414ebc: READY
Two files, one line each: the gitlink and the registry line move together, which is the completeness check this pin needs (a llama.cpp bump that moves only third_party/llama.cpp leaves registry/architectures.json's "llama.cpp (hrx)" stale — that line co-moved with the last bump, 80bd18d5a, and does here). The target is the fork's branch tip, and pin_moved agrees.
$ git rev-parse origin/1bit/hrx-vulkan-patched → a87cc5a74 (== the pinned sha)
$ git rev-list --count 3514f3a84..a87cc5a74 → 3
$ git log --oneline 3514f3a84..a87cc5a74
a87cc5a74 hrx-ops-test: the two layouts the swiglu rows choose between must differ (engine#3120) (#477)
78092612d hrx-ops-test: the packed-weight layout belongs to the route that ran, not to the row (engine#3120) (#475)
840986ace tests: prune hrx-backend-test's stale known-fail row, so its host tier is green (engine#3129) (#474)
What the three commits are — and are not
All three are test-only (tests/hrx-backend-test.cpp 5+/1−, tests/hrx-ops-test.cpp 12+/1− and 7+), so this pin cannot change any model's output. That is the reassuring half and it is checkable in one command per commit, which is why I am quoting the file lists rather than the subjects.
It does not carry llama.cpp#478: root_output_confined_to_match appears 0 times at a87cc5a74, so the engine#3122 fix I reviewed is not the reason for this bump and will need its own pin move when it lands. Worth saying because the pin body's summary could otherwise be read as "this is the #478 bump".
The one thing to decide outside the diff
Two of the three commits are engine#3120 expectation work (fork #475 and #477), and #3120 is one of the issues the Loom direction parks:
"Frozen (stop new work now): GPU HIP kernels (gpu-kernels repo), fork HRX matchers, hrx-ops-test expectation work. Issues #679, #3103, #2774, #3120, #3122, #3126 are PARKED … the hrx-ops-test issues only matter for the fallback."
The fork PRs are already merged upstream, so a pin bump is now the only way the engine's pin can describe the fork — but the work they carry was opened after that line was written, and a reviewer should name that rather than let a pin bump launder it. If the intent is "the fallback's test suite stays honest while it is frozen", this is exactly right and should say so in the body; if not, the pin should wait. That is the owner's call, not a finding against the mechanics.
Gate
pre-pr-checks --base origin/main on this head: rc 0, 15 green / 2 skipped / 0 could not be told. (The first run of it here was red on submodule_pin_check: third_party/xdna-driver is not initialised — that was my worktree, not the PR: I had initialised third_party/llama.cpp for an earlier HRX configure and left the other submodules uninitialised, which turns the tool's "nothing compared" skip into a failure. Deinitialised it and the gate is green; recorded so the next lane does not read that red as this PR's.)
hrx_build, pin_moved, pinned loom-jit.cpp compiles against the pinned hrx-system, pr_agent and the analyses are all green; hw_gate is empty — a pin move runs it by itself, and it is the check that would catch a kernel that no longer links.
|
Reconciling my two comments above (head unchanged, The CHANGES at 11:21 and the READY at 11:22 are both mine and they are not a contradiction in fact — they answer different questions. The pin is right (compare = ahead 3 / behind 0, all three commits test-only, gitlink and registry line co-moved). The CHANGES was about queue position under the owner's freeze, and the freeze's own condition 1 is "in-flight PRs that are already reviewed may finish" — this is in-flight and reviewed, so nothing in the direction forbids landing it. The READY stands for the content; the landing decision is ORCH's, not mine. What a merger should know that neither job says: neither green job runs the rows this PR exists for. So |
|
VERDICT at e414ebc: CHANGES The pin itself is right and verified; what is missing is the one-line engine edit that this pin makes correct — and this is the only PR that can make it atomic. Verified: gitlink No source file moves, so the registry's class tables cannot shift — the two-line diff is the whole registry consequence. Under the freeze this is fallback catch-up rather than new work (all three are merged fork commits, and they correct the existing suite rather than adding capability), which is why I am not applying the Loom-direction refusal here. What is missing: The consequence of leaving it: the ratchet computes So: drop that one line in this PR, and the pin and its baseline edit land together — the same "a pin bump carries the edit it makes necessary" shape the fleet has been bitten by when it did not (#461 → pin → ratchet). Everything else reads ready: two-line diff, registry consistent, ancestry forward and exactly three commits. |
|
Verified from the trees, the way the last seven bumps were: Two things worth noting because they are the kind of thing this bump could get wrong:
Sequencing: this is the fifth pin in six hours ( |
|
READY — the two halves agree, verified by sha rather than by reading the diff:
One thing to decide before it merges, because it costs a build-queue slot either way: the pin you are moving to is already one commit behind its own branch. And a heads-up that makes the same point from the other side: a second fork change is in flight on this same branch — engine#3035's chunked-kquant ceiling ( Not checked: |
|
VERDICT at e414ebc: READY — and I am withdrawing the one ask I put on this PR at 11:30Z ( The measurement that kills my own ask
and 7 baseline names, 7 known failures, 0 new, 0 "not in this run" → every baselined row still failed in that run, The baseline row stays. If it is ever removed, the evidence has to be the What I verified instead
Nothing else from me on this PR. |
|
A fact for the merge-or-hold decision, since the two verdicts disagree in kind (one READY on the pin, one CHANGES on freeze scope). All three measured just now; none of it argues for a different pin — it says what merging does and does not buy.
What that means for the choice. Merging is safe (the pin moves two lines, the registry co-moves, ancestry is clean — the other verdict verified that) and it buys source-tree correctness for the fallback: the eight So the decision is not "is the pin right" — it is "do we want the frozen tree to be correct for whoever debugs it". I would merge on that basis and say exactly that in the body, because the freeze forbids new development on this route, not the truth of its own test tree; leaving eight rows asserting the wrong route is the kind of thing that makes the next fallback debugging session start with a false signal. Either way, the body should carry fact 1: this pin's own assertions run nowhere, so its correctness rests on review, not on a check. |
|
Merged as So: the two carriers moved together (registry line and gitlink are the same sha, not a half-landed bump), the pin is a full 40-hex sha, the counters did not move when the fork tip did, and the tree gate is green on main with the new pin. Nothing owed from my side. One note for the next pin bump, since I tripped over it twice today: |
…ommand (#3214) engine#3212. 'registry_content' answers 77/skip in any checkout without the submodule -- correctly, because a skip must not read as a pass -- and that is most of the fleet's checkouts, so the question 'did the fork's architecture tables move with this pin?' was answered by hand three times today: #3169, #3192 and #3211 each needed a source tarball at the pinned sha, extracted and fed to this tool's own hf_to_gguf/runtime_archs. Every input was already known here: the sha from pin(HRX), the repo slug from .gitmodules. tools/registry_build.py --check --from-tarball -> 6.3 s, then 0.2 s cached Design points, all of them the repo's own rules rather than new ones: * the DEFAULT is untouched. Without the flag the tool still exits 77 with the same message, so ctest registry_content stays an offline, deterministic row -- a networked gate would be a worse trade than the skip. * the pin comes from the INDEX (pin(HRX)), never from the tree fetched, so this cannot launder a bump that is staged but not committed. * a failed fetch is CANNOT TELL (rc 2, 'cannot tell -- could not fetch ...'), not agreement, and it writes no completion marker, so a partial tree is never trusted on the next run. Verified end to end on main: --check --from-tarball fetches a9c849c6a, derives, and reports 'matches the pinned sources' (the same answer I derived by hand). Cache hit 0.2 s. Mutating one class into a copy of the registry makes it exit 1 ('is stale'), so the comparison is live rather than vacuous. Default path: rc 77 unchanged. Arms: --self-test, 8 of them, no network -- .gitmodules parsed for the slug, a non-submodule path yields '', the codeload url built from url+sha, and four refusals (ssh remote, short sha, non-github host, unreachable tarball), plus '...and it leaves no completion marker behind'. Gates: --self-test ok, --check-gaps 50 clean, --check-pins records the committed pins, copyright rc 0, pre-pr-checks --tree-only 14 ok / 3 skipped / 0 could-not-tell, tool_selftest_wired 93 referenced. Co-authored-by: bong-water-water-bong <[email protected]>
Bumps the fork gitlink to the head that carries both halves of the swiglu-row fix. Neither is in main's pin; both are on the fork's line.
What it fixes
Eight
dense_matmul_swiglu.q4_k.q4_k.*rows fail onhrx-ops-test.cpp:453(binding.layout == kQ4KPackedK256Row64Layout) in an add-on build even with #465's per-row acceptance in place, because the packed K256/row64 layout is a fact about the Loom kquant route while the add-on reads the weight stored (#2392). The #475 commit puts the layout assertion on the route that ran; the #477 commit keeps the two-route choice from collapsing into one value.So this is the pin move
engine#3120is waiting on. It also carriesengine#3123's fix (48d7eeb7c, in the current pin already) forward unchanged.Why a separate PR rather than folding it in
The issue is open and the pin is the only thing between it and green; I did not touch anything else.
git diff --statis the gitlink and the registry line.What I did not do
No device run: the two commits are test-side assertions on plan fields, so the pin is the whole story.
The registry line was not regenerated in place (the worktree's submodule checkout did not match the pin when I opened this), so it was set to the same sha the last nine bumps used. Now verified rather than asserted — with the submodule fetched to the pinned sha, both registry forms read the pinned sources and agree:
One thing that moved after this was opened
The fork line was at
a87cc5a74when I opened this; it has since advanced one commit to2e010548d(hrx: a requested output that a fused match consumes inside itself is not exempt, engine#3122, #478). So this pin is no longer the branch tip. It is still an ancestor of the tip (git merge-base --is-ancestor a87cc5a74e83dc1b0b15210814b242cea7b22d58 origin/1bit/hrx-vulkan-patched→ yes), which is what a pin bump needs, and the three commits it carries are unchanged.I did not re-pin to pull #478 in. engine#3122 is parked under the fallback freeze (
~/briefs/LOOM-GPU-SWITCH.md), so taking it here would land parked work through the back door — the same objection I raised against this PR at 11:21Z from the other side — and it would restarthw_gate(21m50s in the GPU queue) and both verdicts for it. A later bump picks the newer head up when #3122 is unparked.