From 6c1fe44df0bccf86901a2b03783e9b0f05f0dd46 Mon Sep 17 00:00:00 2001 From: bcloud Date: Sat, 14 Nov 2026 17:26:20 -0400 Subject: [PATCH] third_party/llama.cpp: pin to f3d177a40 -- two sampling behaviour changes, one fixture, one test assertion Four commits on the fork head c84f0fc6e, six files: f3d177a40 hrx-backend-test: assert the add-on path instead of labelling it (#386, this lane) ea70c036f common/sampling: fast-greedy predicate + argmax as functions, offline test, min_p clamp (#387) ee714edaa tests: blackmamba synthetic fixture gets the expert hparams its MoE branch needs (#384) 5e8f13e16 common/sampling: greedy fast path when the sampler chain is provably an argmax (#385) Unlike the last three bumps this one carries RUNTIME behaviour: common/sampling.cpp +94, .h +6 -- has_fast_greedy() and argmax() extracted as predicates plus a fast path taken when the chain is provably an argmax, i.e. a change to which tokens a greedy chain produces. "It compiled" is not evidence for that, so the evidence is a real run of the test that came with it: tests/test-sampling-fast-greedy.cpp (LABEL behavior) BUILD_RC=0 RUN_RC=0 -> "test-sampling-fast-greedy: OK" CPU-only, which matters: ~/GPU-TOKEN has been cl-hrxkern, cl1051-c4-t2g and hw-gate runs all evening, so the two device checks this lane still owes on #2448 (hrx-buffer-test's 9 device cases and #379's test-mtp-one-request.sh) remain unrun and are not claimed here. Also in the delta: * #386 (this lane) removes the hip_addon_known_fail entry for q4k_aligned_prefill_layout.stored_copy and replaces it with a per-arm assertion -- measured at that PR in both ctest arms: add-on 69/0/23, -loom 92/0/0, zero UNEXPECTED-FAIL. Asking "permanent or temporary" there also surfaced that `found` is 3 on the add-on path and 1 on Loom, so the case's old `found == 1` was arm-blind and had been unreachable under the label. * #384 merged despite this lane recommending it be closed as superseded (its fixture keys duplicate the generic MoE block and its model line was byte-identical to #381's). Harmless, recorded so the delta is explained. registry: regenerated for the new pin, --check-pins rc 0. Not claimed: end-to-end greedy/KLD parity at this pin -- that needs a model on the device. --- registry/architectures.json | 2 +- third_party/llama.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/registry/architectures.json b/registry/architectures.json index 8b5394232..844ebc5fe 100644 --- a/registry/architectures.json +++ b/registry/architectures.json @@ -1,7 +1,7 @@ { "about": "HF architecture -> GGUF architecture and the backends whose code accepts it. Generated by tools/registry_build.py from the pinned sources; do not edit.", "sources": { - "llama.cpp (hrx)": "c84f0fc6ecf4ae1106201e93616a09c150e9cc54" + "llama.cpp (hrx)": "f3d177a4039bd24de96b05717b004bdad22cf8a9" }, "counts": { "hrx": 350, diff --git a/third_party/llama.cpp b/third_party/llama.cpp index c84f0fc6e..f3d177a40 160000 --- a/third_party/llama.cpp +++ b/third_party/llama.cpp @@ -1 +1 @@ -Subproject commit c84f0fc6ecf4ae1106201e93616a09c150e9cc54 +Subproject commit f3d177a4039bd24de96b05717b004bdad22cf8a9