SpecSearch: Towards Hardware-Aware Efficient Speculative Decoding
Selin YildirimAli ZeyrekDeming Chen
Selin Yildirim
Ali Zeyrek
Deming Chen
+3
SpecSearch is a hardware-aware search engine that jointly optimizes decoding strategy, draft length, and precision for each workload-GPU pair in speculative decoding, where the best configuration depends on workload, GPU, and available memory—as illustrated by DFlash on the RTX 5090, reaching $3.50\times$ autoregressive throughput at low concurrency but only $0.76\times$ at high concurrency with short outputs. An analytical cost model captures memory and compute constraints to prune the search space for throughput, and a Jev-based predictor, trained on calibration measurements from multiple GPUs with LoRA adapters and a linear correction layer on a frozen Qwen3-4B, selects configurations for held-out GPUs without deployment-GPU calibration. Across RTX 5090, H100, L40 and MI300X, full-calibration SpecSearch averages $2.01\times$ autoregressive and $1.36\times$ SD throughput under vLLM, while the predictor achieves $1.30\times$ over SD and retains $97.36\%$ of full-calibration throughput.

arXiv ·
· November 17, 2026