155
stars
2
commits
3
linked in READMEs
Aug 29, 2026
updated
This repository contains GGUF conversions of
incoai/Qwen3.8-27B-DFlash2,
the DFlash 2 draft model for
Qwen/Qwen3.8-27B.
It is not a standalone language model: it runs inside a speculative
decoding server and drafts tokens for the target model to verify. The
checkpoints are also mirrored at
z-lab/Qwen3.8-27B-DFlash2-GGUF.
DFlash 2 is a block-diffusion drafter for speculative decoding. It predicts a whole block of tokens in a single pass and keeps the top candidates at every position. A lightweight selector then traces one coherent path through them. Two-tap dynamic convolutions in the backbone keep the draft from decaying toward the end of the block. Decoding is lossless: greedy output matches the target model exactly, and sampling preserves its distribution.
| File | Size |
|---|---|
Qwen3.8-27B-DFlash2-Q4_K_M.gguf | 1.1 GB |
Qwen3.8-27B-DFlash2-Q8_0.gguf | 2.0 GB |
Qwen3.8-27B-DFlash2-BF16.gguf | 3.8 GB |
Build llama.cpp with DFlash 2 support (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 -j
# Apple Silicon
cmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_METAL=ON
cmake --build build -j
Then serve:
./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 7
See the blog post for other engines and more details.
ggml-org/Qwen3.8-27B-GGUF, Q4_K_Mxhigh reasoning effortAcceptance length is the per-request mean of completion tokens divided by verification steps. Higher is better.
| Draft GGUF | Acceptance Length |
|---|---|
| BF16 | 5.28 |
| Q8_0 | 5.13 |
| Q4_K_M | 5.39 |
Full evaluations of the base checkpoint are on the main model card.
If you find DFlash 2 useful, please cite:
@misc{inco2026dflash2,
title = {{DFlash 2: Keep Drafting Parallel}},
author = {{Inco AI}},
year = {2026},
month = {August},
url = {https://inco.ai/blog/dflash2/}
}
Please also cite the original DFlash paper:
@inproceedings{chen2026dflash,
title = {{DFlash: Block Diffusion for Flash Speculative Decoding}},
author = {Chen, Jian and Liang, Yesheng and Liu, Zhijian},
booktitle = {International Conference on Machine Learning (ICML)},
year = {2026}
}
2 commits
155
stars
2
commits
3
linked in READMEs
Aug 29, 2026
updated
This repository contains GGUF conversions of
incoai/Qwen3.8-27B-DFlash2,
the DFlash 2 draft model for
Qwen/Qwen3.8-27B.
It is not a standalone language model: it runs inside a speculative
decoding server and drafts tokens for the target model to verify. The
checkpoints are also mirrored at
z-lab/Qwen3.8-27B-DFlash2-GGUF.
DFlash 2 is a block-diffusion drafter for speculative decoding. It predicts a whole block of tokens in a single pass and keeps the top candidates at every position. A lightweight selector then traces one coherent path through them. Two-tap dynamic convolutions in the backbone keep the draft from decaying toward the end of the block. Decoding is lossless: greedy output matches the target model exactly, and sampling preserves its distribution.
| File | Size |
|---|---|
Qwen3.8-27B-DFlash2-Q4_K_M.gguf | 1.1 GB |
Qwen3.8-27B-DFlash2-Q8_0.gguf | 2.0 GB |
Qwen3.8-27B-DFlash2-BF16.gguf | 3.8 GB |
Build llama.cpp with DFlash 2 support (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 -j
# Apple Silicon
cmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_METAL=ON
cmake --build build -j
Then serve:
./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 7
See the blog post for other engines and more details.
ggml-org/Qwen3.8-27B-GGUF, Q4_K_Mxhigh reasoning effortAcceptance length is the per-request mean of completion tokens divided by verification steps. Higher is better.
| Draft GGUF | Acceptance Length |
|---|---|
| BF16 | 5.28 |
| Q8_0 | 5.13 |
| Q4_K_M | 5.39 |
Full evaluations of the base checkpoint are on the main model card.
If you find DFlash 2 useful, please cite:
@misc{inco2026dflash2,
title = {{DFlash 2: Keep Drafting Parallel}},
author = {{Inco AI}},
year = {2026},
month = {August},
url = {https://inco.ai/blog/dflash2/}
}
Please also cite the original DFlash paper:
@inproceedings{chen2026dflash,
title = {{DFlash: Block Diffusion for Flash Speculative Decoding}},
author = {Chen, Jian and Liang, Yesheng and Liu, Zhijian},
booktitle = {International Conference on Machine Learning (ICML)},
year = {2026}
}
2 commits