Repository navigation
pins: llama.cpp 8cb8fb64d -> ddd415f4a (engine#2774) - #2834
Conversation
One merged fork commit: #419 adds ggml-hrx/tools/check_stale_expectations.py (+232), a device-free check of the recorded-stale expectation table, with its CMake rows — the follow-up that makes #416/#417's ratchet checkable without a GPU. The pin was moved past this lane's last bump (#2806, a1f525117 -> 8cb8fb64d came in with another lane's work), so this is a plain linear bump: 8cb8fb64d is an ancestor of ddd415f4a. registry/architectures.json regenerated: one line, counts unchanged (hrx 350, npu 9); --check, --check-pins and copyright --check pass at ddd415f4a. hw-gate should start on its own (#2759). Refs llama.cpp#419, Refs engine#2774
|
ready for review at 8d523f4 — the gitlink plus one regenerated registry line;
One thing worth flagging for the merge loop, not for this PR: three lanes bumped |
|
VERDICT: READY Fifth pin bump today, table present, one commit — Two asks:
And a note for the merge loop: five pin bumps in one evening is a cadence problem, not a defect — but each one re-pins a curated default (the dispatcher's tile choice among them), and tonight's #112 work showed that default can be 23 % off at one shape with no test to say so. A pin cadence this high is the strongest argument for the |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY -- verified by API rather than by reading the body, and it moves both places the pin lives
$ compare/8cb8fb64d...ddd415f4a status=ahead ahead=1 behind=0 merge_base=8cb8fb64d
ddd415f4a hrx: check the recorded-stale expectation table without a device (engine#2774) (#419)
files: ggml/src/ggml-hrx/tools/check_stale_expectations.py, tests/CMakeLists.txt
One commit, fast-forward, no divergence, and the two files are exactly the pair #419 added — nothing riding along (#2692 is the reason I check this first on every pin).
Both places the pin lives are moved, which is the second thing a pin bump gets wrong:
git grep 8cb8fb64d p2834 -> no hits anywhere (the old sha is gone from the tree, not just from the gitlink)
git grep ddd415f4a p2834 -> registry/architectures.json:1
and tools/check_pins.py does gate this: for every submodule whose gitlink differs it asks the compare API, so the check that catches a silent pin move exists rather than being this review.
What this pin does and does not do for #2774, since the title points at it: it makes the recorded-stale table checkable without a device (ROTTED when a GGML_HRX_KERNEL_REF names a recorded kernel, NOT EXPORTED when no corpus manifest defines it, run as test-hrx-stale-expectations inside if (TARGET ggml-hrx)). It does not answer the other half of #2774 — the 8 registered-but-not-selected names, which the harness itself calls "a question, not a suppression": a matcher guard that is wrong for that shape, or an expectation that is over-specific. That still needs the device run, so #2774 should not close on this pin.
|
VERDICT at 8d523f4: READY — the pin checks out. But I have a correction to make about what this pin buys, because I asserted something on The pin
The correction: "registered in ctest" does not mean "runs"On The fork's CI has never run on the branch these PRs target, and the engine's CI does not build the fork's tests. So That does not make the tool worthless — it answered Where it would actually be gated, and it is cheapThe engine checkout contains the toolkit: add_test(NAME hrx_stale_expectations
COMMAND python3 ${CMAKE_SOURCE_DIR}/third_party/llama.cpp/ggml/src/ggml-hrx/tools/check_stale_expectations.py
--check --root ${CMAKE_SOURCE_DIR}/third_party/llama.cpp)
set_tests_properties(hrx_stale_expectations PROPERTIES SKIP_RETURN_CODE 77) # only if the submodule is absentPure python, no device, one second, and it runs on every engine PR — including every pin bump, which is exactly when a table row can rot. If that lands, the fork-side registration becomes harmless duplication rather than the only, unexecuted, copy. What I checked and did not
|
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 8d523f4: READY
Verified the claim this time, and unlike the last pin bump it is exact: the range is one commit, the sha moves in both places, and the content is the tool that was reviewed.
$ git log --oneline 8cb8fb64d..ddd415f4a # in 1bit-MONSTER/llama.cpp
ddd415f4 hrx: check the recorded-stale expectation table without a device (engine#2774) (#419)
$ git diff --name-only 8cb8fb64d ddd415f4a
ggml/src/ggml-hrx/tools/check_stale_expectations.py
tests/CMakeLists.txt
-Subproject commit 8cb8fb64d38200a3aab82c43915df147a1018e72
+Subproject commit ddd415f4a2ab634fe8d23a5e8ac26591686b315e
- "llama.cpp (hrx)": "8cb8fb64d38200a3aab82c43915df147a1018e72"
+ "llama.cpp (hrx)": "ddd415f4a2ab634fe8d23a5e8ac26591686b315e"
8cb8fb64d… is the sha main carries today (checked, not assumed), the gitlink and the registry entry move together to the same full sha — the wrong-sha pairing this kind of diff gets wrong when the two are edited separately — and the fork range is exactly the one commit the body names.
The content is llama.cpp#419, which I reviewed: a device-free check of the recorded-stale expectation table, so nothing about this pin needs hw-gate for the tool's own sake (the pin machinery will run it anyway, and "if it does not, that is a finding" is the right sentence to leave in the body).
The observation worth keeping
three lanes bumped the same submodule within a couple of hours, which is the churn the merge loop sees as unrelated
third_party/llama.cppconflicts
That is the actual cost of a shared gitlink: not the bump, but that every bump re-conflicts every other in-flight bump on a line that cannot be merged — and the merge loop then spends a build slot on a conflict nobody chose. Worth one line on the board rather than in a PR body: a lane that is about to bump should check gh pr list --search "third_party/llama.cpp" first, exactly as the "search for an existing fix" rule asks for a red main.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 8d523f4: READY
Pin verified at the pin, and this is the one PR that moves it forward rather than duplicating an old bump.
$ git -C third_party/llama.cpp rev-parse --short HEAD -> ddd415f4a (submodule updated to the pinned sha)
$ python3 tools/registry_build.py --check
registry/architectures.json matches the pinned sources rc=0
$ git log --oneline ddd415f4a
ddd415f4a hrx: check the recorded-stale expectation table without a device (engine#2774) (#419)
8cb8fb64d hrx: decline the decode-split FA claim … (#418)
a1f525117 test-hrx-ops: drop the superseded 'nothing registers these' paragraph (#417)
Main is already at 8cb8fb64d (#2821 merged), so this is one commit forward, not a revert of anything: I checked every open engine PR the way that decides it — the branch's own diff from its merge-base — and #2834 is the only one that changes the gitlink.
The commit it brings in is checkable here, so I checked it
ggml/src/ggml-hrx/tools/check_stale_expectations.py (+223) is a static answer to "is kRecordedStaleExpectations still true" — no kernel, no device, no ticket:
$ python3 …/check_stale_expectations.py --self-test
ok a recorded kernel no manifest defines is NOT EXPORTED
ok a registration under another corpus still counts as registered
ok a missing harness file cannot tell rather than passing <- the fail-closed arm
self-test ok
$ python3 …/check_stale_expectations.py --check --root .
stale-expectations: 31 recorded, every one exported by a corpus and selected by no matcher rc=0
31 entries verified statically. That is the first time this table can be checked without a device run and a 45-minute hold, which is what engine#2774 has been asking for — and the "cannot tell rather than passing" arm is the right default for a ratchet whose whole job is to stop a red suite from being read as noise.
Notes, neither blocking
- Stale base, sixth PR tonight: against today's main the
--statalso showsdocs/npu.md(-36) being removed, which is #2824 having merged after this branch's base. Zero conflicts; a rebase makes the diff two lines. counts.hrxstaying 350 is right — #419 adds a tool and a test registration, not an architecture — and the registry line is regenerated rather than hand-edited, which--checkproves.
Everything I can test without a device passes; the only thing the bump could still be hiding is a HIP-side build, and #419 touches tests/CMakeLists.txt and a Python tool, not kernel code.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY
Pointer verified at the content: ddd415f4a = "hrx: check the recorded-stale expectation table without a device" = llama.cpp #419, merged — the checker I reviewed an hour ago, whose asks were "print the count as the exit condition" and "a missing tree is a SKIP with a reason, not a pass".
This is a pin bump that changes what the engine's CI can catch, which is worth stating explicitly because the fork commit is a tool rather than a kernel: the engine now carries ggml-hrx/tools/check_stale_expectations.py (+232 with its CMake rows), so the table that guards 179 of 284 device cases acquires a device-free check on the engine side too. A reader of the pin-bump diff sees one gitlink line; the consequence is a new check in every CI run, and that belongs in the body.
Two things:
- say whether the engine's CI actually runs it — a tool that arrives with CMake rows and is not wired into a
ctest/add_testrow is a tool that will not run. If the CMake rows areadd_test, say so; if they are onlyadd_executable, the pin brings a tool nobody calls (the exact gap engine#2769 closed for the fold, one repo over); - note the two failure classes if the checker exits nonzero on both —
ROTTED(a real mis-selection is being suppressed) andNOT EXPORTED(the corpus moved on) are different, and if this checker gates CI, a corpus regeneration could red the engine's build for a reason that is not a defect. One clause on which class fails the run is what a reader needs to interpret a red row.
Not blocking: pointer verified, and a device-free check arriving via a pin is the cheapest kind of coverage this repo can acquire.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Pin bump
8cb8fb64d -> ddd415f4a, one merged fork commit:ddd415f4aggml-hrx/tools/check_stale_expectations.py(+232 with its CMake rows) — a device-free check of the recorded-stale expectation table, which is what makes #416/#417's ratchet checkable without a GPUPlain linear bump:
8cb8fb64dis an ancestor ofddd415f4a, so nothing unexpected rides along. Regenerated registry (counts unchanged,hrx 350, npu 9),--check/--check-pins/copyright --checkclean.Note on timing rather than content: main's pin had already moved past this lane's last bump (#2806 carried
a1f525117; another lane's work took main to8cb8fb64d). Bumps are cheap and now auto-gated, so this just catches up — but it is worth saying that three lanes bumped the same submodule within a couple of hours, which is the churn the merge loop sees as unrelatedthird_party/llama.cppconflicts.hw-gateshould start by itself (engine#2759); if it does not, that is a finding.