SpecSearch: Towards Hardware-Aware Efficient Speculative Decoding
Abstract
Speculative decoding (SD) accelerates large language model (LLM) inference, but its optimal configuration depends jointly on workload characteristics, GPU hardware, and available memory. For example, on the RTX~5090, the state-of-the-art speculative drafter DFlash achieves the throughput of autoregressive (AR) decoding at low concurrency, but only at high concurrency with short outputs. We present SpecSearch, a hardware-aware search engine that jointly optimizes decoding strategy, draft length, and precision across workload--GPU pairs. Its analytical cost model captures memory and compute constraints to identify feasible configurations and narrow the search space for throughput optimization. Guided by this model, calibration measurements are collected from multiple GPUs. Using the measurements, a Jev-based predictor learns to select high-throughput decoding configurations on held-out GPUs without requiring deployment-GPU calibration. The predictor is parameter-efficiently trained on calibration data, while adapting a frozen Qwen3-4B using LoRA adapters and a linear correction layer. Across NVIDIA RTX~5090, H100, L40 and AMD MI300X GPUs, SpecSearch with full calibration achieves an average of the throughput of AR and the throughput of SD, both served by vLLM. The proposed Jev-based predictor closely matches this search performance with throughput improvement over SD with vLLM, while eliminating the need for held-out GPU calibration. Additionally, it retains of the throughput achieved by SpecSearch that utilizes full calibration.
Create a lesson
Related papers
Speculative Decoding Is Less Speculative Than You Think
Shared title terminology · Guanning Zeng, Andrea Zanette
Vega-Fafnir: Is Greedy Decoding the Same Decoding? Where Rounding Noise in Speculative Verification Comes From and What Removing It Costs
Shared title terminology · Mohammed Nayeem Khan, Navin Kumar R
Efficient Latent Reasoning for Vision-Language Model via Dynamics-Aware Quantization and Distillation
Shared title terminology · Yanjing Li, Sheng Xu, Baochang Zhang et al.
Towards Data-Efficient, Real-Time World Models
Shared title terminology · Raluca Stevenson, David Bignell, Jennifer C. White et al.
PACD: Provenance-Aware Consensus Decoding for Mitigating Cross-Modal Hallucinations in Omnimodal Large Language Models
Shared title terminology · Chang Sun, Yijun Tian, Zhenwei Tang et al.
Efficient Wide-Beam Generative Retrieval with Model-Native Trie Decoding and Shared-Context Attention
Shared title terminology · Vedant Jhaveri, Arashpreet Singh Mor, Satyam Kumar et al.