z-lab/dflash

DFlash: Block Diffusion for Flash Speculative Decoding

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 18 minutes ago
Added to GitGenius on September 11th, 2026
Created on January 4th, 2026
Open Issues & Pull Requests: 102 (+0)
GitHub issues: Enabled
Number of forks: 430
Total Stargazers: 6,075 (+0)
Total Subscribers: 45 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 21.4 hours
Mean response time: 5.4 days
90th percentile: 12.0 days
Tracked items: 99

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 65% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 6% of issues opened in the past year have been closed. Three people close 76% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 88
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 118 days
Stale 30+ days: 78
Stale 90+ days: 57

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Detailed Description

DFlash is a block diffusion model designed for speculative decoding in large language models.

The tool addresses the challenge of slow token generation in language model inference by enabling efficient parallel drafting through block diffusion. Rather than generating tokens sequentially, DFlash produces multiple candidate tokens in parallel, which are then verified against a target model. This approach reduces the number of sequential steps needed while maintaining output quality, thereby accelerating overall inference throughput.

DFlash suits projects where inference speed is critical, particularly those deploying large language models in production environments. The tool supports a wide range of model families including Qwen, Gemma, MiniMax, Kimi, and others through multiple backends: Transformers for Linux systems, MLX for Apple Silicon, and OpenAI-compatible servers via SGLang, vLLM, oMLX, or llama.cpp. The project offers both DFlash and DFlash 2 variants, with DFlash 2 providing enhanced architecture for models like Muse-Glimmer-30B and Qwen3.8-27B. Adoption requires choosing an appropriate backend based on your deployment target and model selection, then configuring parameters like reasoning strength or block size according to your performance requirements.

Development activity shows consistent engagement with the speculative decoding problem space. The project maintains multiple backend implementations across different platforms and inference frameworks, indicating sustained effort to support diverse deployment scenarios. Evaluation infrastructure is built around standard benchmarks including mathematical reasoning and code generation tasks, suggesting the maintainers prioritize measurable performance validation. The tool integrates with established serving frameworks rather than requiring custom infrastructure, reducing adoption friction for teams already using SGLang, vLLM, or similar systems.