Qwen3.8-27B-speculator.dflash2
Model Overview
- Model Architecture: Qwen3_5ForConditionalGeneration
- Input: Text / Image
- Output: Text
- Model Optimizations:
- Speculative Decoding Algorithm: DFlash2
- Draft Model: 5-layer qwen3 backbone (DFlash2DraftModel)
- Release Date: 2026-11-09
- Version: 1.0
- Model Developers: RedHatAI
This is a DFlash2 speculator model for Qwen/Qwen3.8-27B.
It was trained using the Speculators library (version 0.9.0a68, commit 0d08af092bf66ca20a731a5a5338a3652dac6fa4) on a locally prepared packed chat dataset (sequence length 8192).
Training Details
Trained with the Speculators library (version 0.9.0a68, commit 0d08af0) for 5 epochs. The draft attaches to verifier layers 5, 19, 33, 47, and 61. Loss is token cross-entropy with DPACE position weighting (per_position_loss_weight=dpace). The optimizer is Muon. The DFlash2 selector uses selector_miss_policy=strict and a block size of 8. Training used 4 processes (torchrun --nproc_per_node 4) with FSDP sharding. vLLM 0.30.0 generated hidden states.
Commands
Using the Speculators library.
Prepare data
Launch vLLM
Hidden-state server for training. Draft layers read verifier layers 5, 19, 33, 47, and 61.
Launch training
Must be run once vLLM has finished launching and is running in the background.
Model Specifications
Deployment
vLLM selects the DFlash2 draft from the checkpoint architectures field. The serve method is dflash.
Use the verifier chat template through the /chat/completions endpoint.
Evaluation
Per-position token acceptance rates across datasets. Positions are the draft tokens proposed at each step (acceptance_at_pos_0 through acceptance_at_pos_6). Average length is acceptance_length.
Throughput
Closed-loop output throughput versus interactivity on RedHatAI/speculator_benchmarks, HumanEval and math reasoning. The target-only and speculator curves used the same verifier, hardware, and server flags. The x-axis is 1000 / mean inter-token latency (output tokens per second per user). The y-axis is aggregate output tokens per second over the measurement window.
[Image blocked: Output throughput vs. interactivity on HumanEval and math reasoning, 4×H100, TP4]
Closed-loop sweep on speedbench qualitative, RAG and summarization. DFlash2 and the target-only server use vLLM 0.33.0. At one user, DFlash2 output throughput is 2.68× the target on RAG and 2.76× on summarization, and it stays just ahead of the target at 128 concurrent requests, 1.02× and 1.03×. Native MTP, with 3 draft tokens on vLLM 0.34.0, is behind DFlash2 at one user. At 128 users it passes DFlash2 on RAG: the GPU is already full, and one reused MTP layer costs less than drafting 7 tokens. On summarization the two are level.
[Image blocked: Output throughput vs. interactivity for DFlash2 and native MTP on RAG and summarization, 4×H100, TP4]
Acceptance on RedHatAI/speculator_benchmarks.
Acceptance on speedbench qualitative.
References
DFlash2 extends block drafting from DFlash with local dynamic convolutions and a candidate selector.
Paper: DFlash: Block Diffusion for Flash Speculative Decoding