Practical overview
When it fits
Use JetSpec when you need a code-based route to speculative LLM inference or want to evaluate parallel tree drafting. Choose JetSpec++ when exploring its two-GPU draft-and-verify workflow; choose the JetSpec reference path for a lightweight Hugging Face-based example.
Who it is for
- Inference engineers building or evaluating LLM serving systems.
- Researchers experimenting with speculative decoding, tree drafting and draft refinement.
- Developers benchmarking model generation speed on supported GPU setups.
Documented uses
- Generate model outputs using speculative decoding.
- Integrate parallel tree drafting into an inference engine or serving workflow.
- Compare decoding speed with autoregressive generation on documented benchmark datasets.
- Explore draft refinement while a target model verifies candidate tokens.
Requirements & limits
The repository is public, open source and licensed under MIT. JetSpec++ documentation specifies Linux, two peer-access GPUs and a CUDA compiler; no hosted service or account requirement is documented.
- JetSpec and JetSpec++ are related but distinct implementation paths, with different hardware and setup expectations.
- JetSpec++ documents two-GPU serving and a one-GPU eager reference; its main serving requirements specify two peer-access GPUs.
- The listed JetSpec++ checkpoints target Qwen3-8B and Qwen3.8-27B on A100, B200 or GB200 GPUs.
- JetSpec’s documented reference and optimized serving engine use different execution components and setup paths.
- Reported speedups are tied to the cited model, GPU, dataset and measurement conditions; the README cautions that quick-start throughput is not a steady benchmark result.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Run the JetSpec++ Qwen3-8B quick start
Generate a short answer with JetSpec++ using the documented Qwen3-8B example.
Before you start
- Linux system with two GPUs that have peer access.
- CUDA compiler.
- Install the platform-matched locked requirements and JetSpec++ package as shown in the repository.
Steps
Clone the JetSpec repository and enter its directory.
Install the x86_64 locked requirements, or use the GB200-specific lock file and extra PyTorch index on GB200.
Install the package in editable mode without dependencies.
Run the documented generate command with model qwen3-8b and a prompt.
Expected outcome
The command downloads the pinned target model and checkpoint, chooses a GPU schedule, and prints an answer with throughput.
Guide limitations
- The first run compiles kernels and may take several minutes.
- The quick-start throughput is for one short prompt on a fresh engine; the repository recommends its speedup benchmark for a steadier measurement.
- The example requires two GPUs with peer access.
Measure JetSpec++ speedup on a dataset
Run the repository’s documented speedup benchmark for Qwen3-8B on MATH-500.
Before you start
- A JetSpec++ environment installed for the platform.
- The two-GPU and CUDA compiler prerequisites described for JetSpec++.
Steps
Open the JetSpec repository directory.
Run the documented speedup script with model qwen3-8b and dataset math500.
Review the reported speedup over autoregressive decoding on the selected GPU.
Expected outcome
The benchmark script reports JetSpec++ speedup over autoregressive decoding for the selected model and dataset.
Guide limitations
- The result depends on the GPU used; the repository’s cited GB200 results have specific batch-size and temperature conditions.
- This recipe covers a benchmark run, not reproduction of the paper’s full comparison tables.
Compare options for Model inference and serving
These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.
| Project | Documented purpose | Platform | Access and requirements |
|---|---|---|---|
| Jetspec | Generate model outputs using speculative decoding. | Linux, Server | The repository is public, open source and licensed under MIT. JetSpec++ documentation specifies Linux, two peer-access GPUs and a CUDA compiler; no hosted service or account requirement is documented. |
| Rten | Load an ONNX model and run CPU inference from Rust. | Linux, macOS, Windows, Server | |
| Moe Infinity | Serve MoE models whose expert weights do not all fit in GPU memory. | Linux, Server, Self-hosted | The repository is public and identifies its license as Apache-2.0. Installation documentation specifies Python 3.10 or later and a CUDA-capable GPU. |
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 28 November 2026
- Original website title
- hao-ai-lab/JetSpec · Official homepage title · retained in its source language

