Repo

DeepSpec

Builds draft models for speculative decoding and evaluates acceptance on standard benchmarks. Includes data regeneration, target-cache creation, training, and eval scripts.

GitHub ↗Jun 26, 2026Paper ↗

  • llm
  • speculative-decoding
  • draft-models
  • multi-gpu-training

What it is

Full-stack codebase for preparing data, training draft models, and evaluating speculative decoding against target LLMs. Supports DSpark, DFlash, and Eagle3. Train and benchmark draft models for speculative decoding with an end-to-end pipeline covering target-output caching, multi-GPU training, and benchmark evaluation.

Key results

  • Supports 3 algorithms: DSpark, DFlash, and Eagle3
  • Evaluates on 9 benchmarks including GSM8K, MATH500, HumanEval, MBPP
  • Default target cache for Qwen3-4B is ~38 TB

Shows that speculative decoding research can be run end-to-end in one reproducible stack across multiple draft algorithms and target LLM families.

One useful ML email a week.

Worth your time, not all of your time.

We track new ML work across papers, code, and data, then keep only the pieces worth a closer look. Selected, not collected.

Papers.Data.Code

The Weekly ML Signal

Selected, not collected.

One useful ML email a week: the papers, repos and datasets worth your attention.

Worth your time, not all of your time.