vLLM Speculative Decoding on Dual-GPU Nodes: How to prevent PCIe P2P bandwidth throttling between 8B draft and 70B target models?
We are deploying vLLM speculative decoding on cloud dual-GPU nodes (2x NVIDIA L40S, PCIe Gen4 x16, without NVLink interconnects).
Configuration
- Target Model:
meta-llama/Llama-3.3-70B-Instruct-AWQ(Tensor Parallel = 2 across GPU 0 & GPU 1). - Draft Model:
meta-llama/Llama-3.1-8B-Instruct(Draft speculative length = 5 tokens).
bashpython3 -m vllm.entrypoints.openai.api_server --model meta-llama/Llama-3.3-70B-Instruct-AWQ --tensor-parallel-size 2 --speculative-model meta-llama/Llama-3.1-8B-Instruct --num-speculative-tokens 5 --gpu-memory-utilization 0.90
The Problem
Instead of the expected 2.5x to 3x speedup, generation speed actually decreased from 24 tokens/sec (baseline 70B TP=2) to 18 tokens/sec with speculative decoding enabled!
Profiling with nsys revealed that:
- GPU 0 (which hosts the 8B draft worker) must serialize drafted token probability matrices over the standard PCIe bus to GPU 1 before the target model verification forward pass can execute.
- Because L40S servers lack physical NVLink bridges, inter-GPU peer-to-peer (P2P) latency spikes to 14ms per verification step.
How do you configure vLLM's speculative draft worker placement so draft generation and verification happen on GPU 0's local memory before broadcasting only final accepted token IDs across the PCIe bus?