Skip to content

hrx-system 4ba76c18eafe: Qwen3-0.6B returns end-of-text at once on a 4.7K-token prompt (98d05d94 answers) #369

Closed

Description

@bong-water-water-bong

Found 2026-10-09 while verifying the loom-jit port (fork #97) on strixhalo. Both builds below use the SAME llama.cpp (e44c9d01a4d5 + the #97 port, commit 30d6d3b44511) and differ only in third_party/hrx-system.

Repro: llama-server -m Qwen3-0.6B-Q4_K_M.gguf -dev HRX0 -ngl 99 -c 8192 -np 1 --jinja with IREE_HAL_AMDGPU_LIBHSA_PATH set, then /v1/chat/completions with temperature 0, cache_prompt:false, enable_thinking:false: a 213-token warm-up, then a 320-line distractor text with "the secret vault code is 7341" at line 203 and the question "What is the secret vault code? Answer with the number only." (4,732 prompt tokens). Script: strixhalo ~/wt/loom-cog/probe.py; log ~/wt/loom-cog/chain2.log.

hrx-system warm-up (213 tok) needle (4,732 tok)
98d05d94 (our fork 1bit/main: 51b1739 + lane-mask backport + knobs) "Hello! I'm here to help...", 16 tokens "7341", 5 completion tokens, twice
4ba76c18 (1bit/main merged with AMD c0b135a, 2026-10-07) same text, 16 tokens empty, finish_reason=stop, 1 completion token, twice

No NaN, no error in either server log. test-backend-ops -b HRX0 passes on the 4ba76c18 build (Backend HRX0: OK, 2/2), and tests/serve_e2e.sh passes on both, so neither gate catches this: only a prompt longer than one ubatch does (the same lesson as #319). The earlier 2026-10-05 attempt to pin upstream hrx-system (ee77c8f7f + 336037562) also gave wrong Qwen3 output; this is the same class.

Consequences:

🤖 Generated with Claude Code

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions