arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.00215cs.LG
收藏

表征并高效加速多模态生成模型推理

Characterizing and Efficiently Accelerating Multimodal Generation Model Inference

Meta
Yejin Lee, Anna Sun, Basil Hosmer, Bilge Acun, Can Balioglu, Changhan Wang, Charles David Hernandez, Christian Puhrsch, Daniel Haziza, Driss Guessous, Francisco… 展开作者

Yejin Lee, Anna Sun, Basil Hosmer, Bilge Acun, Can Balioglu, Changhan Wang, Charles David Hernandez, Christian Puhrsch, Daniel Haziza, Driss Guessous, Francisco Massa, Jacob Kahn, Jeffrey Wan, Jeremy Reizenstein, Jiaqi Zhai, Joe Isaacson, Joel Schlosser, Juan Pino, Kaushik Ram Sadagopan, Leonid Shamis, Linjian Ma, Min-Jae Hwang, Mingda Chen, Mostafa Elhoushi, Pedro Rodriguez, Ram Pasunuru, Scott Yih, Sravya Popuri, Xing Liu, Carole-Jean Wu

AI总结:

本文通过在真实系统上表征新兴多模态生成模型,识别自回归生成、注意力和线性运算等推理瓶颈,并证明跨应用、系统软件与硬件的优化可实现 3.88 倍基线提升。

摘要:

生成式人工智能(AI)技术正在彻底变革计算行业。其应用不仅已扩展到各个行业部门,也带来了新的系统设计与优化机遇。该技术能够理解并以多种模态作出响应。然而,这种先进能力目前伴随着巨大的系统资源需求。为了将生成式 AI 能力可持续地扩展到全球数十亿用户,推理必须快速且高效。本文通过在真实系统上表征一系列新兴的多模态生成模型,精准确定了关键的系统设计与优化机遇。自回归 token 生成是关键的延迟性能瓶颈,通常主要由 GPU 空闲时间主导。除了各类生成式 AI 模型中内存密集型的注意力机制外,由于基于 Transformer 的模型中的前馈网络,线性运算也构成显著的推理延迟。我们证明,从应用到系统软件和硬件的最先进优化手段,可建立一个提升 3.88 倍的基线。

英文摘要:

Generative artificial intelligence (AI) technology is revolutionizing the computing industry. Not only its applications have broadened to various sectors but also poses new system design and optimization opportunities. The technology is capable of understanding and responding in multiple modalities. However, the advanced capability currently comes with significant system resource demands. To sustainably scale generative AI capabilities to billions of users in the world, inference must be fast and efficient. This paper pinpoints key system design and optimization opportunities by characterizing a family of emerging multi-modal generation models on real systems. Auto-regressive token generation is a critical latency performance bottleneck, typically dominated by GPU idle time. In addition to memory-intensive attention across the generative AI models, linear operations constitute significant inference latency due to the feed forward networks in Transformer-based models. We demonstrate that state-of-the-art optimization levers, spanning from applications to system software and hardware, set a 3.88x better baseline.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑