torchspec-project / TorchSpec
PublicA PyTorch native library for training speculative decoding models
TorchSpec trains compact draft models to accelerate large language model inference through speculative decoding, decoupling inference and training with efficient data streaming.
How It Works
You stumble upon a clever tool that trains tiny sidekicks to make big AI chatbots respond super fast.
Run a quick script to get your computer ready for training, like setting up a new kitchen.
Choose a ready-made plan for popular chat AIs like Qwen or Kimi, tweaking sizes if needed.
Click run on an example – your sidekick starts learning from conversations on powerful computers.
Check colorful charts showing how much smarter your helper gets with each lesson.
Grab the finished sidekick and convert it to share with your fast AI friends.
Hook up your trained helper – now your AI answers in a flash, feeling magical.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.