|国家预印本平台
首页|PIM Is All You Need: A CXL-Enabled GPU-Free System for Large Language Model Inference

PIM Is All You Need: A CXL-Enabled GPU-Free System for Large Language Model Inference

PIM Is All You Need: A CXL-Enabled GPU-Free System for Large Language Model Inference

来源:Arxiv_logoArxiv
英文摘要

Large Language Model (LLM) inference uses an autoregressive manner to generate one token at a time, which exhibits notably lower operational intensity compared to earlier Machine Learning (ML) models such as encoder-only transformers and Convolutional Neural Networks. At the same time, LLMs possess large parameter sizes and use key-value caches to store context information. Modern LLMs support context windows with up to 1 million tokens to generate versatile text, audio, and video content. A large key-value cache unique to each prompt requires a large memory capacity, limiting the inference batch size. Both low operational intensity and limited batch size necessitate a high memory bandwidth. However, contemporary hardware systems for ML model deployment, such as GPUs and TPUs, are primarily optimized for compute throughput. This mismatch challenges the efficient deployment of advanced LLMs and makes users pay for expensive compute resources that are poorly utilized for the memory-bound LLM inference tasks. We propose CENT, a CXL-ENabled GPU-Free sysTem for LLM inference, which harnesses CXL memory expansion capabilities to accommodate substantial LLM sizes, and utilizes near-bank processing units to deliver high memory bandwidth, eliminating the need for expensive GPUs. CENT exploits a scalable CXL network to support peer-to-peer and collective communication primitives across CXL devices. We implement various parallelism strategies to distribute LLMs across these devices. Compared to GPU baselines with maximum supported batch sizes and similar average power, CENT achieves 2.3$\times$ higher throughput and consumes 2.9$\times$ less energy. CENT enhances the Total Cost of Ownership (TCO), generating 5.2$\times$ more tokens per dollar than GPUs.

Xavier Servot、Alireza Khadem、Sumanth Umesh、Ning Liang、Onur Mutlu、Ravi Iyer、Reetuparna Das、Yufeng Gu

10.1145/3676641.3716267

计算技术、计算机技术

Xavier Servot,Alireza Khadem,Sumanth Umesh,Ning Liang,Onur Mutlu,Ravi Iyer,Reetuparna Das,Yufeng Gu.PIM Is All You Need: A CXL-Enabled GPU-Free System for Large Language Model Inference[EB/OL].(2025-02-11)[2025-07-16].https://arxiv.org/abs/2502.07578.点此复制

评论