Qwen3.8-Flash-Next on Strix Halo

Guide

Installation, model download, building the engines and starting the server.

Requirements

Installation

# 1. Program
git clone <Repo-URL> qwen38-flash && cd qwen38-flash
uv sync

# 2. Model and MTP head
hf download unsloth/Qwen3.8-Flash-Next-GGUF --include 'UD-Q4_K_XL/*'
hf download dzannotti/Qwen3.8-Flash-Next-MTP-GGUF Qwen3.8-Flash-Next-MTP-Q4_K_M.gguf

# 3. Engines
engine/fetch.sh            # fetch and patch llama.cpp + EngramHalo.cpp
engine/build-engramhalo.sh # recommended engine
engine/build.sh hip        # second engine

# 4. Start
./run.sh                   # terminal program, preset eh-qualitaet (highest quality), F5

Recommended command line (without the program)

ROCBLAS_USE_HIPBLASLT=1 engine/build-engramhalo/bin/llama serve \
  -m .../UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf \
  -ngl 99 -c 131072 -fa on -ctk q8_0 -ctv q8_0 -b 8192 -ub 2048 -t 4 -lm none \
  -md .../Qwen3.8-Flash-Next-MTP-Q4_K_M.gguf -ngld 99 \
  --spec-type draft-mtp,ngram-mod --spec-draft-n-max 4 --spec-draft-p-min 0.75 \
  --jinja --chat-template-kwargs '{"reasoning_effort":"medium"}' \
  --temp 1 --top-p 0.95 --top-k 20 --min-p 0 \
  --host 0.0.0.0 --port 8080 --metrics

For several users: set -np 8 (the context then applies to all slots together) and leave out the three MTP lines.

Configuration tab of the terminal program: on the left, selection fields for engine, quant, load mode and KV cache; on the right, the memory balance with rating, warnings and the finished command line
Configuration tab after selecting the default preset. On the right are the memory balance, warnings and the generated command line.

Presets in the program

PresetEngineQuantContextMTPPurpose
eh-qualitaet (default)EngramHaloUD-Q4_K_XL131072onbest quality, one user
eh-no-thinkingEngramHaloUD-Q4_K_XL131072onchat and tools without thinking
eh-schnellEngramHaloUD-IQ3_XXS32768onsmallest footprint
eh-longctxEngramHaloUD-IQ4_XS163840onlong documents
eh-agentEngramHaloUD-Q4_K_XL163840oncoding agent, one slot, room for containers
eh-teamEngramHaloUD-IQ3_XXS8 × 196608onseveral agents at once, one slot each
stock-*llama.cpp + patchIQ4_XS / IQ3_XXS / Q2_K_XLdepends on presetonfallback without EngramHalo

Troubleshooting