GLM-5.3-Flash-DFlash2
a drafter for generation speedup
1 min read
This repository contains the DFlash 2 auxiliary model, designed to work alongside the base language model zai-org/GLM-5.3-Flash. It is not an independent text generator; instead, it serves in a speculative decoding server (a text generation acceleration method) for token prediction. Built using a block-diffusion approach, the model predicts entire token blocks in a single pass without any loss in generation quality. This is useful for developers and engineers optimizing language model inference speed.
Key features
- A block-diffusion drafter for speculative decoding that predicts a block of tokens in a single pass.
- Two-stroke dynamic convolutions to prevent draft degradation toward the end of the block.
- Zero quality loss: greedy output completely matches the target model.
- Compatibility with the SGLang framework for rapid deployment.
What you can do
- Set up a speculative decoding server using SGLang to accelerate GLM-5.3-Flash.
- Integrate the model into large language model serving infrastructure to boost throughput.
Example
Launching the service using SGLang:
pip install "sglang[all] @ git+[https://github.com/sgl-project/sglang.git@refs/pull/36708/head#subdirectory=python](https://github.com/sgl-project/sglang.git@refs/pull/36708/head#subdirectory=python)"
sglang serve \
--model-path zai-org/GLM-5.3-Flash \
--trust-remote-code \
--speculative-algorithm DFLASH \
--speculative-draft-model-path incoai/GLM-5.3-Flash-DFlash2 \
--speculative-draft-attention-backend fa4Read more
DetailsParameters: 1.17 billion parameters
Architecture: DFlash 2 block-diffusion drafter
Features: Lossless decoding preserving the target model's distribution










Comments