AQUA:面向纵向扩展GPU域中大语言模型的网络加速内存卸载
AQUA: Network-Accelerated Memory Offloading for LLMs in Scale-Up GPU Domains
AI总结:
针对云托管LLM推理时GPU显存不足、请求突发下响应性差且页交换开销高的问题,提出GPU显存管理框架Aqua,通过网络加速内存卸载降低页交换开销,实验验证其响应性和吞吐量较现有方案分别提升20倍和4倍。
摘要:
大语言模型(LLM)的推理受限于GPU显存容量。云托管LLM的推理请求数量突发增长会耗尽GPU显存,导致多个提示词(prompt)争抢有限资源。现代LLM服务引擎采用准入控制应对GPU显存不足的挑战,这会使其在请求突发期间无响应。我们提出,按时间片抢占式调度提示词对保障LLM推理的响应性至关重要,尤其是在高负载、GPU显存有限的条件下。然而,抢占提示词推理会带来高昂的页交换开销,降低推理吞吐量。我们提出Aqua——一种GPU显存管理框架,可显著降低推理状态的页交换开销,即使在突发请求模式下也能实现兼具响应性与高吞吐量的推理。我们在配备8块Nvidia H100 80G GPU的服务器上托管多个不同模态的前沿生成式大机器学习模型,以此评估Aqua的性能。与现有最优方案相比,Aqua将LLM推理的响应性提升了20倍;针对单个长提示词的LLM推理吞吐量提升了4倍。
英文摘要:
Inference on large-language models (LLMs) is constrained by GPU memory capacity. A sudden increase in the number of inference requests to a cloud-hosted LLM can deplete GPU memory, leading to contention between multiple prompts for limited resources. Modern LLM serving engines deal with the challenge of limited GPU memory using admission control, which causes them to be unresponsive during request bursts. We propose that preemptive scheduling of prompts in time slices is essential for ensuring responsive LLM inference, especially under conditions of high load and limited GPU memory. However, preempting prompt inference incurs a high paging overhead, which reduces inference throughput. We present Aqua, a GPU memory management framework that significantly reduces the overhead of paging inference state, achieving both responsive and high-throughput inference even under bursty request patterns. We evaluate Aqua by hosting several state-of-the-art large generative ML models of different modalities on servers with 8 Nvidia H100 80G GPUs. Aqua improves the responsiveness of LLM inference by 20X compared to the state-of-the-art and improves LLM inference throughput over a single long prompt by 4X.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。