Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 2.9 KB

README.md

File metadata and controls

48 lines (38 loc) · 2.9 KB

Documentation

ASpec trains speculative decoding Draft models with asynchronous Target features, explicit execution plans and recoverable training state. Start with a working run, then choose the algorithm, structure and execution suited to your data and hardware.

First run

  1. One-command source setup, or the optional container.
  2. Run Qwen3-8B or Ling tiny on two GPUs.
  3. Choose a recipe and prepare data.
  4. Check supported paths and known limitations.

The project roadmap lists implemented features and planned extensions.

Training workflows

Task Guide
Configure resources, batches and Plan Configuration
Select Megatron versions and isolated environments Megatron integration
Choose DSpark, DFlash, EAGLE or native MTP Algorithms
Choose Dense/MoE/MLA, SWA/CSA/QSA or packing/CP Structures
Use Ling Targets Ling recipes
Train independent Drafts with shared capture Shared Target
Plan and run a static cluster Multi-node
Select bounded role/buffer topology Topology selection
Train, track, stop and resume; replay offline features Training and recovery
Evaluate, select and export checkpoints Evaluation and export
Diagnose installation or runtime failures Troubleshooting
Inspect native prerequisites or manual installation Advanced installation
Interpret and reproduce performance Benchmarks / tools and protocol
Compare training quality and actual verifier acceptance Fixed-sequence Qwen3-8B study
Configure paths, caches and interfaces Environment portability

The configuration catalog identifies required inputs and GPU budgets. Bundled short examples are functional recipes, not model-quality promises.

For the engineering approach and measured results, read ASpec: accelerating Draft training for speculative decoding (Chinese).

Contributing

CONTRIBUTING.md covers development and verification. Architecture and decisions describe current contracts. Engineering priorities, runtime validation and release preparation guide contributions and maintenance. Project prose is maintained primarily in English, with a Chinese overview.