vllm-speculative-decoding

Official

Speed up vLLM speculative decoding in production.

Authorair-gapped
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Production-grade operators need a reliable way to deploy and optimize vLLM speculative decoding across multiple model families, balancing latency and throughput while maintaining correctness.

Core Features & Use Cases

  • Supports multiple speculative methods (eagle3, dflash, mtp, ngram, ngram_gpu, suffix, draft_model, extract_hidden_states) to cover a wide range of production workloads and target families.
  • Provides guidance on method selection, parameter tuning (e.g., num_speculative_tokens, parallel_drafting), and metrics interpretation to help diagnose domain/tokenizer mismatches, batch-size effects, and deployment gating.
  • Includes operational guidance for validation, monitoring, and troubleshooting to sustain production reliability and performance.

Quick Start

Smoke-test a vLLM endpoint to verify spec-dec is active and report the current acceptance rate and drafts/accepted token counts.

Dependency Matrix

Required Modules

curl

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vllm-speculative-decoding
Download link: https://github.com/air-gapped/skills/archive/main.zip#vllm-speculative-decoding

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.