Repository navigation
pins: llama.cpp e0e7c8d3 -> 6164e5ba, the packed/mixed-layout + attention-output next-q8 rows re-pointed, dynamic-workload specialization restored (llama.cpp#505, #506, #507; engine#3389, #3380, #3382) - #3481
Merged
Conversation
bong-water-water-bong
enabled auto-merge (squash)
November 24, 2026 10:02
…ention-output next-q8 rows re-pointed, and the dynamic-workload specialization restored (llama.cpp#505, #506, #507; engine#3389, #3380, #3382) llama.cpp#505 (engine#3389): the four packed / mixed-layout rows had stopped requesting a packed copy (their graphs read Q4_K / Q6_K as stored; #3120 replaced the packed assertion without leaving a row that still made the request). Rebuilt around shapes that do request it -- one-token Q6_K decode for weight_persistence_sequence, a program pair for mixed_weight_layout, q6_decode_source_eligibility in place of q4_prefill_source_eligibility -- plus three host-tier rows (host_weight.packed_decode.q6_k, host_weight.mixed_layout_declined.{q4_k,q6_k}) that fail when a graph stops asking for the packed rows. Host tier 10 -> 13 passed; a deliberate revert of the packed-layout acceptance fails them. llama.cpp#506 (engine#3380): the two qwen_decode_attention_output_next_q8 rows were unfusable, not unselected -- their residual was a graph INPUT (the matcher correctly refuses to fuse an in-place add into caller-owned memory, #95), and the shipped add-on's hip.gemv_wide (329) claims the projection first and binds the same FA-published q8_1 alternate. Rows take their residual from a producer as the shipped graph does, assert the measured plan, and are host cases; the registration comment records the Transient-residual requirement and the 329 matcher. llama.cpp#507 (engine#3382): f2099e9b7 dropped BOTH halves of c37033e0b's dynamic-workload feature -- the matcher tags and the runtime (kernel_executable_key() keyed on every workload value again; specialize_workload, the retained launch program and the per-dispatch launch evaluation were gone). Restored both: Dynamic is answered again for rmsnorm/scale/unary/copy, one executable is cached across token counts, and the launch program re-evaluates geometry per dispatch. New host row test-hrx-dynamic-workload (one cache entry for element_count 9216 and 262144, launch program 2 then 4 workgroups, exact path still compile-time geometry) with three controls: only the tags reverted -> FAIL, only the cache key restored -> FAIL, the whole tree at e0e7c8d3 -> the target does not build. concat_dim0 stays Exact because the corpus compiles it from ops/copy_f32.loom with row_count as a config.decl -- that needs a corpus change. Not verified: the gfx1151 device rows (box queue-deep under other lanes' tickets), and the compile-count / TTFT prompt-length sweep engine#3382 asks for, plus whether #3380's fused route beats hip.gemv_wide + separate add/rms/mul (moving that registration above 329 needs a Strix Halo measurement). Noted on the issues. registry/architectures.json is regenerated by scripts/registry-regen.sh (llama.cpp source sha).
bong-water-water-bong
force-pushed
the
bump-hrx/5fc06ebf
branch
from
November 24, 2026 10:06
5e5c218 to
eb037dc
Compare
bong-water-water-bong
disabled auto-merge
November 24, 2026 10:20
bong-water-water-bong
enabled auto-merge (squash)
November 24, 2026 10:20
This was referenced Nov 24, 2026
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Carries llama.cpp#505, #506 and #507 into the engine pin. Engine-side half of #3389, #3380 and #3382.
What moves
third_party/llama.cppe0e7c8d3->6164e5ba(llama.cpp#505, Census 2026-10-22 #506, Bump HRX: llama.cpp 851fa6c8d8f2 + hrx-system 82804197bcbe #507)registry/architectures.json: regenerated byscripts/registry-regen.sh(llama.cpp source sha)config/gpu-kernels.configdoes not move.#3389 -- packed / mixed-layout rows ask for a packed copy again (#505)
The four rows had stopped exercising the packed path (their graphs read Q4_K / Q6_K as stored; #3120 replaced the
packed assertion without leaving a row that still made the request). Rebuilt around shapes that do request it --
one-token Q6_K decodes for
weight_persistence_sequence, a program pair formixed_weight_layout_program.{q4_k,q6_k},q6_decode_source_eligibilityin place ofq4_prefill_source_eligibility-- plus three host-tier rows that fail whena graph stops asking for the packed rows. Host tier 10 -> 13 passed, 0 failed; a deliberate revert of the packed-layout
acceptance fails them.
#3380 -- the attention-output next-q8 rows were unfusable, not unselected (#506)
Two reasons, neither the predicate: the rows built the residual as a graph input (the matcher correctly refuses to
fuse an in-place add into caller-owned memory, #95), and the shipped add-on's
hip.gemv_wide(329) claims everyone-token Q4_K projection whose q8_1 input already exists before this route (300) is tried, binding the same
FA-published alternate -- so the unread-write cost the issue describes does not apply to the shipped build. The rows
now take their residual from a producer as the shipped graph does, assert the measured plan, and are host cases.
#3382 -- the dynamic-workload specialization is restored, both halves (#507)
f2099e9b7dropped both halves ofc37033e0b's dynamic-workload feature: the matcher tags (rmsnorm/scale/unary/copyback to
Exact) and the runtime (kernel_executable_key()keyed on every workload value again;specialize_workload, the retained launch program and the per-dispatch launch evaluation were gone, so re-taggingalone would have changed one log field). Both are restored: the ops answer
Dynamicagain, one executable is cachedacross token counts, and the launch program re-evaluates geometry per dispatch.
Control (host tier; the fork's own
-DGGML_HRX=ONtests, both add-on and no-add-on builds)Host-side (this branch)
ctest -R 'pin|registry|template': 23/23 passed.scripts/pre-pr-checks.sh --tree-only --base origin/main: green; skipship_f16_audit/kernel_id_selftest(no gpu-kernels tree here).
hw_gatelabel added; thehw_gate/hrx_buildrunners are still offline (same state #3424/#3407/#3462/#3475/#3477merged under). Not verified, and why this PR is a pin bump rather than a measured win: the four rebuilt device rows
and the re-pointed rmsnorm/scale/unary/copy rows on gfx1151 (the box was queue-deep for hours), plus #3382's
compile-count / TTFT prompt-length sweep and #3380's fused-route-vs-
hip.gemv_widecomparison. Those are recorded onthe issues.
Closes #3389, #3380. Refs #3382 (its measurement stays open).