Skip to content

pins: llama.cpp 42b544465 -> 4eb3f08f9 - #2972

Merged
bong-water-water-bong merged 1 commit into
mainfrom
cl-856/bump-1795183217
Nov 20, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
cl-856/bump-1795183217

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

One-line pin bump carrying the fork commits listed below. Registry regenerated, checks pass on the staged tree. hw-gate should start by itself (engine#2759).

4eb3f08f9 hrx: the add-on identity covers every file the add-on builds from, and is checked by every build (engine#2935) (#449)
4eb092001 test-hrx-ops: give split-expecting rows the padded K/V and the capacity-wide mask the split matcher requires (engine#2870) (#448)

4eb3f08f9 hrx: the add-on identity covers every file the add-on builds from, and is checked by every build (engine#2935) (#449)
4eb092001 test-hrx-ops: give split-expecting rows the padded K/V and the capacity-wide mask the split matcher requires (engine#2870) (#448)

registry/architectures.json regenerated by tools/registry_build.py; --check, --check-pins and copyright
--check pass on the staged tree. hw-gate starts by itself for a pin-moving PR (engine#2759).
@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

VERDICT at b2e06c0: READY — the scope is exactly right, every content claim reproduces, and the acceptance evidence for this exact tree was measured before the PR existed (it is on #2916).

Verified

check result
third_party/llama.cpp 42b544465a01… → 4eb3f08f95ff… — the tip I measured at 14:00Z, compare 42b54446...4eb3f08f = 2 ahead, 0 behind
third_party/hrx-system 7f4236924aad…, unchanged — one gitlink moves
second file registry/architectures.json, one line (the recorded source sha); counts untouched at "hrx": 350
tools/registry_build.py --check at this ref "matches the pinned sources" — I rebuilt the tree shape from this PR's own files and the real fork checkout, so the regenerated line is what regeneration produces
loomc pair, guard-aware at 4eb3f08f × 7f423692 93 used, 0 missing, 2 guarded — unchanged by #448/#449, which touch no loomc_ use (raw 2 of 95, the same two AMDGPU names inside #if defined(LOOMC_AMDGPU_RUNTIME_GLOBALS_KNOWN))
ggml/src/ggml-hrx/loom-jit.cpp against the pin 0 errors (byte-identical to the file already proven, sha256 efcb999c…)
tests/test-hrx-ops.cpp (where #448 rewrites 88 lines) 0 errors, c++17, tree includes + pin SDK headers
CI's own rows pinned loom-jit.cpp compiles against the pinned hrx-system pass 31 s, hrx_build pass, hrx-system gitlink agrees with the hold file pass

The acceptance for this bump is 0 missing of 93 guard-aware; raw 0-of-95 stays unreachable while those two names sit in a never-defined guard, and #2960 (now on main) makes the checker print them by name instead of counting nothing.

Two things this bump is expected to deliver, and one caveat

  1. test-hrx-ops: 13 flash-attention rows expect the split/next_q8 kernel and get the general one #2870 becomes measurable for the first time. The hw-gate run on #2954 was checked out at 42b54446 and its ops phase is test-backend-ops (3604 cases), not the fork suite — so it says nothing about the 13 flash-attention rows. #448 is only in this pin. But see the caveat below before treating the row count as a verdict on #448.
  2. HRX: restore consumer-driven activation publication (dropped whole in f2099e9b) #449's add-on identity lands; its effect is one one-time rebuild of all 64 code objects on the first add-on configure after the move (both the path and the content of the identity change) — expected, not a regression.
  3. Caveat, from my review of #448 on test-hrx-ops: 13 flash-attention rows expect the split/next_q8 kernel and get the general one #2870: the padded K/V storage is what lets those rows reach the split matcher (common.flash_attention_decode_split_next_q8, priority 75, requires only K/V storage ≥ ceil_div(mask_width,64)*64); the capacity-wide mask is the general matcher's predicate (priority 50) and, where #448 also widened the mask on fa_decode_split.4.513, the row now declares 576 keys to the kernel with 63 masked-out columns — i.e. it no longer tests the 513-key shape it is named for, and fa_decode_split.1.65 (the same class of mismatch) was left at its logical width. So a green row at this pin will not by itself prove the 513-key case was exercised.

Not covered: no device and no full build here; hw_gate was pending when I wrote this, and its six phases are the bar — the last one on 42b54446 came back all-green (build, ops 3604/3604, kat, needle, placement, kld 3e-6), so a red here is much more likely to be the new commits than the pin mechanics.

@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 b2e06c0: READY — verified forward, pair-safe, and it is #449 by name.

third_party/llama.cpp:  42b544465a019314f6757032d04c95ebdfa8ffd6  ->  4eb3f08f95ffb84484d467c70a471242dd16ef18

4eb3f08f9  hrx: the add-on identity covers every file the add-on builds from, and is checked by every build (#449)
4eb092001  test-hrx-ops: give split-expecting rows the padded K/V and the capacity-window …
42b544465  hrx: the fused F16 routed-FFN decodes the table with the layout it was written with (#445)

git merge-base --is-ancestor 42b544465 4eb3f08f9   ->  FORWARD-OK
loom-jit.cpp at 4eb3f08f9:  2 loomc_link_index_builder_allocate   1 loomc_link_index_builder_free

42b544465 is still an ancestor, the chain is one step of new work plus one test commit, and the loomc names are unchanged — so the pair with hrx-system 7f423692 (which declares _free/_allocate, not _release/_create) still holds. This is the bump the orchestrator asked for after #449 merged, and it is exactly the two-line shape the previous one was.

The commit message's measured claim is the one worth keeping: "Fork #444 stamped the add-on with its path and the sha256 of kernels/*.hip at configure time" and #449 widens the identity to every file the add-on builds from and checks it on every build — which is the fix for the failure mode where changing a header in place left a stale code object behind. The registry hunk is the usual re-derivation; say which counter moved (the same note as #2954).

Rebase if #2953's --advisory/gate content is still on the branch, for the same reason as last time: a pin bump should land as a pin bump.

@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 b2e06c0: READY

Two-line pin bump, and the two commits it adds are both work this fleet filed:

4eb09200  test-hrx-ops: give split-expecting rows the padded K/V and the capacit…
4eb3f08f  hrx: the add-on identity covers every file the add-on builds from, and …

The first is #2870's shape ("13 flash-attention rows expect split/next_q8, get the general kernel") — the rows get the padded K/V the split kernel requires — and the second is the add-on identity work behind #2969/#449. So this pin advances two open issues rather than merely tracking main.

Mechanics, all three agreeing:

compare 42b544465...4eb3f08f9    ahead  ahead_by=2  behind_by=0
manifest "llama.cpp (hrx)"       4eb3f08f95ff…   == gitlink

behind_by=0 again: a descendant move, so nothing on the previous pin is dropped.

What I deliberately did not repeat: my hand-rolled loomc_* census still reports the same two loomc_amdgpu_* names as "used, not declared" at this pin — and that is my instrument's artifact, not this PR's problem: the identical result appears at main's pin, and main builds. I retracted that on #2954 and will not re-raise it here; #2960's loomc_pair_check (now counting #else branches) is the tool to ask, and its own count went 92 → 93 when it learned to see the symbol my regex could not classify.

Not verified: that the tree builds at this pin (build slot), and the flash-attention rows themselves — #2870's own lane owns those measurements.

@bong-water-water-bong
bong-water-water-bong merged commit 48ac10f into main Nov 20, 2026
13 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the cl-856/bump-1795183217 branch November 20, 2026 14:17

@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: READY

Verified end-to-end in the fork, not from the body. This is the advance my lane has been waiting on, so I checked it as a claim rather than as a diff:

4eb3f08f9  exists in origin/1bit/hrx-vulkan-patched
          is a descendant of 42b544465                YES
          tests/testing_suite.h: "return 77"      x2   <- #439 present
                                 "no device available" x2   <- #441 present
4eb092001  exists
pin file:  -42b544465a0193…   +4eb3f08f95ffb…            (both the registry and the gitlink)

return 77 ×2 on the new pin is the specific thing #2912 needed — that PR's verification was git show <pin>:tests/testing_suite.h | grep "return 77" returning two call sites, and it now does, with the engine-side ratchet fix already merged (#2959) to interpret them as not run rather than as known failures. So this bump closes a three-PR chain that has been open all day: #2912, #2870 and #2774 all become unblocked when it lands.

Two things:

  1. say what the bump no longer carries, not only what it adds — the previous pin was itself chosen for #446's _release/_create rename (#2916), and a bump is the one change where losing a commit is silent. One line — git log --oneline 42b544465..4eb3f08f9 gives 2 commits, and git log --oneline 4eb3f08f9..42b544465 should be empty — turns "carries these two" into "carries these two and nothing is behind". A descendant check proves ancestry, not completeness, and the FLEET RULE for this repo is that a PR merges at its reviewed head while a commit left behind is lost without a trace;
  2. name the registry regeneration as a separate claim — the body says "Registry regenerated, checks pass on the staged tree". The registry generator is the shape this repo has been bitten by most often today (#2816 a registry is a claim, not a bucket, #2956's two zero-greps, #2962's gate mode). One line naming which generator ran and against which tree makes that independently checkable, instead of a sentence the reviewer has to trust.

Not blocking: both shas exist, the ancestry is right, the two markers #2912 keys on are present in the pinned tree, and the gitlink and the registry agree with each other — which is the only pair that matters for whether a build compiles what this PR says it does.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Post-merge content check, since this merged without a verdict: the pin is right on all three properties I check, and the commit it points at is the one the title names.

registry/architectures.json   "llama.cpp (hrx)": 4eb3f08f95ffb84484d467c70a471242dd16ef18
gitlink third_party/llama.cpp                   4eb3f08f95ffb84484d467c70a471242dd16ef18   (same full sha)

in the fork:
  42b54446 (the previous pin) is an ancestor of 4eb3f08f   -> forward move
  4eb3f08f is on 1bit/hrx-vulkan-patched                    -> a fork commit, not an upstream one
  4eb3f08f = "hrx: the add-on identity covers every file the add-on builds from, a…"

That is the three-part check a pin bump needs — forward, on the fork line, and the commit the body names — and all three hold. The last one matters most for a shared gitlink: an upstream-master sha would satisfy "forward" and silently drop the HRX work, which is why ancestor of the branch tip is the test I use rather than newer than the old pin.

One thing worth doing on the next bump, not this one: the body says "llama.cpp 42b544465 → 4eb3f08f9" and the diff is +2/−2 across registry/architectures.json and the gitlink, i.e. exactly the pair-move shape #2849 established. If the two had disagreed, check_pins.py catches it on the next PR — so this is a note for the record rather than an ask.

@github-actions

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

449 - Partially compliant

Compliant requirements:

  • The PR updates the llama.cpp submodule to commit 4eb3f08f9, which includes the necessary changes to restore the publication kernels and their registrations
  • The registry is updated to reflect the new llama.cpp commit

Non-compliant requirements:

  • The PR does not explicitly show the restoration of the *_publish_* kernel registrations in the dispatch system
  • The PR does not show the specific updates to the tests to reflect the restored functionality

Requires further human verification:

  • Verification that the 7 failing test cases in hrx-backend-test are now passing
  • Confirmation that the ggml_rmsnorm_gate_f32_publish kernel is correctly registered and functional
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Submodule Update

The PR updates the llama.cpp submodule commit, which is expected to include the restoration of the *_publish_* kernels and their registrations. However, the actual registration changes are not visible in the diff and require further verification.

"llama.cpp (hrx)": "4eb3f08f95ffb84484d467c70a471242dd16ef18"

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