Accommodating Transformer onto FPGA

现场可编程门阵列 计算机科学 加速 内存占用 变压器 计算 硬件加速 门阵列 计算机硬件 嵌入式系统 并行计算 计算机工程 计算机体系结构 算法 工程类 电气工程 电压 操作系统
作者
Panjie Qi,Yuhong Song,Hongwu Peng,Shao-Yi Huang,Qingfeng Zhuge,Edwin H.-M. Sha
标识
DOI:10.1145/3453688.3461739
摘要

Recently, Transformers gradually gain popularity and perform outstanding for many Natural Language Processing (NLP) tasks. However, Transformers suffer from heavy computation and memory footprint, making it difficult to deploy on embedded devices. The field-programmable gate array (FPGA) is widely used to accelerate deep learning algorithms for its advantages. However, the trained Transformer models are too large to accommodate to an FPGA fabric. To accommodate Transformer onto FPGA and achieve efficient execution, we propose an acceleration framework coupling the balanced model compression at the algorithm level and FPGA-implementation optimization at the hardware level. At algorithm level, we adopt a block-balanced pruning and propose an efficient sparse matrix storage format for this pruning technique, named Compressed Block Row (CBR). At the hardware level, we design an accelerator for sparse model. And we also abstract a performance analytic model to evaluate the performance of accelerator. Experiments show that our CBR format perform better than general formats and can significantly save storage space. And our accelerator can achieve $38\times$ and $1.93\times$ speedup compared to other works on CPU and GPU respectively.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
无情的访风完成签到,获得积分10
1秒前
墨染完成签到,获得积分10
1秒前
O基米德完成签到 ,获得积分10
2秒前
2秒前
ChaseY完成签到 ,获得积分10
2秒前
orixero的应助被苗惜霜采纳,获得10
2秒前
liangliang完成签到,获得积分10
2秒前
3秒前
1618完成签到 ,获得积分10
3秒前
luxx完成签到,获得积分10
4秒前
鱼羊完成签到,获得积分10
4秒前
fantasy的应助被高贵土豆采纳,获得10
5秒前
无花果的应助被Believer采纳,获得10
5秒前
zoey发布了新的文献求助10
5秒前
STAR完成签到 ,获得积分10
5秒前
雷家完成签到,获得积分10
5秒前
FightingW完成签到,获得积分10
6秒前
6秒前
pp完成签到,获得积分10
6秒前
7秒前
Ppao7ii完成签到,获得积分10
7秒前
洋洋洋完成签到 ,获得积分10
8秒前
9秒前
CarryLJR发布了新的文献求助10
9秒前
尝原完成签到,获得积分10
9秒前
小蘑菇的应助被plj采纳,获得10
9秒前
maoning完成签到,获得积分10
9秒前
端庄幻桃发布了新的文献求助10
10秒前
10秒前
jyxm发布了新的文献求助10
10秒前
su完成签到 ,获得积分10
11秒前
11秒前
11秒前
12秒前
梅西完成签到,获得积分10
13秒前
13秒前
13秒前
曹梓聪发布了新的文献求助10
13秒前
mlg1552003发布了新的文献求助10
13秒前
刘晨发布了新的文献求助10
14秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 1700
奈特基础组织学:配套组织病理学(第4版)(Netter's Essential Histology With Correlated Histopathology) 800
John McDowells Bildungstheorie 800
八旗制度の研究 600
plantTFDB 508
Resource Recovery Handbook 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8175534
求助须知:如何正确求助?哪些是违规求助? 9567220
关于积分的说明 21791292
捐赠科研通 7770111
什么是DOI,文献DOI怎么找? 3431868
关于科研通互助平台的介绍 2556244
邀请新用户注册赠送积分活动 2477299