How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf agentionai/Qwen3.8-Flash-Next-MTP-ROCmFP4-FAST-GGUF
# Run inference directly in the terminal:
llama cli -hf agentionai/Qwen3.8-Flash-Next-MTP-ROCmFP4-FAST-GGUF
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf agentionai/Qwen3.8-Flash-Next-MTP-ROCmFP4-FAST-GGUF
# Run inference directly in the terminal:
llama cli -hf agentionai/Qwen3.8-Flash-Next-MTP-ROCmFP4-FAST-GGUF
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf agentionai/Qwen3.8-Flash-Next-MTP-ROCmFP4-FAST-GGUF
# Run inference directly in the terminal:
./llama-cli -hf agentionai/Qwen3.8-Flash-Next-MTP-ROCmFP4-FAST-GGUF
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf agentionai/Qwen3.8-Flash-Next-MTP-ROCmFP4-FAST-GGUF
# Run inference directly in the terminal:
./build/bin/llama-cli -hf agentionai/Qwen3.8-Flash-Next-MTP-ROCmFP4-FAST-GGUF
Use Docker
docker model run hf.co/agentionai/Qwen3.8-Flash-Next-MTP-ROCmFP4-FAST-GGUF
Quick Links

Qwen3.8-Flash-Next MTP draft head (ROCmFP4-FAST)

The multi-token-prediction head from Qwen/Qwen3.8-Flash-Next, 2.28 GiB. Qwen trains it jointly with the target model, so it drafts better than a separate small model would.

This is a draft head, not a model. On its own it does nothing. It is used with agentionai/Qwen3.8-Flash-Next-ROCmFP4-FAST-GGUF, which is an experimental build; see that card first.

Setup

qwen4exp and the ROCmFPx quant types are not in upstream llama.cpp yet, so build this branch:

git clone https://github.com/LaurentZuijdwijk/llama.cpp
cd llama.cpp && git checkout vulkan/qwen4exp-rocmfpx
cmake -B build -DGGML_VULKAN=ON -DCMAKE_BUILD_TYPE=Release
cmake --build build -j

Run

./build/bin/llama-server \
  -m Qwen3.8-Flash-Next-ROCmFP4-FAST-00001-of-00005.gguf \
  -md Qwen3.8-Flash-Next-MTP-ROCmFP4-FAST.gguf \
  -ngl 99 --n-gpu-layers-draft 99 \
  --spec-type draft-mtp --spec-draft-n-max 3 -c 32768

Adds ~2.3 GiB to the ~85 GiB the target uses.

Measurements

Radeon 8060S (Ryzen AI MAX+ 395), 250 tokens at temp 0, each config warmed up first.

draft t/s acceptance
none 28.1 --
n-max 2 31.8 0.695
n-max 3 32.4 0.612

Quantized to match the target, not above it. A Q8_0 draft measured worse on both throughput and acceptance and cost 1.5 GiB more (30.3 t/s, 0.587): acceptance is the draft agreeing with the target, and two models quantized the same way are wrong in the same places.

Adaptive drafting also measured worse here (28.4 t/s, 0.468). It drafts longer when acceptance looks good, and this head carries its own 512-expert MoE, so each extra drafted token is a real forward pass.

Credits

qwen4exp support is the work of Daniel Han (@danielhanchen), from ggml-org/llama.cpp#27742, and the MTP graph is from #27739 (JJJYmmm). Both are unmerged drafts; if they land upstream, prefer upstream.

Quant formats hand-ported from ciru-ai/ROCmFPX. The ROCmFP4 format was created by charlie12345 in charlie12345/ROCmFPX, which ciru-ai's tree forks. Both upstream projects are MIT-licensed. Base model by the Qwen team.

Quantized and published by Agention.

License

Qwen Community License 1.0, included as LICENSE.

Downloads last month
920
GGUF
Model size
4B params
Architecture
qwen4exp
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for agentionai/Qwen3.8-Flash-Next-MTP-ROCmFP4-FAST-GGUF

Quantized
(144)
this model