Views
No views yet
1python -m sglang.launch_server \
2 --model-path zai-org/GLM-5.2-FP8 \
3 --speculative-algorithm DFLASH \
4 --speculative-draft-model-path UCloud-org/GLM-5.2-FP8-DFlash \
5 --speculative-num-draft-tokens 16 \
6 --tp-size 8 \
7 --trust-remote-code| Benchmark | AL (built-in MTP) | AL (DFlash) | DFlash throughput (tok/s) | Speedup vs vanilla | vs built-in MTP |
|---|---|---|---|---|---|
| gsm8k | 4.01 | 4.44 | 236 | 2.22x | 1.51x |
| humaneval | 4.42 | 6.43 | 383 | 3.44x | 1.42x |
| math500 | 4.91 | 7.77 | 477 | 4.28x | 1.54x |
| mbpp | 5.23 | 8.04 | 478 | 4.29x | 1.46x |
| mtbench | 3.71 | 3.56 | 220 | 1.99x | 0.93x |
| ceval | 3.65 | 2.98 | 177 | 1.62x | 0.93x |
max_length 3072: accept length degrades on very long prompts. For
long-context workloads, benchmark against the built-in MTP before choosing.1@misc{ucloud2026glm52dflash,
2 title = {GLM-5.2-FP8-DFlash: A DFlash Speculative-Decoding Drafter for GLM-5.2-FP8},
3 author = {Wei, Xiaojun and {UCloud AILab}},
4 year = {2026},
5 howpublished = {\url{https://huggingface.co/UCloud-org/GLM-5.2-FP8-DFlash}}
6}1@misc{chen2026dflash,
2 title = {DFlash: Block Diffusion for Flash Speculative Decoding},
3 author = {Chen, Jian and Liang, Yesheng and Liu, Zhijian},
4 year = {2026}, eprint = {2602.06036}, archivePrefix = {arXiv},
5 primaryClass = {cs.CL}, url = {https://arxiv.org/abs/2602.06036}
6}