Skip to content

feat(dflash): support dflash - #258

Open
RuixiangMa wants to merge 1 commit into
FlashML-org:mainfrom
RuixiangMa:feat/dflash-support
Open

feat(dflash): support dflash#258
RuixiangMa wants to merge 1 commit into
FlashML-org:mainfrom
RuixiangMa:feat/dflash-support

Conversation

@RuixiangMa

@RuixiangMa RuixiangMa commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Implements DFlash v1 block-diffusion speculative decoding for the FreeToken inference engine. DFlash v1 uses a lightweight block-diffusion draft model to generate draft tokens in parallel, verified by the target model, achieving lossless acceleration on MoE models.

Usage

ft serve --model-path Qwen/Qwen3.6-35B-A3B
--speculative-algorithm dflash
--speculative-draft-model-path /cache/models/Qwen3.6-35B-A3B-DFlash
--speculative-dflash-block-size 8
--moe-backend fused --attention-backend fa --cache-type naive

Result

  • 1* H20(96G)
  • GSM8K
Metric Baseline DFlash Speedup
TPS 167.0 tok/s 271.5 tok/s 1.62x

CC @jason-fxz @andy-yang-1

@RuixiangMa
RuixiangMa force-pushed the feat/dflash-support branch 2 times, most recently from a731f96 to b83e823 Compare August 29, 2026 09:18
@RuixiangMa
RuixiangMa force-pushed the feat/dflash-support branch from b83e823 to 9f0a136 Compare August 29, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant