The Feasibility of Implementing Large-Scale Transformers on Multi-FPGA Platforms

现场可编程门阵列 变压器 嵌入式系统 计算机科学 比例(比率) 可靠性工程 电气工程 工程类 电压 地理 地图学
作者
Yu Gao,Juan Camilo Vega,Paul Chow
出处
期刊:Cornell University - arXiv
标识
DOI:10.48550/arxiv.2404.16158
摘要

FPGAs are rarely mentioned when discussing the implementation of large machine learning applications, such as Large Language Models (LLMs), in the data center. There has been much evidence showing that single FPGAs can be competitive with GPUs in performance for some computations, especially for low latency, and often much more efficient when power is considered. This suggests that there is merit to exploring the use of multiple FPGAs for large machine learning applications. The challenge with using multiple FPGAs is that there is no commonly-accepted flow for developing and deploying multi-FPGA applications, i.e., there are no tools to describe a large application, map it to multiple FPGAs and then deploy the application on a multi-FPGA platform. In this paper, we explore the feasibility of implementing large transformers using multiple FPGAs by developing a scalable multi-FPGA platform and some tools to map large applications to the platform. We validate our approach by designing an efficient multi-FPGA version of the I-BERT transformer and implement one encoder using six FPGAs as a working proof-of-concept to show that our platform and tools work. Based on our proof-of-concept prototype and the estimations of performance using the latest FPGAs compared to GPUs, we conclude that there can be a place for FPGAs in the world of large machine learning applications. We demonstrate a promising first step that shows that with the right infrastructure and tools it is reasonable to continue to explore the possible benefits of using FPGAs for applications such as LLMs.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
科研通AI6.4应助HY采纳,获得10
1秒前
王小西完成签到,获得积分10
2秒前
2秒前
DYL发布了新的文献求助10
3秒前
现代冰淇淋完成签到,获得积分10
3秒前
镜中人完成签到,获得积分10
3秒前
3秒前
李白应助wjddhr采纳,获得10
3秒前
xffff发布了新的文献求助10
3秒前
業業完成签到,获得积分10
3秒前
轩轩发布了新的文献求助10
4秒前
4秒前
科研通AI6.1应助风趣的胜采纳,获得10
4秒前
4秒前
虚幻凡柔发布了新的文献求助10
5秒前
6秒前
田様应助熊风采纳,获得10
6秒前
无极微光应助狼魂采纳,获得20
7秒前
MZ996发布了新的文献求助10
7秒前
xinyi完成签到,获得积分10
8秒前
8秒前
8秒前
张张发布了新的文献求助30
8秒前
9秒前
沐沐完成签到,获得积分10
9秒前
ajing完成签到,获得积分10
9秒前
10秒前
oucedv发布了新的文献求助10
11秒前
asuna完成签到,获得积分10
11秒前
11秒前
长孙曼香完成签到,获得积分10
12秒前
虚幻凡柔完成签到,获得积分20
13秒前
MonsterChen发布了新的文献求助10
13秒前
SciGPT应助wang采纳,获得10
13秒前
13秒前
14秒前
划水的鱼完成签到 ,获得积分10
14秒前
柴一发布了新的文献求助10
14秒前
14秒前
Jasper应助怕黑沛山采纳,获得10
14秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Real Analysis: Theory of Measure and Integration (3rd Edition) Epub版 1200
AnnualResearch andConsultation Report of Panorama survey and Investment strategy onChinaIndustry 1000
卤化钙钛矿人工突触的研究 1000
Engineering for calcareous sediments : proceedings of the International Conference on Calcareous Sediments, Perth 15-18 March 1988 / edited by R.J. Jewell, D.C. Andrews 1000
Continuing Syntax 1000
Signals, Systems, and Signal Processing 610
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6260189
求助须知:如何正确求助?哪些是违规求助? 8082235
关于积分的说明 16887347
捐赠科研通 5331812
什么是DOI,文献DOI怎么找? 2838230
邀请新用户注册赠送积分活动 1815587
关于科研通互助平台的介绍 1669459