…nges, one fixture, one test assertion (#2452)
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.
Co-authored-by: bcloud <agent@local>
Moves the HRX pin to the AMD-tested pair with our fix for the long-context flash-attention miscompile.
Clean-room GPU gate at these exact SHAs (fresh checkout, not a dev worktree): build 0/0/0, kernel corpus 123/123, Qwen3-0.6B needle 20/20 @4732 and 5/5 @4432 (clean e2bed427 without the fix: 0/20), FA stress 0 NaN, test-backend-ops -b HRX0 1073/1073, KLD vs the pre-regression 98d05d94 lineage = 0.000000. coder-llm (PR-Agent) unharmed, no ring timeouts, no thermtrip.
Upstream regression report drafted for AMD. At the next AMD bump, re-check the live-out patch still applies (drop it if AMD adds back-edge coverage to extend_boundaries).
🤖 Generated with Claude Code