EasySpec: Layer-Parallel Speculative Decoding for Efficient Multi-GPU Utilization
Yize Wu, Ke Gao, Ling Li, Yanjun Wu

TL;DR
EasySpec introduces a layer-parallel speculative decoding method that significantly accelerates multi-GPU LLM inference by enabling simultaneous layer execution, achieving up to 4.17x speedup with minimal accuracy loss.
Contribution
It proposes a novel layer-parallel speculation strategy that breaks inter-layer dependencies, allowing multiple layers to run concurrently across GPUs without retraining.
Findings
Achieves up to 4.17x speedup in decoding
Drafting stage accelerated by up to 1.62x
Maintains original model distribution with minimal accuracy drop
Abstract
Speculative decoding is an effective and lossless method for Large Language Model (LLM) inference acceleration. It employs a smaller model to generate a draft token sequence, which is then verified by the original base model. In multi-GPU systems, inference latency can be further reduced through tensor parallelism (TP), while the optimal TP size of the draft model is typically smaller than that of the base model, leading to GPU idling during the drafting stage. We observe that such inefficiency stems from the sequential execution of layers, which is seemingly natural but actually unnecessary. Therefore, we propose EasySpec, a layer-parallel speculation strategy that optimizes the efficiency of multi-GPU utilization. EasySpec breaks the inter-layer data dependencies in the draft model, enabling multiple layers to run simultaneously across multiple devices as 'fuzzy' speculation. After…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsParallel Computing and Optimization Techniques
MethodsBalanced Selection
