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 in GGUF form that speeds up Qwen3.8-27B by proposing token blocks for the main model to verify. For people who run that model locally with llama.cpp.
Qwen3.8-27B-DFlash2-GGUF by z-lab 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.
cd llama.cpp git fetch origin pull/27342/head:pr-27342 git switch pr-27342
This repository holds GGUF conversions of DFlash 2, a draft model for Qwen3.8-27B. It is not a language model you can chat with. A speculative decoding server loads it next to the main model. It suggests tokens, and the main model checks each one. The repository mirrors the one published by incoai.
People who run Qwen3.8-27B on their own machine with llama.cpp and want faster generation are the main fit. Researchers who study speculative decoding can use it as a drafter to compare.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Local LLM users | Pair the drafter with Qwen3.8-27B in llama.cpp | Serve the target and the draft together |
| AI infrastructure | Inference engineers | Test block drafting on a local server | Check acceptance length on their own prompts |
| Research | Decoding researchers | Study block-diffusion drafters | Compare the Q4_K_M, Q8_0 and BF16 draft files |
If you do not run Qwen3.8-27B, you can skip it, because it drafts only for that target.
Use it with a llama.cpp build that has DFlash 2 support.
| Use case | Who | What they get back |
|---|---|---|
| Faster local generation | Local LLM users | The same text as the target alone, drafted in blocks |
| Drafter comparison | Researchers | Acceptance lengths for three draft file sizes |
You need a llama.cpp checkout and a build for your hardware.
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
pip install -U huggingface_hub hf download z-lab/Qwen3.8-27B-DFlash2-GGUF
Start llama-server with the target model and the draft model, then use the server as usual. The command below pairs the Q4_K_M files.
./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
| Tool | What it does |
|---|---|
| -hf | Names the target model that writes the final text |
| -hfd | Names the draft model that proposes tokens |
| --spec-type draft-dflash | Turns on the DFlash drafting method |
| --spec-draft-n-max 7 | Caps the draft length at 7 tokens |
| Draft file | Size |
|---|---|
| Q4_K_M | 1.1 GB |
| Q8_0 | 2.0 GB |
| BF16 | 3.8 GB |
You run the command above and send a chat request to the server. The draft model proposes up to 7 tokens at a time, and Qwen3.8-27B checks them before they reach your reply.
This file is a helper, not a chat model. It makes a bigger model answer faster by guessing ahead. A good first try is the Q4_K_M pair in the command above.
DFlash 2 predicts a whole block of tokens in one pass and keeps the top candidates at each position. A small selector then picks a single consistent path through those candidates. Inside the backbone, two-tap dynamic convolutions stop the draft quality from dropping as the block goes on. The card says greedy decoding gives the same text as the target alone, and sampling keeps the target's distribution.
The card reports acceptance length, which is how many tokens get through per verification step on average. A higher number is better.
A draft model in GGUF form that speeds up Qwen3.8-27B by proposing token blocks for the main model to verify. For people who run that model locally with llama.cpp.
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: This repository holds GGUF conversions of DFlash 2, a draft model for Qwen3.8-27B. It is not a language model you can chat with. A speculative decoding server loads it next to the main model. It suggests tokens, and the main model checks each one. The repository mirrors the one published by incoai.
Who it suits: People who run Qwen3.8-27B on their own machine with llama.cpp and want faster generation are the main fit. Researchers who study speculative decoding can use it as a drafter to compare.
Industry | Who uses it | How they use it | Example
Software | Local LLM users | Pair the drafter with Qwen3.8-27B in llama.cpp | Serve the target and the draft together
AI infrastructure | Inference engineers | Test block drafting on a local server | Check acceptance length on their own prompts
Research | Decoding researchers | Study block-diffusion drafters | Compare the Q4_K_M, Q8_0 and BF16 draft files
If you do not run Qwen3.8-27B, you can skip it, because it drafts only for that target.
Where to use it: Use it with a llama.cpp build that has DFlash 2 support.
Use case | Who | What they get back
Faster local generation | Local LLM users | The same text as the target alone, drafted in blocks
Drafter comparison | Researchers | Acceptance lengths for three draft file sizes
How to set it up: You need a llama.cpp checkout and a build for your hardware.
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
pip install -U huggingface_hub
hf download z-lab/Qwen3.8-27B-DFlash2-GGUF
How to use it: Start llama-server with the target model and the draft model, then use the server as usual. The command below pairs the Q4_K_M files.
./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
Tool | What it does
-hf | Names the target model that writes the final text
-hfd | Names the draft model that proposes tokens
--spec-type draft-dflash | Turns on the DFlash drafting method
--spec-draft-n-max 7 | Caps the draft length at 7 tokens
Draft file | Size
Q4_K_M | 1.1 GB
Q8_0 | 2.0 GB
BF16 | 3.8 GB
Example: You run the command above and send a chat request to the server. The draft model proposes up to 7 tokens at a time, and Qwen3.8-27B checks them before they reach your reply.
For newcomers and experts: This file is a helper, not a chat model. It makes a bigger model answer faster by guessing ahead. A good first try is the Q4_K_M pair in the command above.
DFlash 2 predicts a whole block of tokens in one pass and keeps the top candidates at each position. A small selector then picks a single consistent path through those candidates. Inside the backbone, two-tap dynamic convolutions stop the draft quality from dropping as the block goes on. The card says greedy decoding gives the same text as the target alone, and sampling keeps the target's distribution.
The draft model predicts a block in one pass
A selector picks one coherent path
Qwen3.8-27B verifies the proposed tokens
Accepted tokens join the reply
Good to know: The card reports acceptance length, which is how many tokens get through per verification step on average. A higher number is better.
Title: Acceptance length by draft file
BF16: 5.28 tokens per step
Q8_0: 5.13 tokens per step
Q4_K_M: 5.39 tokens per step
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download z-lab/Qwen3.8-27B-DFlash2-GGUF
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 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-GGUF by z-lab This page | 506,737 | 162 | 1.9B | apache-2.0 | |
| Qwen3.8-Flash-Next-DFlash2-GGUFShares dflash2 · draft-model · speculative-decoding | 3,960 | 4 | 603M | apache-2.0 | |
| Qwen3.8-27B-DSpine-b16-GGUFShares draft-model · speculative-decoding · llama.cpp | 15,022 | 41 | 2B | apache-2.0 | |
| Qwen3.8-27B-DFlash2 by incoaiShares dflash2 · draft-model · speculative-decoding | 429,580 | 301 | 1.9B | apache-2.0 | |
| Qwen3.8-Flash-Next-DFlash2Shares dflash2 · draft-model · speculative-decoding | 58,226 | 84 | 603M | apache-2.0 | |
| Qwen3.8-27B-DFlash2Shares dflash2 · draft-model · speculative-decoding | 46,660 | 335 | 1.9B | 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.