Speculative Inference with vLLM: Optimizing Heterogeneous Computing in Training-Inference Integrated Environments

Large Language Models (LLMs) have become central to advancements in AI, but their deployment in heterogeneous computing environments poses significant challenges in terms of performance and resource utilization. In this paper, we present a dual-model speculative inference framework based on the vLLM architecture that optimizes LLM inference between CPU-GPU systems. The framework uses dynamic collaboration, adaptive resource scheduling, and memory-aware techniques to address CPU resource underutilization, GPU inefficiency, and bottlenecks in highly concurrent scenarios. Extensive experiments show that our enhanced vLLM improves throughput by a factor of 86.3x in GPU-only settings and 56.3x enhancement in speculative inference compared to traditional Transformer-based systems. Speculative inference in vLLM improves performance by up to 70%, especially for small batches and long input-output sequences. We also investigate the impact of batch size, input length, and memory management on performance. The framework provides a scalable solution for optimizing LLM inference, with future work focusing on hardware scalability, adaptive scheduling, and extension to multilingual and multimodal models.

Authors

Institutions

Publication Details

Published
2025-03-21
DOI
https://doi.org/10.1109/iscait64916.2025.11010601
Primary Topic
Distributed and Parallel Computing Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Speculative Inference with vLLM: Optimizing Heterogeneous Computing in Training-Inference Integrated Environments

Enliang Zheng, Yukai Tan, Zeya Zhu
Distributed and Parallel Computing Systems
article

Speculative Inference with vLLM: Optimizing Heterogeneous Computing in Training-Inference Integrated Environments

Enliang Zheng, Yukai Tan, Zeya Zhu
article en

Abstract

Large Language Models (LLMs) have become central to advancements in AI, but their deployment in heterogeneous computing environments poses significant challenges in terms of performance and resource utilization. In this paper, we present a dual-model speculative inference framework based on the vLLM architecture that optimizes LLM inference between CPU-GPU systems. The framework uses dynamic collaboration, adaptive resource scheduling, and memory-aware techniques to address CPU resource underutilization, GPU inefficiency, and bottlenecks in highly concurrent scenarios. Extensive experiments show that our enhanced vLLM improves throughput by a factor of 86.3x in GPU-only settings and 56.3x enhancement in speculative inference compared to traditional Transformer-based systems. Speculative inference in vLLM improves performance by up to 70%, especially for small batches and long input-output sequences. We also investigate the impact of batch size, input length, and memory management on performance. The framework provides a scalable solution for optimizing LLM inference, with future work focusing on hardware scalability, adaptive scheduling, and extension to multilingual and multimodal models.

Beijing University of Posts and Telecommunications (CN), China Telecom (China) (CN), China Telecom (CN)
Openalex Percentile: Top 87%
Distributed and Parallel Computing Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.