OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Infrastructure & Serving

Jetspec

JetSpec is an open-source Python project that accelerates large-language-model inference through speculative decoding. Its causal parallel tree-drafting method proposes candidate tokens for verification by the target model; the repository describes accepted-token selection as lossless. The related JetSpec++ method drafts on a second GPU while the target verifies the current block, refining the draft during verificati

Independent OpenViST project profile, based on linked sources.

Jetspec — Prototyping speculative decoding with supported target models and draft heads
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. Clone the JetSpec repository and enter its directory.

  2. Install the x86_64 locked requirements, or use the GB200-specific lock file and extra PyTorch index on GB200.

  3. Install the package in editable mode without dependencies.

  4. 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.
Source-based practical guide

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

  1. Open the JetSpec repository directory.

  2. Run the documented speedup script with model qwen3-8b and dataset math500.

  3. 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

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.

ProjectDocumented purposePlatformAccess and requirements
JetspecGenerate model outputs using speculative decoding.Linux, ServerThe 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.
RtenLoad an ONNX model and run CPU inference from Rust.Linux, macOS, Windows, Server
Moe InfinityServe MoE models whose expert weights do not all fit in GPU memory.Linux, Server, Self-hostedThe repository is public and identifies its license as Apache-2.0. Installation documentation specifies Python 3.10 or later and a CUDA-capable GPU.
Evidence and transparency

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