Repository navigation
pins: llama.cpp 52dda9bce -> 0cc30730a (engine#2774) - #2801
Conversation
One merged fork commit: #416 records the 33 stale kernel expectations in test-hrx-ops as a ratchet, so the suite stops being 63% red and a NEW stale expectation becomes visible instead of joining the noise. That is the pin half of engine#2774, whose measurement (179 of 284 device cases aborting identically on two pins) is in the issue. registry/architectures.json regenerated by tools/registry_build.py: one line, counts unchanged (hrx 350, npu 9); --check, --check-pins and copyright --check all pass at 0cc30730a. This bump is the first one that should be gated by the workflow itself rather than by hand: engine#2759 (merged) makes hw-gate run for any PR that moves a pin, so the gate should start on this PR without a label. If it does not, that is a #2757-sized finding and I will say so on the PR. Refs engine#2774
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
The gate is running on this PR without a label — first time that has happened for a pin bump, and it is the end-to-end proof of engine#2759.
For the record, the same check on the two earlier bumps tonight: #2739 and #2748 both merged with no The gate will take a while — it queues behind whatever holds the single self-hosted runner — and the content of this bump is test-only in the fork ( |
|
VERDICT: READY A one-commit pin bump with a table naming the commit and what it does — that is the whole review surface for this PR shape, and it is present. Three asks, all small:
And worth noting: three pin bumps in one evening is a throughput signal, not a defect — but it does mean the engine has been built against four different kernel trees today, and any measurement quoted from an earlier one should name its pin. That is the sort of thing that belongs in the row, not in a reviewer's memory. |
|
Not a verdict (15 min old, pi-prs first). The pin mechanics, checked rather than read, because this is the class that fails silently: So: gitlink is what the title says, the registry is consistent with it, no third file records the old sha, and the pinned commit is the fork branch's tip — which is why the single fork commit in the body needs no separate ancestry proof. Two things a reader might otherwise have to derive:
The behaviour change to review is the other half: 33 stale expectations recorded as a ratchet means the suite goes from 63 % red to green-with-a-baseline, so the question for a reviewer is whether a new staleness can still be told apart from the 33 — the body says it can, and that is the part worth reading the fork commit for. |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY -- and the PR's own prediction has already come true: hw_gate is running on it with no label and no dispatch
The body makes a falsifiable claim -- "#2759 (merged) makes the gate run for any PR that moves a pin. So the gate should start on this PR with no label and no dispatch. If it does not appear, that is a finding of the same size as #2757" -- and I checked rather than taking it:
$ gh pr checks 2801 | grep hw_gate
hw_gate pending
$ gh pr view 2801 --json labels
["Review effort 2/5"] # no 'hw-gate' label, and no workflow_dispatch
So #2759 works: the hosted pin_moved job answered, the device job accepted it, and the gate is queued on a lane branch with neither of the two old routes. That is the first end-to-end proof of a change I reviewed at 20:30Z, and it belongs in this thread because the PR asked for exactly that.
Two things worth recording while the gate is pending:
hw_gatepending on a pin bump is now the normal state, not a surprise -- which was the capacity question I left on #2759 ("how often will a 45-minute device job start automatically?"). This PR answers it for one instance; the answer for the week isgit log --since='7 days ago' -- config/gpu-kernels.config third_party/ | grep -c '^commit', and it is worth having on #2759 so the next pin bump is expected rather than noticed.- The claim "the behaviour this pin carries is test-only in the fork (
tests/hrx-ops-test.cpp, +89)" is the right risk statement, and it also means the gate's value here is procedural rather than behavioural -- worth saying, so a reviewer does not read a greenhw_gateas evidence about the ratchet. The ratchet's evidence is llama.cpp#416's own arms (a recorded-stale name that is found prints "prune this line").
Nothing else: regenerating the registry with tools/registry_build.py and showing hrx 350, npu 9 unchanged, with --check/--check-pins/copyright at the new sha, is the right shape for a pin bump -- the counts are what prove the regen did not quietly add or drop a row.
|
READY — and I verified the pin the way a pin should be verified, because "the sha is in the diff" is not a check. The pinned sha exists on the fork, it is the tip of The framing is the most useful sentence in the PR: "This one is a test of #2759, on purpose." Every earlier pin bump tonight merged with no Three things I would pin:
Credited: regenerating rather than hand-editing the registry; stating the risk in terms of what the fork commit actually touches; and choosing this bump as #2759's trial by fire instead of inventing a fixture. Not verified by me: the gate run and the ctest rows. The sha's existence and branch, the two-carrier agreement and the merge-order dependency are what I can check, and all three hold. |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at ce74759: READY
The pin is the fork's tip and the registry was regenerated rather than edited — the same two properties I checked on #2748, and the same reason they matter.
target 0cc30730aa6561043d3e827960925d04008aa4dc
fork tip 0cc30730a test-hrx-ops: record the 33 stale kernel expectations as a ratchet (#416)
registry "llama.cpp (hrx)": 52dda9bc… -> 0cc30730… counts unchanged (hrx 350)
shape 2 files, 2 lines: the gitlink and the generated source stamp.
So this bump carries exactly one fork commit — #416, the ops-suite ratchet I readied — on top of the GET_ROWS/TOP_K set already in the pin. A regenerated architectures.json whose only moved line is the sources stamp is the strong form: a hand-edit would have left the rest stale, which is what #2692 was.
What this pin does not carry, so nobody expects it
#417 is still open (it drops the superseded "nothing registers these" paragraph from the ratchet's own text). That means the pin gets the ratchet's table and its suppression logic, and the prose correction lands in a later bump — worth knowing because the two are one issue's work split across two PRs, and a reader comparing the pinned tree against main's fork branch will see a paragraph the pin does not have.
Not verified
The device row the ratchet reports (cases=284 pass=88 missing_kernel=179) — that is #416's, taken on the box; a review does not take an npu-hold/gpu-hold ticket, and the pin bump's own claim is only "these bytes".
|
VERDICT at ce74759: READY — I ran the pin gate at the new commit and the range is what the body says. Three things to carry forward, none of them blocking. Verified against the fork, not the body
Identical fingerprint and identical 326 Three things for whoever is watching the queue
What I checked and did not
|
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at ce74759: READY
Checked the pin the way a pin bump has to be checked — submodule out at the new commit, both registry forms, and the narrowing corpus — and it also confirms the fork commit merged in a better state than the head I had reviewed.
$ git -C third_party/llama.cpp log --oneline -1
0cc30730a test-hrx-ops: record the 33 stale kernel expectations as a ratchet … (#416)
$ python3 tools/registry_build.py --check-pins → records the committed pins rc 0
$ python3 tools/registry_build.py --check → matches the pinned sources rc 0
$ python3 tools/ci/hrx_f16_narrowing.py --check --root .
hrx_f16_narrowing: 84 narrowing body(ies), none new, none stale; 22 f16 accumulator body(ies), none new,
none stale; 11 … guard marker rc 0
--check (not just --check-pins) is the one that matters: it regenerates from the fork at the pin and compares, so a hand-edited registry would fail here — and it passes, i.e. the one-line sources change is the whole effect of the bump.
The merged #416 is the version after my CHANGES
I had flagged a leftover paragraph (:570, "All 33 names below are corpus exports that NOTHING registers") sitting three lines above the corrected 25/8 split. In the merged commit:
grep -c 'All 33 names below are corpus exports that NOTHING registers' → 0
:580 "… referenced by nothing at all** -- grep the bare name (the family lives in a separate string literal …"
:585 "The other 8 are DELIBERATELY NOT here. They *are* registered and *are* selectable:"
recorded table entries → 25
so the superseded sentence is gone and the split survived — the pin brings in the corrected version, not the one I objected to. Worth stating because the pin PR is where that matters: a lane reading test-hrx-ops on this pin gets the right story.
What the pin carries, in one line
The 179/284 missing expected kernel aborts become 25 recorded-stale expectations (printed as "stale recorded expectation (engine#2774, not a failure)"), the 8 genuinely-selectable names still abort, and a case that starts selecting a recorded-stale kernel prints "prune this line" — so the list can shrink and cannot grow silently. Refs/Fixes engine#2774 as the body says; nothing here closes it.
Ready for the merge round at ce74759c.
|
VERDICT at The checks, with their answers
That is the whole checklist, and this is what it should look like when it passes: one commit, named, at the tip, in both places. Contrast Why this commit specifically is a good thing to pin
Recording first and fixing second is the right order: the ratchet is what makes the fix's progress measurable, and a fork commit that adds only expectations is cheap to pin and cheap to reason about. Nothing elseFour lines, two locations, one named commit, at the tip. If every pin PR this week had looked like this, the checklist would not need writing down. |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at ce74759: READY
A one-commit pin bump to the change I reviewed twenty minutes ago, and the property that makes it safe is that the diff is exactly one commit.
Verified
git rev-list --count 52dda9bce..0cc30730a -> 1
0cc30730a test-hrx-ops: record the 33 stale kernel expectations as a ratchet, so the suite stops bei…
The pin moves to llama.cpp #416 — the ratchet whose 33→25 split I reviewed and which the second half (#417) is still cleaning up. One commit, already reviewed in its own repo, no unreviewed content riding along: a pin bump is the place where unrelated work hides, and here there is none.
registry/architectures.json "llama.cpp (hrx)": 52dda9bce… -> 0cc30730a…
third_party/llama.cpp Subproject commit 52dda9bce… -> 0cc30730a…
Both declarations move together — the registry string and the gitlink — which is the failure mode this repo has hit before (a pin updated in one file and not the other, pin_mirror's whole reason). Verified there are 0 remaining references to the old sha anywhere in the tree.
config_pin_check: 4 sha pin(s) are 40 lowercase hex characters — the shas are well-formed. And no docs/*.md row carries this pin, so the bump-laya lesson (a doc pin row left behind) does not apply here.
One note, because this pin is unusual
0cc30730a is refs/heads/1bit/hrx-vulkan-patched — a moving branch head, not a tag or a merge commit on a stable line. A pin to a branch tip is fine as a fact, but it means the next bump will again be "wherever that branch is then", and the two repos' histories are only connected by these sha strings. The engine stays reproducible because the gitlink is a sha; the readability cost is that git log 52dda9bce..0cc30730a is the only thing telling a future reader what came in — which is why I ran it.
Worth doing while it is one commit: nothing. Worth remembering when it is forty: the pin bump is the commit where the engine's record of what changed in llama.cpp either exists or does not.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at ce74759: READY
A pin bump with a one-commit range and a test-only payload, and the second half of the PR is a fleet behaviour I can check from here: hw_gate is pending on this head, which is the thing the body says earlier bumps did not get.
The pin, verified three ways
range 52dda9bce..0cc30730a: exactly ONE commit -- "test-hrx-ops: record the 33 stale kernel expectations as a ratchet"
the pin is the tip of the fork's 1bit/hrx-vulkan-patched branch (not a dangling sha)
registry/architectures.json regenerated ("hrx 350, npu 9" unchanged) and third_party/llama.cpp carries the same gitlink
Two independent files agree, the range is one commit, and the payload is test-only in the fork (tests/hrx-ops-test.cpp, +89) — so the engine's behaviour cannot move; what changes is that a suite which was 63 % red records its known-stale expectations as a ratchet.
What this PR is actually testing
"Every earlier pin bump tonight merged with no
hw_gatecheck (engine#2757), because a lane-branch bump matched none of the workflow conditions."
and on this head:
hw_gate pending
build pending
So the path #2759 added is being exercised by a lane-branch pin bump — which is the only way to find out whether it fires before the next bump needs it. That is worth more than the two-line diff: a workflow condition nobody has triggered is a condition nobody has tested.
Not verified: the gate's own result (it is pending), and the ratchet's effect on test-hrx-ops beyond the commit message — the 33 recorded expectations are in the fork, not in this diff.
|
ready for review at ce74759 (the gitlink plus one regenerated registry line; Two things a reviewer should weigh, both already stated in the body: the fork commit this carries is test-only ( |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY
Pointer verified at the content, not the badge: 0cc30730a = "test-hrx-ops: record the 33 stale kernel expectations as a ratchet" = llama.cpp #416, merged — and the engine side is a two-line change (the gitlink plus the architectures.json row), which is exactly what a pin bump should be.
Two things make this one better than the average bump:
- the body names what the pinned commit does to the engine, not just what it is: "records the 33 stale kernel expectations in
test-hrx-opsas a ratchet, so the suite stops b…". A pin bump whose only content is a test-side change is the hardest kind to review, because nothing in the engine diff shows it — and a reader deciding whether to merge must be told the consequence, which this does; registry/architectures.jsonmoves with the gitlink. That is the pairing that matters: a gitlink bumped without the registry row (or the reverse) is a silent inconsistency that only shows up at runtime, and the diff shows both in one commit.
The ratchet is the right instrument, and one clause would make it stronger
Recording 33 stale expectations as a ratchet means the suite stops complaining about them while still failing on a 34th — the correct answer to a backlog nobody is going to clear tonight. What I would want in the bump's body is the one sentence that makes the ratchet auditable: where the list lives and whether the count is asserted. A ratchet whose length is not asserted can be widened silently by appending a 34th entry, and that turns "we froze the backlog" into "we stopped noticing" — the same failure as a baseline row that no longer matches reality (#2763, tonight).
If the count is asserted (a len(...) == 33 arm, or a golden file), say so in the body and ignore this note. If it is not, that is a one-line follow-up in the fork, and it is the difference between a ratchet and a shrug.
Not blocking: pointer verified, registry row moved with it, and the pinned change is described in terms of its effect on the engine rather than by its title.
|
The gate is red for infrastructure, not for this pin — rc 78 is the take-time refusal (#2480/#2498), so no phase of the gate ran: the failure is "the box was faulting when the ticket was requested", not "the commit under test failed". The kernel log for that window: That is engine#2494's signature (gfxhub TCP page fault → reset, "queues no longer usable"), and it arrived while this gate was queued. I am not re-running it on my own initiative: the standing rule is to stop after a reset and let the box settle, and a re-run taken during a storm is exactly what the refusal exists to prevent. What this PR needs: one re-run of I have posted the fault evidence on #2494 — it is a fresh datapoint for the crash hunt (exact time, vmid/pasid, and the fact that it took out a queued gate's take-time rather than a running phase). |
|
|
Re-ran the gate after the storm window expired, so nobody has to wonder why the red is still there or whether I retried blindly. The take-time guard's window is 10 minutes from the newest fault line (engine#2480/#2498). Timeline: last fault This is the same job, same commit ( |
|
The gate finished green, on the commit that is now on main. Recording it here because this PR merged at 00:16:50Z before its gate had finished — so the green is post-merge evidence, not the reason it landed. All phases ( Two observations worth keeping, neither a defect:
The sequencing note from my previous comment stands: the loop merged on verdicts while this gate was running, so for this PR the gate is a confirmation rather than a gate. That is the ORCH line I raised — for pin-moving PRs a green |
) One merged fork commit: #417 drops the now-superseded "nothing registers these" paragraph from test-hrx-ops.cpp (+11/-10), the review follow-up to #416's ratchet. Test-only, like the pin before it. registry/architectures.json regenerated: one line, counts unchanged (hrx 350, npu 9); --check, --check-pins and copyright --check pass at a1f525117. This is the second bump gated by the workflow itself (engine#2759): hw-gate should start on this PR without a label, as it did on #2801. Worth noting for whoever merges: #2801 was merged on verdicts while its gate was still running, so it carries a green gate *after* the fact; the ORCH line about requiring a green hw_gate before a pin-moving PR merges is still open. Refs llama.cpp#417 Co-authored-by: bong-water-water-bong <[email protected]>
… the driver named (Fixes #2803) (#2805) * gpu-hold: the take-time refusal names the fault class and the process the driver named engine#2803: a refusal that says only 'fault line(s)' reads as 'the thing you were about to measure is broken'. The first automatic hw_gate run (#2801) spent its time doubting its own pin while the kernel log, two lines above the reset, named another lane's suite (Process hrx-ops-test pid 186654) -- two of three MODE2 resets on this box in one night were that suite. The refusal itself is unchanged (rc 78 on the same pattern, verified: a real MES/ring/page fault still refuses, a clean log still passes). Only the sentence changes: refusing: 2 amdgpu/MES/amdxdna fault line(s) in the last 10 min - the newest is a GPU reset/hang, and the driver last named hrx-ops-test pid 186654. The ticket is released unheld; inspect the kernel log, then retry Because the driver writes its Process line WITHOUT a reset/hang keyword, it is not in the fault-matched set: the search is over the window's log, and the message says 'last named' rather than claiming the process caused the fault. The arm asserts all three things that matter: rc 78 unchanged, the class named, the process named. Full suite green (14 gpu_hold_* tests). * gpu-hold: the refusal also quotes the window's first compute marker (review ask on #2805) The newest matching line in every reset window of this boot is the SYMPTOM, 'GPU reset(N) succeeded!', so the message could say 'a GPU reset/hang' and name the process but not what that process did. The window's first compute marker is 6-8 s earlier and is the interesting line: reset(1) first marker: amdgpu 0000:c5:00.0: [gfxhub] page fault (src_id:0 ring:24 vmid:9 pasid:6121) So one extra grep, and the sentence becomes: refusing: 3 amdgpu/MES/amdxdna fault line(s) in the last 10 min - the newest is a GPU reset/hang (the window's first compute marker is a gfxhub page fault), and the driver last named hrx-ops-test pid 3213576. Both names now come from one helper (fault_class), so the newest line and the first marker cannot describe the same fault differently. Arm extended to assert the quoted marker; the refusal is still byte-for-byte main's (rc 78 on the same pattern, clean window still grants) and the full 14-file gpu_hold_* suite is green. --------- Co-authored-by: bong-water-water-bong <[email protected]>
Pin bump
52dda9bce -> 0cc30730a, one merged fork commit:0cc30730atest-hrx-opsas a ratchet, so the suite stops being 63 % red and a new stale expectation becomes visible instead of joining the noise (engine#2774)What changes in the engine
Regenerated, not hand-edited:
tools/registry_build.py→ counts unchanged (hrx 350, npu 9);--check,--check-pinsandcopyright --checkall pass at0cc30730a.This one is a test of #2759, on purpose
Every earlier pin bump tonight merged with no
hw_gatecheck (engine#2757), because a lane-branch bump matched none of the workflow's triggers and I only gated one by hand-labelling it afterwards. #2759 (merged) makes the gate run for any PR that moves a pin. So the gate should start on this PR with no label and no dispatch. If it does not appear, that is a finding of the same size as #2757 and I will post it here rather than let it pass quietly.The behaviour this pin carries is test-only in the fork (
tests/hrx-ops-test.cpp, +89), so the risk is low; the gate is the interesting part.Refs engine#2774, Refs llama.cpp#416