Qwen3.8-27B-DFlash2-GGUF for Speculative Decoding
Inco AI released GGUF conversions of the DFlash 2 draft model to accelerate Qwen3.8-27B generation without quality loss using block-diffusion.
Inco AI has released , a set of GGUF conversions for a DFlash 2 draft model. This tool is designed for speculative decoding to accelerate the generation process of the target Qwen3.8-27B model without sacrificing output quality. The base Qwen3.8-27B model outperforms Qwen3.6-27B, Qwen3.7-Plus, and Muse Glimmer-30B in benchmarks, and exceeds Opus4.6 Max in several categories.
Block-diffusion drafting mechanism
DFlash 2 operates as a block-diffusion drafter that predicts an entire block of tokens in one pass. It maintains the top candidates for every position, while a lightweight selector identifies a single coherent path through these candidates. To prevent the draft from decaying toward the end of the block, the backbone utilizes two-tap dynamic convolutions.
The decoding process is lossless, meaning that greedy output matches the target model exactly and sampling preserves the original distribution. This allows users to speed up Qwen3.8-based generation while maintaining the precision of the larger model.
VRAM requirements and quantization choices
The hardware requirements depend on the chosen quantization for both the drafter and the target model. For GPUs with 24 GB VRAM, the optimal setup is a Q4_K_M drafter paired with a target model in Q4_K_M or IQ4_XS. Users with 16 GB VRAM can use a Q4_K_M drafter with a Q3_K_M target model, which supports a context of up to 16k.
Systems with 48 GB VRAM or more can utilize Q8_0 versions for both the drafter and the target model, while BF16 requires 128 GB or more. DFlash 2 requires an additional 2–3 GB of VRAM beyond the drafter weights for verification buffers and hidden-state taps. To save approximately 400 MB and gain 20k additional context without quality loss, a Q2_K drafter version (~700 MB) is available for memory-constrained 16 GB GPUs.
Integration with llama.cpp
The draft model is not a standalone language model and must run inside a speculative decoding server. To use it, llama.cpp must be built with DFlash 2 support via PR #27342.
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
git fetch origin pull/27342/head:pr-27342
git switch pr-27342
# NVIDIA CUDA
cmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_CUDA=ON
cmake --build build -jOnce built, the server can be started by specifying the target model and the DFlash 2 drafter. For example, using Q4_K_M versions of both models:
./build/bin/llama-server \
-hf ggml-org/Qwen3.8-27B-GGUF:Q4_K_M \
-hfd incoai/Qwen3.8-27B-DFlash2-GGUF:Q4_K_M \
--spec-type draft-dflash \
--spec-draft-n-max 7Acceptance length benchmarks
Evaluation was performed using the Q4_K_M version of the target model with temperature 1.0, top-p 0.95, top-k 20, and xhigh reasoning effort. The tests used the first eight GSM8K examples with a maximum of 2048 new tokens. The acceptance length, measured as the mean of completion tokens divided by verification steps, varied by drafter quantization.
- Q4_K_M: 5.39
- BF16: 5.28
- Q8_0: 5.13
These results indicate that the Q4_K_M drafter provides the highest acceptance length among the tested GGUF versions. This efficiency complements other Qwen3.8 local deployments by reducing the number of verification steps needed per request.
Sources
Related news
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.