Qwen3.8-Flash-Next (177B MoE) on a Strix Halo laptop: custom HIP kernels in a llama.cpp fork, 44 tok/s decode with MTP — plus a few ROCm 10 / gfx1151 notes

I’ve been tuning llama.cpp for the Radeon 8060S (gfx1151) in an ASUS ProArt PX13 (Ryzen AI Max+ 395, 128 GB). The target is one model: Qwen3.8-Flash-Next, a 177B MoE with about 3B active parameters, in unsloth’s UD-IQ4_XS GGUF (87 GiB). It runs entirely on the iGPU and has been my daily local model for coding agents since this week.

The attached table compares five engines on the same machine, with the same GGUF and the same prompts (~32K and ~8K tokens, 256 generated, temperature 0):

  • Biasi-ROCm: my llama.cpp fork with custom HIP kernels for gfx1151.
  • Biasi-Vulkan: the same fork on the Vulkan backend.
  • halogen 0.13: in GGUF mode with its own MTP head.
  • Upstream llama.cpp: ROCm and Vulkan, 2026-08-29.

Where it stands:

  • Decode: 44–45 tok/s with MTP speculative decoding (draft 2, 70–77% acceptance) and 26–28 tok/s without it. That is the best in the table.
  • Prefill: about 1,010–1,055 tok/s. halogen is still clearly ahead here (1,409 at 32K).
  • Upstream llama.cpp: about 190–290 tok/s prefill and 14–21 tok/s decode on this model. Its build has no MTP support for this architecture.

Since that run, the ROCm 10.0.0 work below raised llama-bench prefill (pp8192, empty context) from ~1,075 to ~1,215 tok/s. Perplexity is unchanged: a paired test on 16 chunks shows no significant difference, and greedy output is identical. A full re-run of the table with frozen prompts is pending.

Quick check on a dense model

On Qwen3.8-27B (dense, unsloth GGUF, 24 GiB), the same fork gets 456 tok/s pp2048 against 345 for upstream llama.cpp ROCm. Decode is 15.4 tok/s with the model’s built-in MTP layer, against 8.4 without it. That is a quick test, not a full benchmark.

Fine print

  • Measured by me: on the PX13 on AC power, performance profile, CachyOS (Linux 7.3), Mesa 26.1.8 RADV. The table run used the ROCm 7.2.4 runtime; ROCm 10.0.0 gave the same speed (±1%) and bit-identical output before the tuning above.
  • Older versions: halogen 0.13 and llama.cpp from 2026-08-29 were the newest I could install here. halogen 0.16, just released, is faster than 0.13, so please read that row as a lower bound for halogen.
  • Third-party numbers: the bottom block of the image comes from a Reddit post, measured on a different machine with different quants. Compare trends, not decimals.
  • Rates: engine-reported, median of warm runs.

The fork isn’t public at this point. I’m happy to share methodology and measurements, and I’d love to hear from anyone at AMD about the two timing behaviours in note 2.

2 Likes

Hello, thank you for sharing these notes. Just another note from my side that I can add: that strix-llama row was measured on UD-Q4_K_XL under Arch, while Strix Llama is built for exactly your GGUF, Unsloth’s UD-IQ4_XS, and its README reports about 1,228 tok/s prefill over a 95.6K prompt and 44.4 decode with MTP on that file. Since it’s open source, a run on your PX13 with your frozen prompts would make the closest head-to-head in the table, though it’s Windows-first: GitHub - rulith-dev/rulith-inference: Rulith Inference, formerly Strix Llama. Serving a 125B MoE model fast on one AMD Strix Halo machine, on Windows: a patched llama.cpp, a manager, and a desktop app. · GitHub

1 Like