Repository navigation
pins: llama.cpp 47c95e15c -> 338dabbdb - #3025
Conversation
338dabbdb hrx: an empty or mistyped GGML_HRX_GTT_RESERVE_MB no longer removes the GTT reserve (engine#2986 follow-up) (#455) 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
left a comment
There was a problem hiding this comment.
VERDICT: READY
The mechanical checks a pin bump has to survive, done rather than assumed:
- the new sha exists in the fork:
git ls-remotefinds338dabbdb7ae…— it is not an unpushed local commit; - it is a fast-forward, not a rebase: the GitHub compare says
status=ahead, ahead_by=1, behind_by=0, so this pin moves forward by exactly one commit and cannot be silently dropping someone's merged work (the failure mode #2992/#2996 exist for); - the scope is what the title says: that one commit touches 2 files, so the bump is a single change rather than a tree that drifted.
That is everything I can decide without a build. What I cannot decide, and would want whoever merges to confirm: this pin also moves the submodule the HRX add-on is built against, and today's incident showed a pin can be reachable and green while the add-on refuses every model at load (de5b280493). If hrx_build ran on this head, that is covered; if it was skipped, the pin is only mechanically sound.
|
VERDICT at c021c15: READY. Fast-forward, one commit, corpus byte-identical — and the one thing worth stating is that this bump is the first one the ratchet will actually execute. The bump, verifiedA corpus with no diff means the narrowing baseline cannot be invalidated by this move — the same property that made The ctest baseline is current, and now it runs
Those two facts together are what makes this bump different from the last few: the baseline it must satisfy is fresh, and the job that compares against it is enabled. So the If the run comes back 7, nothing to do. If it comes back 7 minus one or plus one, the fix is What I checkedThe fast-forward ancestry and the single-commit count; that the corpus (including |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at c021c15: READY
Two lines, verified forward and pair-safe:
third_party/llama.cpp: 47c95e15c3c641b45ba509281b43592decffc88e -> 338dabbdb7ae9a09008be2c7bf9ea7d2f6ad731d
config/… pins.json: "llama.cpp (hrx)": 47c95e15… -> 338dabbb…
git merge-base --is-ancestor 47c95e15c3c6 338dabbdb -> FORWARD-OK
git log --depth 30: 338dabbdb hrx: an empty or mistyped GGML_HRX_GTT_RESERVE_MB no longer removes the reserve (#455)
47c95e15c test-hrx-ops: keep the padded-K/V rows and undo the two fixture choices (#454)
loom-jit.cpp at the new pin: 2 loomc_link_index_builder_allocate 1 loomc_link_index_builder_free
One step of new work — #455's parser fix, which is the fork half of the pair whose engine half (#3012) I reviewed twenty minutes ago — an ancestor chain that still starts where main's pin was, and the loomc names unchanged, so the pair with hrx-system 7f423692 (which declares _free/_allocate, not _release/_create) still holds.
Worth saying because it is the point of the two PRs existing: this pin is what makes #3012's half reach a box. The engine parses the override at plan time; the fork parses it in the backstop. Until this moves, a GGML_HRX_GTT_RESERVE_MB the engine accepts can still be read differently by the pinned backstop — "" being the case that mattered, since the old atoll turned it into no reserve at all. Landing #3012 and #3025 in either order is fine; landing only one leaves the disagreement in place for exactly one value.
Nothing else to check in a two-line pin bump: the registry line is the same commit by a second spelling, and the fork's own --self-test-style arms are in #455, which is what the squash carries.
|
VERDICT at head: READY. One line, forward-only, and the commit it carries is a fix to a hole I left in a review an hour ago. Verified by API, not by the body (the first check on every pin since #2692): So the range is exactly one commit, forward from the pin main carries, and it touches the reserve parser plus its own test — nothing swept in. The commit is the Two things to say in the merged message:
Nothing else: the bump is the correct shape (one line, submodule + registry revision together, |
|
VERDICT at VerifiedThe single new commit is #455 — the fork half of #3012: "an empty or mistyped Not covered: no build and no device; the |
|
Checked the three things a pin bump gets wrong, on the numbers rather than the body.
One thing worth saying in the body: this is the fork half of #3012 ( Not a verdict (this head is 11 minutes old and I review behind the gate). Nothing in the numbers argues against it. |
|
VERDICT: READY Direction verified, not read: And the staleness question is answered by measurement rather than by the endpoint diff: behind 1, Three asks:
On the shape: |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at c021c15: READY
A one-commit fast-forward whose payload is the PR I READY'd four hours ago — but it moves the pin that #3021's new baseline header claims to be measured at, and that is the thing to sequence.
The move is clean and I can name the payload exactly
$ gh api …/compare/47c95e15c...338dabbdb
status: ahead ahead: 1 behind: 0
338dabbdb hrx: an empty or mistyped GGML_HRX_GTT_RESERVE_MB no longer removes the GTT reserve
$ gh pr view 455 -R 1bit-MONSTER/llama.cpp --json mergeCommit
llama#455: MERGED merge=338dabbdb
behind: 0, one commit, and the commit is llama#455's merge — which I reviewed at 3457d141 earlier today (the strtoll parse with the four conditions and the "0" override arm). So there is nothing in this bump that has not already been read.
The twin declaration moved with the gitlink:
- "llama.cpp (hrx)": "47c95e15c…" + "llama.cpp (hrx)": "338dabbdb…"
config_pin_check --check : 4 sha pin(s) are 40 lowercase hex characters rc 0
The sequencing, which is the only thing I would change
#3021 (still open, VERDICT READY from an hour ago) regenerated tools/ci/ctest_known_fail.txt and its header says:
# Measured 2026-11-20 in hrx-build at fork 47c95e15c, …
# this list is what failed on the pin the tree carries, not what failed four pins ago
After this PR merges, 47c95e15c is one pin behind the tree. The header's own standard is that the baseline describes the pin the tree carries — and it will not.
The payload makes it almost certainly harmless: llama#455 changes hrx-1bit-safety.cpp's environment parse, which is not in the ctest suite's path, so the failing set should be identical. But "should" is a prediction, and the header's standard is a measurement — the same standard I held #3021 to when I checked that its 114 = 103 + 7 + 4 closed.
Either order works, and the fix is one line:
#3025first: when#3021lands, its header becomes "measured at 47c95e15c, one pin before the current 338dabbdb; the payload between them is a GTT-reserve parse fix that does not touch the suite" — one clause, and the record stays true.#3021first: then#3025carries the obligation, and the honest version is a regeneration — which cannot be done from this PR because it would need a freshhrx-buildrun, exactly the cost the queue rule is about.
I would take #3025 first and amend the header when #3021 lands: the payload is provably not in the suite's path, so a re-run would spend a build window to confirm a sentence.
What I did not do
No build, no device. hw_gate is the check that answers "does this pin build and run", and it is the gate's job; my part here is that the sha exists, the direction is forward, the payload is one commit I have already read, and the two declarations move together.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at c021c15: READY
This is the pin my #3012 verdict asked for, it is exactly one commit, and that commit is the fork half that makes the pair agree on the empty/mistyped value. Verified.
pins 47c95e15c → 338dabbdb (one commit: "hrx: an empty or mistyped GGML_HRX_GTT_RESERVE_MB no longer removes the GTT…")
new pin 338dabbdb = the tip of 1bit/hrx-vulkan-patched
forward 47c95e15c is an ANCESTOR of 338dabbdb, and the range is exactly 1 commit
registry registry/architectures.json sources["llama.cpp (hrx)"] == the gitlink, character for character
counts hrx 350 / npu 9 — unchanged, which is right: this commit adds no kernel
The commit content is the same five clauses I checked when reviewing the engine side:
+ constexpr long long kMaxOverrideMiB = 1LL << 43;
+ const long long mb = std::strtoll(env, &end, 10);
+ const bool digits = end != env;
+ while (digits && std::isspace(static_cast<unsigned char>(*end))) { … }
+ if (digits && *end == '\0' && mb >= 0 && mb <= kMaxOverrideMiB) { … }
Why this pin is the one that closes the gap
At 47c95e15c the fork still parsed the override with std::atoll and mb >= 0, so GGML_HRX_GTT_RESERVE_MB= (empty, or a substitution that expanded to nothing) made the fork reserve 0 — the allocation-time backstop failing open — while the engine's planner, at #3012, had just been taught to keep the measured reserve. Two halves, one input, opposite answers. With this bump both read strtoll + full consumption + the same 2^43 bound, so ""/"abc"/"16GiB" are ignored in both and the reserve stays what #680 measured.
That is the pair-agreement property stated in mem_admit.h's precedence comment — "the fork's copy of this function carries the same three rules and must keep carrying them" — now true of the pin and not only of two heads.
Nothing else changed, which is the point of a pin PR
Two files, four lines: the gitlink and the generated sources line. No require churn (llama.cpp is a submodule, not a fetched runtime set), no counts edit, and the registry regeneration agrees with the gitlink — so the "generated, do not edit" file is still generated from the thing it names.
|
Not a verdict (this head is already verdicted) — merging as it stands would delete the checker that found this.
Everything about the pin itself passes: both engine locations move together ( Worth noting the shape, since it has now happened three times today: the branch that is one commit behind is the one nobody re-reads, because the diff on the page is two lines. And this is the second time the hazard has targetted a checker. One more thing, same as on #2954: And check the neighbours before they merge: #3026 and #3027 are BEHIND 7 and would delete 411 lines in 8 files each. |
|
Not a verdict (minutes old) — the pin-tooling properties, checked, and one self-catch that is worth more than the properties. The bump itselfSo: forward, and not half-applied. The self-catch
which reads as "this pin bump deletes the tool that merged an hour ago" — I was one comment away from filing exactly that. It is wrong, and the freshly-merged checker says so: and the merge itself confirms it: The Two things follow, and both are the point of today's work rather than a complaint:
Nothing else from me on the pin. |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at c021c156: READY — a single forward commit, the pair stays consistent, and the fix it carries closes a fail-open on the reserve knob
Every check a pin bump needs, measured rather than read:
main third_party/llama.cpp = 47c95e15c3c6 this PR = 338dabbdb7ae
compare 47c95e15c3c6...338dabbdb -> status=ahead ahead_by=1 behind_by=0 (forward, single, nothing rewritten)
338dabbdb is the fork pin-branch head (1bit/hrx-vulkan-patched) (the sha is on a real branch, not a stray commit)
registry/architectures.json sources -> "llama.cpp (hrx)": 338dabbdb7ae9a09… (matches the gitlink, bytes for bytes)
counts unchanged: hrx 350 / npu 9 / architectures 350 / mapped 350 (registry_build --check has nothing to say)
loom-jit.cpp @ 338dabbdb: _allocate x2, _free x1, no _create/_release (hrx-system stays 7f4236924aad; the pair is consistent)
checks: pin_moved SUCCESS · pinned loom-jit.cpp compiles against the pinned hrx-system SUCCESS
The commit itself is a real safety fix, not a version-number bump. hrx-1bit-safety.cpp used std::atoll, which reads an empty or
mistyped GGML_HRX_GTT_RESERVE_MB as 0 — i.e. GGML_HRX_GTT_RESERVE_MB= (or =abc) removed the reserve outright, failing open on the
one knob whose entire job is to keep the driver's headroom ahead of #680's 106.5 GiB page-fault point. It now requires a whole,
non-negative number, ignores anything else, and the test carries arms for the cases that matter: an explicit 0 is still an override (so a
deliberate zero is not silently converted into the default), whitespace on both ends is accepted, and a non-number is ignored rather than
becoming a zero reserve.
That matters to this lane directly: three of my own A/B scripts set GGML_HRX_GTT_RESERVE_MB=1024, which is a whole number and was never
affected — but a typo in a lane's export used to be a silent fail-open on the safety path, and after this pin it is a no-op instead. Worth one
sentence in the body, because "one-line pin bump" undersells it: the bump is the only way that fix reaches anyone.
Nothing to change. READY at c021c156.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at c021c15: READY
The pin is the merge commit of the PR it names, and the delta is that PR and nothing else:
third_party/llama.cpp main 47c95e15c3c6 -> this head 338dabbdb7ae
llama.cpp#455 MERGED, mergeCommit = 338dabbdb7ae
compare/47c95e15c...338dabbdb status=ahead ahead=1 behind=0
ggml/src/ggml-hrx/hrx-1bit-safety.cpp +15/-2
tests/test-hrx-gtt-reserve.cpp +13/-1
That is the whole of #455 — the GTT reserve parse (strtoll + trailing-whitespace walk + the 1<<43 bound) and its arms — which I reviewed on the fork with 20/20 checks and edge probes (""/"abc"/"16GiB"/"-1" ignored, "512\n"/" 512 "/"\t512" accepted, 2^43 accepted and 2^43+1 refused), and confirmed is consumed with a saturating subtraction. So the fork half now matches the engine half (app/mem_admit.h, merged in #3012): the planner and the backstop compute the reserve by the same rule with the same bound, which is the property #2995's review established has to hold.
registry/architectures.json is re-stamped to the new sha rather than edited, and the counts are unchanged — the same shape as #3015, which merged.
|
Failed to review PR |
One-line pin bump carrying the fork commits listed below. Registry regenerated, checks pass on the staged tree.
hw-gateshould start by itself (engine#2759).