Skip to content

docs/hrx.md: known issue — --device hrx answers wrongly on mid-length prompts - #45

Merged
bong-water-water-bong merged 2 commits into
mainfrom
hrx-warning
Sep 24, 2026
Merged

bong-water-water-bong merged 2 commits into
mainfrom
hrx-warning

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Found while checking HRX0 for the fused-kernel race seen on the hrx-v2 line: on our pinned pair, --device hrx garbles answers for prompts of roughly 404-1,733 tokens (Qwen3-0.6B, greedy, llama-server), while Vulkan is right at every length and HRX0 is right at 146 and >= 2,167 tokens. Context size and every HRX diagnostic switch leave it unchanged.

Also recorded: Qwen3.6-35B-A3B Q8_0 faults the GPU on HRX0, and multi-sequence batches stop on a claimed-but-unrunnable FLASH_ATTN_EXT.

The prefill split is not affected: --device vulkan --prefill-device hrx matches Vulkan alone at 1,160 / 1,733 / 2,844 tokens (HRX0 prefills whole ubatches only; Vulkan decodes).

This PR only documents it, so nobody serves on --device hrx meanwhile. The fix belongs in ggml-hrx upstream; per the AMD-repo rule, the report is yours to write.

🤖 Generated with Claude Code

…oken prompts (the prefill split is fine)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 256 tokens (prefill is right)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bong-water-water-bong
bong-water-water-bong merged commit aa86d5a into main Sep 24, 2026
3 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the hrx-warning branch September 24, 2026 19:46
bong-water-water-bong added a commit that referenced this pull request Sep 30, 2026
… on HRX (#239)

llama.cpp #45: the K-quant SwiGLU decode kernel wins over AMD's lossy int4
lowrow path (27B llama-server decode 10.7 -> 12.0 tok/s; KLD vs CPU 0.00167,
AMD kernels 0.00318). llama.cpp #46: 2-8 token K-quant kernels for
speculative verify: Qwen3.8-27B + MTP head 20.1/16.4/17.6 -> 22.5/17.7/19.0
tok/s (Vulkan 34.6/24.3/24.5). docs/hrx.md updated.

Co-authored-by: bong-water-water-bong <bong-water-water-bong@1bit.gg>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant