Mentatcurated
Artificial Intelligence high · independent

DFlash

A speculative decoder whose draft model is a diffusion model — which spits out a whole block of guessed tokens in one pass instead of one at a time, and ends up the faster path.

Speculative decoding speeds up a large language model by having a small, cheap model guess the next several tokens, then letting the big model check them all in a single pass and keep the good ones. The output is identical to running the big model alone; you just wait less. The bottleneck has quietly become the guesser itself: the best open method, EAGLE-3, still drafts its guesses one token at a time, autoregressively, so a slow drafter caps the whole speedup.

The slow, quality-first way to generate text turns out to be the fast way to guess it.

DFlash, out of UC San Diego's Z Lab, swaps in a different kind of drafter — a block diffusion model, which generates a whole block of candidate tokens in one parallel forward pass rather than left to right. That is the surprise. Diffusion language models are usually sold as the slow, quality-first alternative to ordinary generation; here the one-shot block draft is exactly what makes them the fast option. Draft the block in a single pass, verify it in a single pass, and the guessing stage stops being the drag.

The numbers hold up under independent measurement, which is what raises this above a lab claim. On open models like Qwen and Gemma the drafter runs roughly 2.5x faster end-to-end than EAGLE-3, and up to six times faster than plain token-by-token decoding, with output quality unchanged. NVIDIA, benchmarking on its own hardware, and the SGLang team, testing separately, both reproduced the gains — and DFlash now ships as the default speculative algorithm in SGLang, so anyone already serving open models on that stack inherits the speedup.

The library and the pretrained draft models are up under an MIT licence; the one piece still missing is the training recipe, which the authors say is coming, for anyone who wants to fit a DFlash drafter to their own model. (Modal, whose CTO name-checked the project, is a compute-and-integration collaborator here, not the author — worth stating because the launch has been miscredited to it.)

Want to try it?

Clone github.com/z-lab/dflash and pull a matching draft model from the z-lab org on Hugging Face; if you serve open models on SGLang it is already the default and you can benchmark it against your current setup directly.

Open the repo at github.com →

The lenses

Novelty 4
Impact · breadth 3
Impact · depth 3
Actionable 4
Substance 5
Hype 2

The facts

CostFree, open-source (MIT)
Speedup~2.5x over EAGLE-3, up to 6x over normal decoding, quality unchanged
Runs onSGLang (default), vLLM, TensorRT-LLM
CaveatTraining recipe not yet released — pretrained drafters only for now
Open github.com →

How this connects

Tap a node to open it