An LPDDR-based CXL-PNM Platform for TCO-efficient Inference of Transformer-based Large Language Models

推论 计算机科学 变压器 人工智能 电气工程 工程类 电压
作者
Sangsoo Park,Kyung-Soo Kim,Jinin So,Jin Chul Jung,Jong-Geon Lee,Kyoungwan Woo,Nayeon Kim,Younghyun Lee,Hyungyo Kim,Yongsuk Kwon,Jinhyun Kim,Jieun Lee,Yeongon Cho,Yong-Min Tai,Jeong‐Hyeon Cho,Hoyoung Song,Jung Ho Ahn,Nam Sung Kim
标识
DOI:10.1109/hpca57654.2024.00078
摘要

Transformer-based large language models (LLMs) such as Generative Pre-trained Transformer (GPT) have become popular due to their remarkable performance across diverse applications, including text generation and translation. For LLM training and inference, the GPU has been the predominant accelerator with its pervasive software development ecosystem and powerful computing capability. However, as the size of LLMs keeps increasing for higher performance and/or more complex applications, a single GPU cannot efficiently accelerate LLM training and inference due to its limited memory capacity, which demands frequent transfers of the model parameters needed by the GPU to compute the current layer(s) from the host CPU memory/storage. A GPU appliance may provide enough aggregated memory capacity with multiple GPUs, but it suffers from frequent transfers of intermediate values among GPU devices, each accelerating specific layers of a given LLM. As the frequent transfers of these model parameters and intermediate values are performed over relatively slow device-to-device interconnects such as PCIe or NVLink, they become the key bottleneck for efficient acceleration of LLMs. Focusing on accelerating LLM inference, which is essential for many commercial services, we develop CXL-PNM, a processing near memory (PNM) platform based on the emerging interconnect technology, Compute eXpress Link (CXL). Specifically, we first devise an LPDDR5X-based CXL memory architecture with 512GB of capacity and 1.1TB/s of bandwidth, which boasts 16× larger capacity and 10× higher bandwidth than GDDR6and DDR5-based CXL memory architectures, respectively, under a module form-factor constraint. Second, we design a CXLPNM controller architecture integrated with an LLM inference accelerator, exploiting the unique capabilities of such CXL memory to overcome the disadvantages of competing technologies such as HBM-PIM and AxDIMM. Lastly, we implement a CXLPNM software stack that supports seamless and transparent use of CXL-PNM for Python-based LLM programs. Our evaluation shows that a CXL-PNM appliance with 8 CXL-PNM devices offers 23% lower latency, 31% higher throughput, and 2.8× higher energy efficiency at 30% lower hardware cost than a GPU appliance with 8 GPU devices for an LLM inference service.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
去大脑僵直完成签到 ,获得积分10
1秒前
Criminology34举报pride的求助涉嫌违规
3秒前
疯狂的聋五完成签到,获得积分10
4秒前
4秒前
jiejie321发布了新的文献求助30
4秒前
yeahhh发布了新的文献求助10
4秒前
跳跃翅膀发布了新的文献求助10
5秒前
科研通AI6.2的应助被11采纳,获得10
5秒前
sunshine发布了新的文献求助10
6秒前
6秒前
学习完成签到,获得积分10
6秒前
Acrtic7完成签到,获得积分10
7秒前
7秒前
乐乐的应助被张伟采纳,获得10
9秒前
飘逸的思萱完成签到 ,获得积分10
9秒前
9秒前
AOL发布了新的文献求助10
10秒前
蓝色泡泡虾完成签到,获得积分10
10秒前
10秒前
Joe发布了新的文献求助10
11秒前
12秒前
英勇的新瑶完成签到,获得积分10
13秒前
chikaoyu完成签到,获得积分10
13秒前
玄xuan发布了新的文献求助10
15秒前
追梦人完成签到 ,获得积分10
15秒前
鹿鸣完成签到,获得积分10
15秒前
wanci的应助被酸菜鱼采纳,获得10
15秒前
16秒前
家的方向完成签到,获得积分10
16秒前
负责的绿柏完成签到,获得积分10
16秒前
16秒前
无花果的应助被细心以寒采纳,获得10
16秒前
17秒前
18秒前
风吹麦浪的应助被开心德地采纳,获得10
19秒前
科研通AI6.2的应助被开心德地采纳,获得10
19秒前
20秒前
20秒前
文静煜城发布了新的文献求助10
21秒前
长情白柏发布了新的文献求助10
21秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 1080
Encyclopedia of Modern Artificial Intelligence 1000
Особенности технологий и методов информационно-психологических войн СССР с Великобританией и США в период 1939-1953 гг 1000
Analyses de reconnaissances de dettes passées devant les échevins d'Ypres (1249-1291) 600
Cellulose and Cellulose Derivatives: Synthesis, Modification and Applications 600
Entre Praga y Madrid : los contactos checoslovaco-españoles (1948-1977) 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8146221
求助须知:如何正确求助?哪些是违规求助? 9544849
关于积分的说明 21666131
捐赠科研通 7732297
什么是DOI,文献DOI怎么找? 3422975
关于科研通互助平台的介绍 2548013
邀请新用户注册赠送积分活动 2465898