亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

TightLLM: Maximizing Throughput for LLM Inference via Adaptive Offloading Policy

吞吐量 计算机科学 推论 计算机网络 人工智能 无线 电信
作者
Yitao Hu,Xiulong Liu,Guotao Yang,Linxuan Li,Kai Zeng,Zhixin Zhao,Sheng Chen,Laiping Zhao,Wenxin Li,Keqiu Li
出处
期刊:IEEE Transactions on Computers [Institute of Electrical and Electronics Engineers]
卷期号:74 (7): 2195-2209 被引量:6
标识
DOI:10.1109/tc.2025.3558009
摘要

Large language models (LLMs) have demonstrated remarkable performance across a wide range of tasks, largely due to their substantial model size. However, this also results in significant GPU memory demands during inference. To address these challenges on hardware with limited GPU memory, existing approaches employ offloading techniques that offload unused tensors to CPU memory, thereby reducing GPU memory usage. Since offloading involves data transfer between GPU and CPU, it introduces transfer overhead. To mitigate this, prior works typically overlap data transfer with GPU computation using a fixed pipelining strategy applied uniformly across all inference iterations, referred to as static offloading. However, static offloading policies fail to maximize inference throughput because they cannot adapt to the dynamically changing transfer overhead during the inference process, leading to increasing GPU idleness and reduced inference throughput.

We propose that offloading policies should be adaptive to the varying transfer overhead across inference iterations to maximize inference throughput. To this end, we design and implement an adaptive offloading-based inference system called TightLLM with two key innovations. First, its key-value (KV) distributor employs a trade-compute-for-transfer strategy to address growing transfer overhead by dynamically recomputing portions of the KV cache, effectively overlapping data transfer with computation and minimizing GPU idleness. Second, TightLLM’s weight loader slices model weights and distributes the loading process across multiple batches, amortizing the excessive weight loading overhead and significantly improving throughput. Evaluation across various combinations of GPU hardware and LLM models shows that TightLLM achieves 1.3 to 23 times higher throughput during the decoding phase and 1.2 to 22 times higher throughput in the prefill phase compared to state-of-the-art offloading systems. Due to the higher throughput in prefill and decoding phases, TightLLM can reduce the completion time for large-scale tasks, which involve processing and generating a substantial number of tokens, by 59.6% to 94.9%.

最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
贺知什么书完成签到,获得积分10
4秒前
千早爱音发布了新的文献求助30
14秒前
鸡鸡大魔王完成签到,获得积分10
15秒前
感动哈密瓜完成签到,获得积分20
18秒前
爱学习的叭叭完成签到,获得积分10
18秒前
svikarsk完成签到,获得积分10
19秒前
深情大象完成签到,获得积分10
20秒前
xiuwenli完成签到,获得积分10
40秒前
高贵的鸿涛完成签到,获得积分10
45秒前
mzhang2完成签到 ,获得积分10
1分钟前
外向的小海豚完成签到,获得积分10
1分钟前
cf关闭了cf的文献求助
1分钟前
江流儿完成签到,获得积分10
1分钟前
自觉康乃馨完成签到,获得积分10
1分钟前
小马甲的应助被科研通管家采纳,获得10
1分钟前
2分钟前
2分钟前
欢喜的铭完成签到,获得积分10
2分钟前
香蕉觅云的应助被含糊的笑翠采纳,获得10
2分钟前
efig发布了新的文献求助10
2分钟前
秀丽的斓完成签到,获得积分10
2分钟前
2分钟前
FashionBoy的应助被孙朱珠采纳,获得30
2分钟前
2分钟前
正宗发布了新的文献求助10
2分钟前
nian发布了新的文献求助10
2分钟前
细心溪流完成签到 ,获得积分10
2分钟前
zhang完成签到,获得积分10
2分钟前
正宗完成签到,获得积分10
2分钟前
科研通AI6.2的应助被孙朱珠采纳,获得10
2分钟前
LZY完成签到,获得积分10
2分钟前
2分钟前
高高的仇血完成签到,获得积分10
2分钟前
周亚平发布了新的文献求助10
2分钟前
酷波er的应助被周亚平采纳,获得10
3分钟前
3分钟前
3分钟前
3分钟前
上善若水发布了新的文献求助10
3分钟前
3分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Rosenblum, Global Change Biology 800
Organizational Behavior 510
Management and the Arts 510
Geschichtliche Grundbegriffe (GGB), Band 5: Pro–Soz 300
Die Religion in Geschichte und Gegenwart (RGG), 4. Auflage, Band 7: R–S 300
Die Religion in Geschichte und Gegenwart (RGG), 4. Auflage, Band 1: A–B 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7792137
求助须知:如何正确求助?哪些是违规求助? 9329313
关于积分的说明 20427600
捐赠科研通 7381691
什么是DOI,文献DOI怎么找? 3323598
关于科研通互助平台的介绍 2471463
邀请新用户注册赠送积分活动 2340741