paper-with-me

Papers

$S^3$: Increasing GPU Utilization during Generative Inference for Higher Throughput

2023-09-21 · NeurIPS 2023 11

Generating texts with a large language model (LLM) consumes massive amounts of memory. Apart from the already-large model parameters, the key/value (KV) cache that holds information about previous tokens in a sequence can grow to be even larger than the model itself. This problem is exacerbated in one of the current LLM serving frameworks which reserves the maximum sequence length of memory for the KV cache to guarantee generating a complete sequence as they do not know the output sequence length. This restricts us to use a smaller batch size leading to lower GPU utilization and above all, lower throughput. We argue that designing a system with a priori knowledge of the output sequence can mitigate this problem. To this end, we propose $S^3$, which predicts the output sequence length, schedules generation queries based on the prediction to increase device resource utilization and throughput, and handle mispredictions. Our proposed method achieves 6.49× throughput over those systems that assume the worst case for the output sequence length.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

S$^{3}$: Increasing GPU Utilization during Generative Inference for Higher Throughput

2023-06-09 · Yunho Jin, Chun-Feng Wu, David Brooks, Gu-Yeon Wei

Generating texts with a large language model (LLM) consumes massive amounts of memory. Apart from the already-large model parameters, the key/value (KV) cache that holds information about previous tokens in a sequence ca…

GPULanguage ModelingLanguage ModellingLarge Language Model

A Study on the Intersection of GPU Utilization and CNN Inference

2022-12-15 · Jack Kosaian, Amar Phanishayee

There has been significant progress in developing neural network architectures that both achieve high predictive performance and that also achieve high application-level inference throughput (e.g., frames per second). An…

GPUNeural Architecture Search

MoE-Lightning: High-Throughput MoE Inference on Memory-constrained GPUs

2024-11-18 · Shiyi Cao, Shu Liu, Tyler Griggs, Peter Schafhalter 외

Efficient deployment of large language models, particularly Mixture of Experts (MoE), on resource-constrained platforms presents significant challenges, especially in terms of computational efficiency and memory utilizat…

Computational EfficiencyCPUGPUMixture-of-Experts

From Words to Watts: Benchmarking the Energy Costs of Large Language Model Inference

2023-10-04 · Siddharth Samsi, Dan Zhao, Joseph McDonald, Baolin Li 외

Large language models (LLMs) have exploded in popularity due to their new generative capabilities that go far beyond prior state-of-the-art. These technologies are increasingly being leveraged in various domains such as …

BenchmarkingGPUGSM8KLanguage Modeling+2

RPU -- A Reasoning Processing Unit

2026-02-20 · Matthew Adiletta, Gu-Yeon Wei, David Brooks arxiv

Large language model (LLM) inference performance is increasingly bottlenecked by the memory wall. While GPUs continue to scale raw compute throughput, they struggle to deliver scalable performance for memory bandwidth bo…