anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
A draft model that speeds up Qwen3.8-27B by proposing a block of tokens for the main model to check. Not standalone. For people serving Qwen3.8-27B with SGLang or vLLM.
Qwen3.8-27B-DFlash2 is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download z-lab/Qwen3.8-27B-DFlash2
Qwen3.8-27B-DFlash2 is a small helper model, called a drafter, that pairs with Qwen/Qwen3.8-27B. It is not a language model by itself. A speculative decoding server loads it next to the main model. It guesses upcoming tokens, and the main model checks them. The repository mirrors a copy published by Inco AI.
People who already serve Qwen3.8-27B and want faster generation without changing the answers.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Inference engineers | Cut latency on a served Qwen3.8-27B | A coding assistant that replies sooner |
| Platform | Serving teams | Raise tokens per second under load | A chat service handling several users |
| Research | Systems researchers | Compare drafting methods | MTP versus DSpark versus DFlash 2 |
You can skip it if you do not run Qwen3.8-27B, since the draft only works with that target model.
| Use case | Who | What they get back |
|---|---|---|
| Faster single-user decoding | Developers | More output tokens per second than plain decoding |
| Faster batched serving | Platform teams | Higher throughput at moderate concurrency |
| Lossless drafting | Researchers | Output that matches the target model |
pip install -U huggingface_hub hf download z-lab/Qwen3.8-27B-DFlash2
Start the server with the main model and the draft model together, then send requests as usual. The card gives one command for SGLang and one for vLLM, and says the output is lossless.
python -m sglang.launch_server \ --model-path Qwen/Qwen3.8-27B \ --speculative-algorithm DFLASH \ --speculative-draft-model-path incoai/Qwen3.8-27B-DFlash2 \ --speculative-num-draft-tokens 8
vllm serve Qwen/Qwen3.8-27B \
--speculative-config '{
"method": "dflash",
"model": "incoai/Qwen3.8-27B-DFlash2",
"num_speculative_tokens": 7
}'You start the SGLang server with those flags and chat with Qwen3.8-27B as usual. The answers match plain decoding, and the card reports higher output tokens per second.
If you are new, know that this file does nothing alone. It is a helper that sits beside Qwen3.8-27B inside the server, so set up the main model first.
If you know the field, DFlash 2 is a block-diffusion drafter. In one forward pass it proposes several tokens together, with a few top options per position. A selector then traces one path through them. The card says greedy output matches the target exactly and sampling keeps its distribution.
A draft model that speeds up Qwen3.8-27B by proposing a block of tokens for the main model to check. Not standalone. For people serving Qwen3.8-27B with SGLang or vLLM.
Made by z-lab on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: Qwen3.8-27B-DFlash2 is a small helper model, called a drafter, that pairs with Qwen/Qwen3.8-27B. It is not a language model by itself. A speculative decoding server loads it next to the main model. It guesses upcoming tokens, and the main model checks them. The repository mirrors a copy published by Inco AI.
Who it suits: People who already serve Qwen3.8-27B and want faster generation without changing the answers.
Industry | Who uses it | How they use it | Example
Software | Inference engineers | Cut latency on a served Qwen3.8-27B | A coding assistant that replies sooner
Platform | Serving teams | Raise tokens per second under load | A chat service handling several users
Research | Systems researchers | Compare drafting methods | MTP versus DSpark versus DFlash 2
You can skip it if you do not run Qwen3.8-27B, since the draft only works with that target model.
Where to use it:
Use case | Who | What they get back
Faster single-user decoding | Developers | More output tokens per second than plain decoding
Faster batched serving | Platform teams | Higher throughput at moderate concurrency
Lossless drafting | Researchers | Output that matches the target model
How to set it up:
pip install -U huggingface_hub
hf download z-lab/Qwen3.8-27B-DFlash2
How to use it: Start the server with the main model and the draft model together, then send requests as usual. The card gives one command for SGLang and one for vLLM, and says the output is lossless.
python -m sglang.launch_server \
--model-path Qwen/Qwen3.8-27B \
--speculative-algorithm DFLASH \
--speculative-draft-model-path incoai/Qwen3.8-27B-DFlash2 \
--speculative-num-draft-tokens 8
vllm serve Qwen/Qwen3.8-27B \
--speculative-config '{
"method": "dflash",
"model": "incoai/Qwen3.8-27B-DFlash2",
"num_speculative_tokens": 7
}'
Example: You start the SGLang server with those flags and chat with Qwen3.8-27B as usual. The answers match plain decoding, and the card reports higher output tokens per second.
For newcomers and experts: If you are new, know that this file does nothing alone. It is a helper that sits beside Qwen3.8-27B inside the server, so set up the main model first.
If you know the field, DFlash 2 is a block-diffusion drafter. In one forward pass it proposes several tokens together, with a few top options per position. A selector then traces one path through them. The card says greedy output matches the target exactly and sampling keeps its distribution.
Draft model proposes a block of tokens
Selector picks one coherent path
Qwen3.8-27B verifies the tokens
Accepted tokens become output
Title: Output tokens per second on GSM8K, one request at a time
Plain decoding: 68.9 tok/s
MTP: 178.5 tok/s
DSpark: 185.3 tok/s
DFlash 2: 236.1 tok/s
Good to know:
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download z-lab/Qwen3.8-27B-DFlash2
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Qwen3.8-27B-DFlash2 This page | 46,660 | 335 | 1.9B | apache-2.0 | |
| Qwen3.8-27B-DFlash2 by incoaiShares sglang · block-diffusion · dflash2 | 429,580 | 301 | 1.9B | apache-2.0 | |
| Qwen3.8-Flash-Next-DFlash2Shares sglang · block-diffusion · dflash2 | 58,226 | 84 | 603M | apache-2.0 | |
| Flint-DFlash2Shares sglang · block-diffusion · dflash2 | 1,651 | 9 | 403M | apache-2.0 | |
| Qwen3.8-Flash-Next-DFlash2-GGUFShares block-diffusion · dflash2 · draft-model | 3,960 | 4 | 603M | apache-2.0 | |
| Bielik-11B-v3.1-DFlash2Shares block-diffusion · draft-model · speculative-decoding | 44 | 3 | 1.2B | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.