CoolFace
Modelpublic

AICP-Labs/qwen3-32b-dflash-en-zh

sourceHugging Faceapache-2.0updated 7mo agoView on Hugging Face
3likes276downloads
Model Card

Qwen3-32B DFlash Draft Model (EagleChat 400K Mix)

A DFlash draft model trained from Qwen3-32B using a EagleChat subset (English 200K + Chinese 200K) to accelerate speculative decoding.


Model Summary

This repository provides a DFlash draft model for Qwen3-32B. The draft model is intended to be used together with the target model in SpecForge, improving throughput (output tokens/sec) under standard speculative verification.

  • —Base / Target model: Qwen/Qwen3-32B
  • —Draft model type: DFlash (speculative decoding draft)
  • —Training data: EagleChat subset (English 200K + Chinese 200K; total ~400K)
  • —Training hardware: H100
  • —Primary use case: accelerate inference with DFlash / SpecForge


Training Details

Data

  • —Dataset: EagleChat subset
  • —Composition:
  • —English: ~200,000 samples
  • —Chinese: 200,000 samples
  • —Total: ~400,000 samples

Procedure

  • —Epochs: 6
  • —Sequence length: 4096
  • —Precision: bf16
  • —Codebase: SpecForge (DFlash training)

Evaluation

Benchmark settings

  • —Target model: /models/Qwen3-32B
  • —Draft model: sx-aicp/qwen3-32b-dflash-en-zh (or local path)
  • —Max new tokens: 2048
  • —Attention backend: fa3
  • —Tensor parallel (tp_size): 4
  • —device_sm: 90 (H100)
  • —drop_first_batch: true
  • —Concurrencies: 1 / 4 / 32 (varies by suite)

Speed Bench Results

Environment: H100 (SM90), tp=4, attention=fa3, maxnewtokens=2048, dropfirstbatch=true.

Unified Summary

BenchmarkConc=1Conc=4Conc=32
Math500109.20 → 392.63<br>3.595× / L=5.564409.44 → 1351.51<br>3.301× / L=5.5822554.68 → 4554.81<br>1.783× / L=5.588
HumanEval108.93 → 331.66<br>3.045× / L=4.769407.34 → 1129.16<br>2.772× / L=4.7562482.40 → 3632.36<br>1.463× / L=4.757
MT-Bench109.19 → 233.75<br>2.141× / L=3.791409.97 → 804.64<br>1.963× / L=3.8522470.75 → 2767.16<br>1.120× / L=3.917
Format: baseline tok/s → DFlash tok/s; Speedup× / L(acceptance length).

How to Evaluate (z-lab / dflash)

bash
python benchmark_sglang.py \
  --tp-size 4 \
  --target-model /models/Qwen3-32B \
  --draft-model /path/to/draft_model \
  --concurrencies 1,4,32 \
  --dataset-name math500 \
  --attention-backends fa3 \
  --output-md sglang_results.md