Adaptive Batch Budget for LLM Inference

Large Language Models (LLMs) are developing at a rapid pace, which requires the development of effective inference approaches to keep up with the increasing demand for computational resources. This study investigates the inference capabilities of LLMs, with a specific emphasis o n the prefill a nd decode stages. Wee valuate a nd contrast multiple cutting-edge techniques, such as vLLM, SplitFuse, and Sarathi's chunked-prefill strategy. Every strategy has i ts o wn advantages in maximizing GPU utilization and enhancing throughput during inference. We present an innovative method for scheduling tasks that adapts the allocation of resources according to the proportion of prefill a nd decode requests. This strategy aims toe nhance the efficiency o f current methods by improving the time p er output token (TPOT) and throughput while maintaining competitive time to first token (TTFT) metrics. The experimental evaluation, conducted using the vLLM inference framework and the Llama2- 7b-chat model, shows that our approach significantly improves inference performance in comparison to existing strategies. The findings demonstrate that dynamic scheduling c an efficiently enhance resource utilization and system responsiveness, providing a more adaptable solution for demanding LLM applications.

Authors

Institutions

Publication Details

Published
2024-10-26
DOI
https://doi.org/10.1109/ubmk63289.2024.10773573
Primary Topic
Advanced Data Storage Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Adaptive Batch Budget for LLM Inference

Çağrı Yeşil, Berhan Turku Ay, Funda Ay Ak, Öykü Berfin Mercan et al.
Advanced Data Storage Technologies
article

Adaptive Batch Budget for LLM Inference

Çağrı Yeşil, Berhan Turku Ay, Funda Ay Ak, Öykü Berfin Mercan, Oğuzhan Nefesoğlu
article en

Abstract

Large Language Models (LLMs) are developing at a rapid pace, which requires the development of effective inference approaches to keep up with the increasing demand for computational resources. This study investigates the inference capabilities of LLMs, with a specific emphasis o n the prefill a nd decode stages. Wee valuate a nd contrast multiple cutting-edge techniques, such as vLLM, SplitFuse, and Sarathi's chunked-prefill strategy. Every strategy has i ts o wn advantages in maximizing GPU utilization and enhancing throughput during inference. We present an innovative method for scheduling tasks that adapts the allocation of resources according to the proportion of prefill a nd decode requests. This strategy aims toe nhance the efficiency o f current methods by improving the time p er output token (TPOT) and throughput while maintaining competitive time to first token (TTFT) metrics. The experimental evaluation, conducted using the vLLM inference framework and the Llama2- 7b-chat model, shows that our approach significantly improves inference performance in comparison to existing strategies. The findings demonstrate that dynamic scheduling c an efficiently enhance resource utilization and system responsiveness, providing a more adaptable solution for demanding LLM applications.

Huawei Technologies (China) (CN)
Openalex Percentile: Top 74%
Advanced Data Storage Technologies
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.