跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 硬件体系结构

arXiv:2306.06000 (cs)
[提交于 2023年6月12日]

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

作者:Yunho Jin, Chun-Feng Wu, David Brooks, Gu-Yeon Wei
查看论文《S$^{3}$: Increasing GPU Utilization during Generative Inference for Higher Throughput》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要: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$\times$ throughput over those systems that assume the worst case for the output sequence length.
主题: 硬件体系结构 (cs.AR); 人工智能 (cs.AI)
引用方式: arXiv:2306.06000 [cs.AR]
  (或者 arXiv:2306.06000v1 [cs.AR] 对于此版本)
  https://doi.org/10.48550/arXiv.2306.06000

提交历史

来自:Yunho Jin
[v1] 2023年6月12日 星期一 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.AR
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-06
切换浏览方式为:
cs
cs.AI

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站