Repository navigation
Avoid subgroup votes in HRX decode-split flash attention - #342
Merged
bong-water-water-bong merged 2 commits intoOct 6, 2026
Merged
Conversation
Co-authored-by: bong-water-water-bong <[email protected]>
Copilot
AI
changed the title
[WIP] Fix compile issue for HRX Loom decode-split FA with head size 256
Avoid subgroup votes in HRX decode-split flash attention
Oct 6, 2026
bong-water-water-bong
approved these changes
Oct 6, 2026
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
bong-water-water-bong
marked this pull request as ready for review
October 6, 2026 22:46
bong-water-water-bong
deleted the
copilot/hrx-loom-decode-split-fix-compile
branch
October 6, 2026 22:46
This was referenced Oct 7, 2026
This was referenced Nov 13, 2026
bong-water-water-bong
pushed a commit
that referenced
this pull request
Nov 14, 2026
… MTP-drafter crash fix The engine pins ea2d2eb07. The fork is six commits ahead and every one of them matters to something this lane has measured today: a110cca #370 alignas on the imported-buffer fixture, and the is_host relaxation 60f7446 #371 an imported buffer is a window on an allocation, not a retagged CPU buffer bfdb4d4 #373 restore #357's async host-buffer fallback and the misaligned-pointer refusal 7e91e98 #374 a mapped weight is a window too, not a retagged CPU buffer d9d7696 #342 the q4_0 V-cache refusal's MESSAGE named a writer that had since merged 5996746 #376 restore the two MTP-drafter pieces #376 is the one that makes this urgent: without it llama-server SIGSEGVs on any MTP request. Measured on gfx1151 with the real Qwen3.8-27B UD-Q4_K_XL, one request per run, llama.cpp#379's own regression arm: 7e91e98a7 (pre-#376) SIGSEGV in the drafter, http=000, no acceptance line 59967468e http=200, draft acceptance 0.64286 (9 accepted / 14 generated), mean len 2.80 so a pin at 7e91e98a7 would carry every buffer fix and still ship a server that crashes the moment MTP drafting is enabled. Verified at 59967468e, gfx1151: hrx-buffer-test 9 passed, 0 failed, 0 known-fail, 0 unexpected-pass, 9 total (one gpu-hold ticket) MTP request http=200, acceptance 0.64286, mean len 2.80 (llama.cpp#379's arm) engine build CFG=0 BUILD=0, 136 targets, 0 errors (today's main + this submodule) Checked rather than assumed, as before: .loom corpus across the range 0 files changed f16 ratchet fingerprint b9b121a5ddc51854 (326 .loom) at both ends -- NO baseline change header changes in the range additive only; the engine includes neither header gitlink sha 59967468e9cb0f19f9535a04aa09e4166a002d8c, confirmed with git cat-file -e Extended at cl-hrxkern's request on this PR ("move this pin to fork 59967468e instead of opening a second bump"), which is the right call: two bumps for one branch head is how a pin trail becomes a pin essay.
bong-water-water-bong
pushed a commit
that referenced
this pull request
Nov 14, 2026
… MTP-drafter crash fix The engine pins ea2d2eb07. The fork is six commits ahead and every one of them matters to something this lane has measured today: a110cca #370 alignas on the imported-buffer fixture, and the is_host relaxation 60f7446 #371 an imported buffer is a window on an allocation, not a retagged CPU buffer bfdb4d4 #373 restore #357's async host-buffer fallback and the misaligned-pointer refusal 7e91e98 #374 a mapped weight is a window too, not a retagged CPU buffer d9d7696 #342 the q4_0 V-cache refusal's MESSAGE named a writer that had since merged 5996746 #376 restore the two MTP-drafter pieces #376 is the one that makes this urgent: without it llama-server SIGSEGVs on any MTP request. Measured on gfx1151 with the real Qwen3.8-27B UD-Q4_K_XL, one request per run, llama.cpp#379's own regression arm: 7e91e98a7 (pre-#376) SIGSEGV in the drafter, http=000, no acceptance line 59967468e http=200, draft acceptance 0.64286 (9 accepted / 14 generated), mean len 2.80 so a pin at 7e91e98a7 would carry every buffer fix and still ship a server that crashes the moment MTP drafting is enabled. Verified at 59967468e, gfx1151: hrx-buffer-test 9 passed, 0 failed, 0 known-fail, 0 unexpected-pass, 9 total (one gpu-hold ticket) MTP request http=200, acceptance 0.64286, mean len 2.80 (llama.cpp#379's arm) engine build CFG=0 BUILD=0, 136 targets, 0 errors (today's main + this submodule) The registry moves with the pin. registry/architectures.json records the llama.cpp pin, so a submodule bump without regenerating it fails ctest `registry_pins` -- `llama.cpp (hrx) recorded at ea2d2eb07, pinned at 59967468e`, which is the one ask on this PR's first CHANGES verdict. Folded into this commit rather than a follow-up, as asked: tools/registry_build.py -> registry/architectures.json (hrx 350, npu 9, architectures 350, mapped 350) tools/registry_build.py --check-pins -> rc 0, "records the committed pins" The regenerated file differs from the committed one by exactly the pin line (4 diff lines, one value), so nothing else in the registry was rewritten. Checked rather than assumed, as before: .loom corpus across the range 0 files changed f16 ratchet fingerprint b9b121a5ddc51854 (326 .loom) at both ends -- NO baseline change header changes in the range additive only; the engine includes neither header gitlink sha 59967468e9cb0f19f9535a04aa09e4166a002d8c, confirmed with git cat-file -e Extended at cl-hrxkern's request on this PR ("move this pin to fork 59967468e instead of opening a second bump"), which is the right call: two bumps for one branch head is how a pin trail becomes a pin essay.
bong-water-water-bong
added a commit
that referenced
this pull request
Nov 14, 2026
… MTP-drafter crash fix (#2431) The engine pins ea2d2eb07. The fork is six commits ahead and every one of them matters to something this lane has measured today: a110cca #370 alignas on the imported-buffer fixture, and the is_host relaxation 60f7446 #371 an imported buffer is a window on an allocation, not a retagged CPU buffer bfdb4d4 #373 restore #357's async host-buffer fallback and the misaligned-pointer refusal 7e91e98 #374 a mapped weight is a window too, not a retagged CPU buffer d9d7696 #342 the q4_0 V-cache refusal's MESSAGE named a writer that had since merged 5996746 #376 restore the two MTP-drafter pieces #376 is the one that makes this urgent: without it llama-server SIGSEGVs on any MTP request. Measured on gfx1151 with the real Qwen3.8-27B UD-Q4_K_XL, one request per run, llama.cpp#379's own regression arm: 7e91e98a7 (pre-#376) SIGSEGV in the drafter, http=000, no acceptance line 59967468e http=200, draft acceptance 0.64286 (9 accepted / 14 generated), mean len 2.80 so a pin at 7e91e98a7 would carry every buffer fix and still ship a server that crashes the moment MTP drafting is enabled. Verified at 59967468e, gfx1151: hrx-buffer-test 9 passed, 0 failed, 0 known-fail, 0 unexpected-pass, 9 total (one gpu-hold ticket) MTP request http=200, acceptance 0.64286, mean len 2.80 (llama.cpp#379's arm) engine build CFG=0 BUILD=0, 136 targets, 0 errors (today's main + this submodule) The registry moves with the pin. registry/architectures.json records the llama.cpp pin, so a submodule bump without regenerating it fails ctest `registry_pins` -- `llama.cpp (hrx) recorded at ea2d2eb07, pinned at 59967468e`, which is the one ask on this PR's first CHANGES verdict. Folded into this commit rather than a follow-up, as asked: tools/registry_build.py -> registry/architectures.json (hrx 350, npu 9, architectures 350, mapped 350) tools/registry_build.py --check-pins -> rc 0, "records the committed pins" The regenerated file differs from the committed one by exactly the pin line (4 diff lines, one value), so nothing else in the registry was rewritten. Checked rather than assumed, as before: .loom corpus across the range 0 files changed f16 ratchet fingerprint b9b121a5ddc51854 (326 .loom) at both ends -- NO baseline change header changes in the range additive only; the engine includes neither header gitlink sha 59967468e9cb0f19f9535a04aa09e4166a002d8c, confirmed with git cat-file -e Extended at cl-hrxkern's request on this PR ("move this pin to fork 59967468e instead of opening a second bump"), which is the right call: two bumps for one branch head is how a pin trail becomes a pin essay. Co-authored-by: bcloud <agent@local>
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.
The reported D=256 compile failure involved subgroup-vote results feeding conditional branches. Later runtime testing compiled and dispatched the kernel successfully; the failure was observed with a separate CLI compiler.
1bit/fa-always-stage;.gitmodulestracks1bit/hrx-vulkan-patched. The candidate’s masked-KV check was not the authoritative private test, and the original compile failure is no longer reproducible on demand.