Gufo
View on GitHub
Pages
Home / Documentation / v0.37.0

Qwen3.8 27B

Qwen3.8 27B is a dense model that reads text and images and writes text. Gufo runs its Q4 and Q8 GGUF files, optionally sped up with the DFlash2 draft model.

Files

FileSizeNeeded for
Qwen3.8-27B-UD-Q4_K_XL.gguf16.45 GiBText, Q4 target
Qwen3.8-27B-UD-Q8_K_XL.gguf29.30 GiBText, Q8 target
mmproj-BF16.ggufImages
Qwen3.8-27B-DFlash2-Q4_K_M.ggufDFlash2, with either target

Pick one target. Each request also needs memory for its context, and the draft and image projector add their own weights.

gufo model install qwen27-q4    # or qwen27-q8

It installs the target, the image projector and the DFlash2 draft, and prints the draft’s path.

Run

MODEL=qwen27-q4
DRAFT=~/.local/share/gufo/models/qwen27-q4/Qwen3.8-27B-DFlash2-Q4_K_M.gguf
gufo chat --model "$MODEL"
gufo serve llm --model "$MODEL" --speculative dflash2 \
  --dflash-model "$DRAFT" --sessions 2 --context 32768

Decoding modes

ModeOptionsWhat happens
ARnoneThe target produces one token per step.
DFlash2--speculative dflash2 --dflash-model PATHThe draft proposes several tokens; the target checks them in one pass and keeps the ones it agrees with.

DFlash2 adapts how many tokens it proposes, up to seven.

When a request decodes alone, Gufo also proposes copies of earlier text from the same conversation and checks up to 64 of them in one pass. Copies help most when the answer repeats code or text the model has already seen.

With greedy decoding, DFlash2 produces exactly the AR output. With sampling, both modes follow the same distribution, but the same seed gives different text. Thinking and sampling defaults are set per request; see reasoning controls.

Images

Gufo finds mmproj-BF16.gguf next to the target; pass --mmproj PATH to use another location. Repeat --image to attach several images:

gufo prompt --model "$MODEL" --image photo.jpg \
  --prompt "Describe this image." --temperature 0

Over HTTP, send images as image_url parts of a chat message; the server guide lists the accepted formats and limits. Images count toward the context. detail: low scales an image to fit 512 × 512 pixels and uses at most 256 image tokens; auto (the default), high and original allow 64 to 16,384.

To number images as Picture 1:, Picture 2: and so on, start the server with --add-vision-id or send chat_template_kwargs: {"add_vision_id": true}.

Performance

As of October 19, 2026, on Strix Halo with the Q4 target:

WorkloadSpeed
Prefill, AR648.89 tokens/s
Decode, one user, DFlash2up to 71.55 tokens/s
Decode, 8 concurrent users, DFlash2128.42 tokens/s in total

The full benchmarks compare with llama.cpp at every depth and include Q8. The quality report covers text and vision accuracy.

Synced from docs/models/qwen3.8-27b.md at v0.37.0, 2026-11-25.