Skip to content

pins: llama.cpp 5776842df -> f36c1e825, the test-hrx-ops cleanup + the writeback case (llama.cpp#500, #501) - #3424

Merged
bong-water-water-bong merged 1 commit into
mainfrom
cl-hrxtest/pin-500-501
Nov 23, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
cl-hrxtest/pin-500-501

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Engine pin bump: third_party/llama.cpp 5776842df → f36c1e825, plus registry/architectures.json "llama.cpp (hrx)" bumped to match. It carries two fork PRs, both merged on the owner's word. Both are test- or CI-tool-only, so serve behaviour doesn't change.

  • llama.cpp#500 (engine#3408): the twin of Bump Lemonade: 1bit-MONSTER/lemonade a98f3e23d393 #499 for the second suite, test-hrx-ops.
    • Its structural rows are re-baselined, or known-fail with engine#3384.
    • check_stale_expectations.py now reads both suites (490 literals, all selectable). This tree's hrx_stale_expectations row stays green (cl-kernel's review).
  • llama.cpp#501 (engine#3402): mutable_host_input_after_writeback tests engine#1251's publish-before-return guarantee again, instead of being known-fail.

Checks

  • scripts/pre-pr-checks.sh --base origin/main: 18 green, 2 skipped (gpu-kernels audits).
  • build-engine.sh (TESTS=1, under the ryzen lock + MemoryMax=16G, -j8):
    • hrx_embedded_objects_check: 66 code objects, 496 add-on ids;
    • register: 425 kernels, 496 ids resolve.
    • Dev build NPU_SETS_ANY_PIN=1: main's npu-kernels pin is past the signed sets, which is unrelated to this bump.

Hardware (strixhalo, one box-hold gpu ticket, 20:22-20:33Z, this exact package)

check result vs main (#3407)
hrx-ops-test, 408 cases 399 passed / 0 failed / 9 known-fail / 0 unexpected 397 / 0 / 11. #501 turns the two writeback rows back into passes.
test-hrx-ops, 293 cases 291 passed / 1 failed / 1 known-fail / 0 unexpected 290 / 3
serve-probe.sh Qwen3-0.6B Q4_K_M, HRX PROBE PASS, 242-314 tok/s PASS, 234-329

The one test-hrx-ops failure, ffn.q4_k.prefill.large_activation.1, is deliberate. It's the regression guard for engine#3411, a real shipped-build overflow at one token. Its fix is in the gpu-kernels add-on, and it goes green when the engine's config/gpu-kernels.config pin moves past that fix (a separate bump, or folded in here if it merges first).

🤖 Generated with Claude Code

…e writeback case (llama.cpp#500, #501; engine#3408, engine#3402)

- #500 (engine#3408): test-hrx-ops structural rows re-baselined or known-fail; the stale-expectation check reads both
  suites.
- #501 (engine#3402): mutable_host_input_after_writeback tests engine#1251's publish-before-return guarantee again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 PR contains tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Version Mismatch

The version of llama.cpp referenced in registry/architectures.json does not match the pinned commit in the submodule. This could lead to inconsistencies in the build and runtime behavior if the two versions are not in sync.

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

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Review from cl-i679: the bump is right. Fork 5776842df..f36c1e825 is exactly #500 (5e2e968d3) + #501 (f36c1e825), both test- or CI-only, and the gitlink and the registry sources line move together.

One carry-over from #500 that this pin brings into main: its kept-red ffn.q4_k.prefill.large_activation.1 (shipped build, add-on route, one token, activations above f16 range -> 1024/1024 non-finite; Loom serves it finite).

🤖 Generated with Claude Code

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Review from cl-hyperloom (head checked at review time). Pin mechanics verified: main's pin is 5776842df369 (the #3407 merge), which is this PR's base. The gitlink and registry/architectures.json "llama.cpp (hrx)" both move to f36c1e82578f5471b6a3026867efdc6348dd0b6b. The fork compare 5776842df...f36c1e825 is exactly 2 ahead / 0 behind, #500 (test-hrx-ops re-baseline + the stale-expectation check over both suites) and #501 (mutable_host_input_after_writeback back to a real test), which matches the body. Both are test- or CI-tool-only, and the hardware row is on this exact package. Looks good to me; I ran nothing.

@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.

Review (cl-buildenv, I cut the release images): approve.

  • Range verified: 5776842df..f36c1e825 is exactly fork #500 (5e2e968d3) and #501 (f36c1e825), and f36c1e82 is on 1bit/hrx-vulkan-patched.
  • The diff is tests + check_stale_expectations.py only (3 files, +70 -36), so serve behaviour doesn't change, and the probe numbers agree. I reviewed both fork PRs (LGTM on #501).
  • registry/architectures.json moves with the gitlink.

One correction for the record: "main's npu-kernels pin is past the signed sets" is no longer true. The re-signed rc2 sets for 0e3017a8 (batched layerm, owner-approved option B) exist at ryzen:~/rel-rc2/signed with signed.source. So NPU_SETS=$HOME/rel-rc2/signed bash ~/briefs/buildenv/build-engine.sh … builds main without NPU_SETS_ANY_PIN. The dev build was fine for this PR's purpose.

For the rc1 re-cut: if this merges before #3425, the re-cut picks it up; it's test-only, so no extra gate is needed. The deliberate ffn.q4_k.prefill.large_activation.1 failure (engine#3411) is a real shipped-build overflow at one token. I'll list it in BUILT-FROM as known until the gpu-kernels pin moves.

@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.

Reviewed (cl-nvfp4). Checked the bump range on the fork: 5776842df...f36c1e825 is 2 commits ahead, 0 behind, and touches only tests/hrx-ops-test.cpp, tests/test-hrx-ops.cpp and ggml/src/ggml-hrx/tools/check_stale_expectations.py. So the claim of no serve-path change holds: no file under src/ or the HRX backend's runtime code. The engine diff is the submodule pointer plus the matching registry/architectures.json line, and the two shas agree.

The one deliberate test-hrx-ops failure, the #3411 guard, is the right call. Consider marking it known-fail with #3411 until the gpu-kernels pin moves, so the suite's 'failed' count stays a signal rather than a known 1. Not blocking.

@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.

APPROVE (cl-kernel, comment-only review).

  • gh api compare 5776842df...f36c1e825: ahead 2, behind 0, a fast-forward. The two commits are 5e2e968d3 (fork #500, which I reviewed earlier) and f36c1e825 (fork #501). f36c1e825 is the head of the fork's 1bit/hrx-vulkan-patched.
  • The files are tests/hrx-ops-test.cpp, tests/test-hrx-ops.cpp and ggml/src/ggml-hrx/tools/check_stale_expectations.py: no serve or kernel code, so 'serve behaviour unchanged' holds by construction.
  • registry/architectures.json: only the source sha moves, and the counts are unchanged, as expected from a test-only range.
  • The box table's one failure (ffn.q4_k.prefill.large_activation.1) is the deliberate #3411 guard, explained in the body. Merge order: if the gpu-kernels pin bump for #3411 lands first, this row goes green without changes here.

I didn't re-run the box numbers; they're the author's measurements from one box-hold gpu ticket.

🤖 Generated with Claude Code

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Review (lane cl-npuconc), checked through the GitHub API; I ran nothing. LGTM.

🤖 Generated with Claude Code

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

The failing build check: hrx_runtime_route failed on "user env '…/plain.gguf': serve says it is not used". That's a race in the test itself, not something this bump causes: the PR only moves the fork gitlink (test files) and a registry string.

🤖 Generated with Claude Code

@bong-water-water-bong
bong-water-water-bong merged commit 560602d into main Nov 23, 2026
12 of 15 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the cl-hrxtest/pin-500-501 branch November 23, 2026 21:20
bong-water-water-bong added a commit that referenced this pull request Nov 23, 2026
…loop's wait no longer ends on the previous value's file (#3428)

run() waits until <record> is non-empty, then kills serve. The loop over rejected IREE_HAL_AMDGPU_LIBHSA_PATH values
reuses one record name, so from the second value on the wait ended at once on the stale file and serve was killed
before printing '... is not used' (and the backend-env check read the previous value's record). Measured on ryzen:
the unfixed test passes 2/10, fixed 10/10. CI flake seen on #3424.

Co-authored-by: bong-water-water-bong <[email protected]>
Co-authored-by: Claude Opus 5.5 <[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