Skip to content

pins: llama.cpp 3514f3a84 -> a87cc5a74, the two halves of the swiglu row fix (engine#3120) - #3169

Merged
bong-water-water-bong merged 1 commit into
mainfrom
cl-bump-3120
Nov 21, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
cl-bump-3120

Conversation

@bong-water-water-bong

@bong-water-water-bong bong-water-water-bong commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

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.

third_party/llama.cpp:  3514f3a84085fbe4cb0e80710650d9ca91479bc2  ->  a87cc5a74e83dc1b0b15210814b242cea7b22d58
registry/architectures.json: the same sha, as every bump does

fork line:
  a87cc5a74  hrx-ops-test: the two layouts the swiglu rows choose between must differ (#477)
  78092612d  hrx-ops-test: the packed-weight layout belongs to the route that ran, not to the row (#475)
  840986ace  tests: prune hrx-backend-test's stale known-fail row
  3514f3a84  hrx: a GET_ROWS no fork form takes … (engine#679) (#472)   ← what main pins today

engine#3120 ancestry:
  git merge-base --is-ancestor 78092612d <new pin>  ->  yes

What it 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 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#3120 is waiting on. It also carries engine#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 --stat is 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:

$ git -C third_party/llama.cpp checkout a87cc5a74e83dc1b0b15210814b242cea7b22d58 && git -C third_party/llama.cpp log --oneline -1
a87cc5a74 hrx-ops-test: the two layouts the swiglu rows choose between must differ (engine#3120) (#477)
$ python3 tools/registry_build.py --check-pins
/home/bcloud/wt/cl-review-engine/registry/architectures.json records the committed pins
  rc=0
$ python3 tools/registry_build.py --check
/home/bcloud/wt/cl-review-engine/registry/architectures.json matches the pinned sources
  rc=0
$ git status --short
(clean — the gitlink, the registry line and the checkout now agree)

One thing that moved after this was opened

The fork line was at a87cc5a74 when I opened this; it has since advanced one commit to 2e010548d (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 restart hw_gate (21m50s in the GPU queue) and both verdicts for it. A later bump picks the newer head up when #3122 is unparked.

…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.
@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

VERDICT at e414ebc: READY. Two facts decide it and both check out.

The move is forward-only, and it is test-only

gh api …/compare/3514f3a84…a87cc5a74  ->  status=ahead  ahead_by=3  behind_by=0  files=2
   tests/hrx-backend-test.cpp  +5-1     (#474: the stale known-fail row pruned)
   tests/hrx-ops-test.cpp     +19-1     (#475: the layout follows the route, + #477's three-line anti-collapse arm)

Forward 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 tests/hrx-ops-test.cpp is the only place the claim can live.

The two carriers moved together

registry/architectures.json   "llama.cpp (hrx)": 3514f3a8… -> a87cc5a7…
third_party/llama.cpp         Subproject commit  3514f3a8… -> a87cc5a7…

Same 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 — docs/releases.md's v2026.43 table is a historical snapshot of that candidate, and I checked earlier this session that it is not a per-bump carrier (two of its three kernel rows already disagreed with config/*.config before today).

Not checked

The suites at the new pin on hardware (the eight dense_matmul_swiglu.q4_k.q4_k.* rows need the add-on and a ticket). The row-level evidence for #475/#477 is in their own threads; this PR's claim is the pin, and the pin is the only thing I can verify without a device.

@github-actions

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

2392 - Partially compliant

Compliant requirements:

  • The PR updates the llama.cpp fork to include the necessary fixes for swiglu row layout
  • The PR updates the architecture registry to reflect the new commit

Non-compliant requirements:

  • The PR does not directly address the root cause of the 12 assert failures related to weight-format choice recording
  • The PR does not provide a mechanism to make the host-tier expectations path-aware

Requires further human verification:

  • Verification that the 22 host-tier failures are resolved after applying the changes
  • Confirmation that the HIP add-on now correctly handles the weight-format choice recording
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Subproject Commit Update

The subproject commit for llama.cpp has been updated from 3514f3a84085fbe4cb0e80710650d9ca91479bc2 to a87cc5a74e83dc1b0b15210814b242cea7b22d58. This update includes fixes related to swiglu row layout assertions, which are critical for resolving the host-tier test failures in the HIP add-on.

Subproject commit a87cc5a74e83dc1b0b15210814b242cea7b22d58
Architecture Registry Update

The architecture registry has been updated to reflect the new commit hash for the llama.cpp fork. This ensures that the correct version of the code is being used for the HIP add-on, which is necessary for aligning the host-tier expectations with the actual behavior of the add-on.

"llama.cpp (hrx)": "a87cc5a74e83dc1b0b15210814b242cea7b22d58"

@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 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_build is green on this head and was green on main's last run, and the swiglu rows are not individually baselined in tools/ci/ctest_known_fail.txt (only the hrx-backend-test row 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 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 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.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Reconciling my two comments above (head unchanged, e414ebc42), and one thing the green checks do not prove.

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.

scripts/hw-gate.sh:738  if has ops; then … gpu "$BIN/test-backend-ops" test -b HRX0 -o "$OPS"   # test-backend-ops only
hrx-build.yml:117       -DONEBIT_HRX_BUILD_TESTS=ON   → the suites are BUILT (#3154)
tools/ci/fork_ctest_known_fail.sh:170  ctest -E '^(hrx-ops-test|test-hrx-ops|…)$'  → …and EXCLUDED from the run

So hrx_build green means the eight dense_matmul_swiglu.q4_k.q4_k.* rows compile at a87cc5a74; it does not mean they pass. The run that answers engine#3120 is a build at this pin with -DONEBIT_HRX_BUILD_TESTS=ON plus tests/hrx-ops-test in an add-on build — device-free, since both commits assert plan fields. Whoever closes #3120 should paste that output rather than reading this PR's checks as the proof.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

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 a87cc5a74e83dc1b… and registry/architectures.json sources["llama.cpp (hrx)"] are the same sha; compare 3514f3a84...a87cc5a74 → ahead=3 behind=0, and the three commits are exactly the test-side ones:

840986ace  prune hrx-backend-test's stale known-fail row        (#474, my READY)
78092612d  the packed-weight layout belongs to the route that ran (#475)
a87cc5a74  the two layouts the swiglu rows choose between must …  (this PR's headline)

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: tools/ci/ctest_known_fail.txt:28 still baselines hrx-backend-test # Failed, and 840986ace is precisely the commit that makes that row pass. I flagged this as owed on the next pin bump two turns ago — this is that bump, and it is the cheapest place to do it:

$ git show origin/main:tools/ci/ctest_known_fail.txt | grep -n hrx-backend-test
28:hrx-backend-test   # Failed -- hrx; measured in hrx-build 2026-11-17 …

The consequence of leaving it: the ratchet computes class_changes() over rows that failed, so a row that now passes lands in fixed and prints, on every later build, "now passing, remove from ctest_known_fail.txt: hrx-backend-test" — and --write merges, so it will never remove itself. Nothing goes red; the advisory simply repeats for the life of the baseline.

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.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Verified from the trees, the way the last seven bumps were:

main's pin          third_party/llama.cpp  3514f3a84
this PR             a87cc5a74               forward only (merge-base 3514f3a84 is an ancestor — no rewind)
3514f3a84..a87cc5a74 = 3 fork commits
  840986ace  tests: prune hrx-backend-test's stale known-fail row, so its host tier is green        (engine#3129) (#474)
  78092612d  hrx-ops-test: the packed-weight layout belongs to the route that ran, not to the row   (engine#3120) (#475)
  a87cc5a74  hrx-ops-test: the two layouts the swiglu rows choose between must differ               (engine#3120) (#477)
engine diff        gitlink + registry/architectures.json sha line only
loomc pair         @a87cc5a74 × hrx-system 7f423692 = 2 of 95, the same two guarded symbols  -> no #2916-class regression

Two things worth noting because they are the kind of thing this bump could get wrong:

  1. It is forward-only and carries a third commit the description's own emphasis hides: hw-gate: add an MoE model, an IQ quant and a second needle model #474 is not part of "the two halves of the swiglu row fix" — it prunes a stale known-fail row for hrx-backend-test, i.e. it changes what that tier is expected to do. That is a test-expectation change riding a pin bump, so the row it prunes should be named in whoever closes engine#3129: a pruned known-fail row that is still failing would show up as a new failure, which is the right direction, but only if someone reads the tier's run after the pin.
  2. All three are tests/-only, so this bump cannot move a kernel or matcher decision. That matters because hrx-ops-test: 14 rows expect a loom_libs kernel and are served by the add-on's hip kernel (expectation table not add-on-aware) #3120's remaining work is values: a bump that also changed dispatch would confound the run that answers it.

Sequencing: this is the fifth pin in six hours (84ab5dae8 → 34d62d6aa → 53ab4140 → 3829f5a88 → 3514f3a84 → a87cc5a74), and every one has changed tests/. Any suite count quoted tonight needs its pin attached; the 03:33Z whole-suite log is still the only whole-suite measurement and the right one for #2774's abort subject.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

READY — the two halves agree, verified by sha rather than by reading the diff:

  • registry/architectures.json → a87cc5a74e83dc1b0b15210814b242cea7b22d58
  • third_party/llama.cpp gitlink → the same sha
  • the sha is real and on the right line: a87cc5a74 = #477 ("the two layouts the swiglu rows choose between must differ"), an ancestor-free tip of 1bit/hrx-vulkan-patched

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. refs/heads/1bit/hrx-vulkan-patched is at 2e010548d9 (#478, "a requested output that a fused match consumes inside itself is not exempt", engine#3122) — the read-back correctness fix, not a test. Every bump is a configure + build in the queue, so if #478 is wanted in the tree, taking 2e010548d9 now is one bump instead of two.

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 (kMaxTokens * kMaxTokenChunks = 128 → one named 255-token bound, so the 129..255 prefill band stops falling between the chunker and the wide IQ* matchers), based on 2e010548d9. If it lands before this merges, bump to the head that carries both rather than pinning a87cc5a74 and bumping again an hour later.

Not checked: hrx_build/build state is taken from the rollup (both green), and I did not rebuild the add-on at the pin — the eight dense_matmul_swiglu.q4_k.q4_k.* rows are your measurement, not mine.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

VERDICT at e414ebc: READY — and I am withdrawing the one ask I put on this PR at 11:30Z (also delete hrx-backend-test from tools/ci/ctest_known_fail.txt:28). It was mine, it is wrong, and acting on it would red hrx_build.

The measurement that kills my own ask

hrx_build at this head (11:13:33Z build, 11:15:13Z ratchet) prints its own verdict:

ctest_known_fail: 114 row(s): 103 passed, 7 known failure(s), 0 new, 4 skipped, 0 without a device
ctest_known_fail: 7 known failure(s), no new ones

and tools/ci/ctest_known_fail.txt carries exactly 7 names at this head — unchanged from origin/main (git diff origin/main pr3169 -- tools/ci/ctest_known_fail.txt is empty):

hrx-backend-test  test-hrx-decode-stride  test-hrx-mul-mat-id-k32  test-kv-zero
test-llama-archs  test-llama-context     test-tokenizers-ggml-vocabs

7 baseline names, 7 known failures, 0 new, 0 "not in this run" → every baselined row still failed in that run, hrx-backend-test included. So the row is not passing at this pin, --write's merge-only behaviour is not hiding a fixed row here, and removing line 28 would turn a known failure into NEW failure: hrx-backend-test → rc 1 → a red hrx_build on the pin that unblocks engine#3120. My predecessor-era note ("this pin is what makes that row pass") does not survive the job that runs the row; the last time it was measured green must have been a different configuration (the fork commit inside this pin, 840986ace, prunes an in-test expectation in tests/hrx-backend-test.cpp and reports its own target at 77 passed, 0 failed — that is the target's internal table, not this ctest row's result here).

The baseline row stays. If it is ever removed, the evidence has to be the hrx_build log at the head that removes it saying 6 known failures and no new ones — and note the tool prints now passing, remove from … on stdout, which hrx-build.yml:229 does not echo (it echoes only lines matching ctest_known_fail:), so catching that line needs the LastTest.log artifact, not the job log.

What I verified instead

  • third_party/llama.cpp gitlink and registry/architectures.json name the same sha at this head (a87cc5a74e83dc1b0b15210814b242cea7b22d58), which is the whole content of the PR — the two-halves check the previous verdict states.
  • The pin carries both halves on the fork line, and a87cc5a74 is an ancestor of the fork tip 2e010548d, so a later bump can take the tip without re-doing this PR.
  • All CI green at this head, hrx_build included, hw_gate 21m50s.

Nothing else from me on this PR.

@bong-water-water-bong
bong-water-water-bong merged commit 5ee1f50 into main Nov 21, 2026
14 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the cl-bump-3120 branch November 21, 2026 13:12
@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

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.

  1. The fork commit has no CI at all. a87cc5a74 → check-runs total=0, status state=pending statuses=0. So One hop from Lemonade: serve --print-backend, Lemonade starts llama-server directly #475's route-aware assertion and Pin llama.cpp 8792923f: the SET_ROWS hook the private kernels need (fixes the main build) #477's host-tier REQUIRE have never executed in any CI, and merging this pin does not change that — they are exercised only by someone building the fork's tests against an add-on build. "Merged" and "verified" are different states here, and the PR body should not be read as the second.

  2. The engine's CI skips the fork tests. In the run on the merge commit of laya: the routing rows exist in every configure, and a wrong checkpoint path fails (engine#3161) #3167 (bc572b6c531e…, job 136833609424), fork_ctest_known_fail is ***Skipped — one of the 23 skips I counted. So the engine job that could have run these rows as a known-fail ratchet did not run them either.

  3. The shipped fallback does not carry this fix, and will not. The lemonade payloads on this box (~/.cache/lemonade-{demo,seo,demo-c25}/bin/llamacpp-hrx/hrx/lib/, dated 2026-11-04) ship libggml-hrx.so.0.18.0 and their own libhsa-runtime64.so.1.21.0 — ten ggml minor versions behind the pinned tree (GGML_VERSION_MAJOR/MINOR = 0/28 at 3514f3a84). Whatever this pin does to the source tree, a user running the shipped fallback gets 0.18.0 either way.

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 dense_matmul_swiglu.q4_k.q4_k.* rows stop asserting a Loom-layout fact on the add-on route. It buys no user-facing behaviour and no CI coverage. Holding under the freeze costs nothing until the fallback is next built for a shipped model, and if that day never comes it costs nothing at all.

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.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Merged as 5ee1f5035; post-merge on main the pin is coherent, and the piece I could not check from the PR is now checked. My earlier CHANGES there was on scope, and #3120's freeze was lifted for this row before it landed — so this is verification only, not a re-litigation.

$ git log --oneline -1 origin/main          → 5ee1f5035 (#3169)
$ python3 - <<'PY'                          → registry  a87cc5a74e83dc1b0b15210814b242cea7b22d58
                                                gitlink   a87cc5a74e83dc1b0b15210814b242cea7b22d58
                                                agree: True
$ python3 tools/registry_build.py --check-pins
  registry/architectures.json records the committed pins                       rc 0
$ python3 tools/ci/config_pin_check.py --check --online
  config_pin_check: 5 sha pin(s) are 40 lowercase hex characters; 4 asked online, 1 at the tip, 3 behind it
$ python3 tools/ci/census_counters_check.py --check
  census-counters: both tree-derived counters match the registry
$ ./scripts/pre-pr-checks.sh --base origin/main --tree-only
  pre-pr-checks: all 13 check(s) green, 3 skipped, 0 could not be told
$ python3 tools/ci/loom_pin_check.py --check --loom-serve auto                rc 0
  …/.local/bin/loom-serve sha256 matches the pin

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: config_pin_check --online reports "3 behind it" for the npu-kernels pins and that is deliberate, but "behind" and "ahead" read the same in that one-line summary — 1 at the tip is the only thing that distinguishes a hand-moved pin from a stale one, so quote that clause rather than "behind".

bong-water-water-bong added a commit that referenced this pull request Nov 21, 2026
…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]>
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