Keep pulling the thread on Liang Wenfeng.
The target cache generated during DeepSpec's data preparation stage can be approximately 38 TB for the default Qwen/Qwen3-4B setting.
DeepSpec is a full-stack codebase for training and evaluating draft models for speculative decoding.
The default training configurations and scripts for DeepSpec assume a single node with 8 GPUs.
DeepSpec's evaluation script runs against benchmarks including gsm8k, math500, aime25, humaneval, mbpp, livecodebench, mt-bench, alpaca, and arena-hard-v2.
The released DeepSpec checkpoints were trained on open-perfectblend data generated by the corresponding target model in non-thinking mode.
For domain-specific use cases, DeepSpec draft models should be fine-tuned to achieve better results, especially if the target model is expected to run in thinking mode.
DeepSpec includes implementations for three draft model algorithms: DSpark, DFlash, and Eagle3.
The DeepSpec codebase is released under the MIT License.
The DeepSpec repository supports the Qwen3 and Gemma model families as target models.