ours-draft-DFlash

A DFlash2 block-diffusion draft model for speculative decoding of DCTR/ours-BF16 and DCTR/ours-NVFP4.

  • Architecture: 5 draft layers, block size 8; it reads the target's hidden states from layers 5 / 19 / 33 / 47 / 61 and borrows the target's embedding and lm_head, so it only works with the target above.
  • Training: initialized from a DFlash2 draft of Qwen3.8-27B-PEAR (block size 8) and fine-tuned on 224 trajectories of ours-BF16 on the four LIBERO suites (70 trajectories on unseen tasks held out), learning rate 3e-5 (swept 3e-5 to 1e-3).
  • Result: the speculative output distribution is identical to the target's. With this draft family, decoding is about 3.5x faster than without a draft (BF16, 2 x H100: 233 vs. 66 tok/s, 4.2 accepted tokens per verification). The fine-tune matches its initialization (offline acceptance +0.2%, 479 vs. 481 tok/s in serving).

Usage

--speculative-num-draft-tokens must equal the block size (8); a mismatch runs silently wrong.

python -m sglang.launch_server \
  --model-path DCTR/ours-BF16 \
  --tp-size 2 \
  --attention-backend fa3 \
  --mamba-ssm-dtype float32 \
  --speculative-algorithm DFLASH \
  --speculative-draft-model-path DCTR/ours-draft-DFlash \
  --speculative-num-draft-tokens 8 \
  --speculative-draft-attention-backend fa3

Tested with SGLang 0.5.23 (DFlash2 support).

License/Terms of Use:

Apache 2.0.

Downloads last month
-
Safetensors
Model size
2B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for DCTR/ours-draft-DFlash

Finetuned
DCTR/ours-BF16
Finetuned
(1)
this model