TRAC: Compilation-Based Design of Transformer Accelerators for FPGAs

计算机科学 编译程序 现场可编程门阵列 计算机体系结构 嵌入式系统 变压器 代码生成 程序设计语言 操作系统 电压 钥匙(锁) 量子力学 物理
作者
Patrick Plagwitz,Frank Hannig,Jürgen Teich
标识
DOI:10.1109/fpl57034.2022.00015
摘要

Transformer-type Neural Networks (NNs) have shown impressive accuracy numbers in Natural Language Processing (NLP) applications where Recurrent Neural Networks (RNNs) have been in use before, even surpassing them. However, differing considerably from common types of NNs, existing accelerator designs, particularly for Field-Programmable Gate Arrays (FPGAs), cannot be used to implement them. Previous research has shown FPGAs to be platforms superior to CPUs and even GPUs for accelerating NNs when it comes to energy efficiency. Following the development of automated compiler-based design flows for NNs, there is still a lack of such an approach for transformers and FPGA targets. In this realm, this paper presents a novel compiler called TRAC as well as a library of operators and modules for implementing transformer accelerators on FPGAs. Based on optimization and code generation settings in the compiler using an integrated approach combining weight compression techniques with according adaptations of the accelerator modules, a design space of accelerators is defined and explored. For each design, a system-level data path and control unit architecture is generated, which integrates module-level designs using hierarchical High-Level Synthesis (HLS). We evaluate our implementation for the BERT network and provide results regarding the trade-off between execution time, accuracy, and FPGA resource usage.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
大幅提高文件上传限制,最高150M (2024-4-1)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
桐桐应助义气的哑铃采纳,获得10
刚刚
less12323发布了新的文献求助10
1秒前
柯一一应助科研通管家采纳,获得10
1秒前
大个应助科研通管家采纳,获得10
1秒前
longyuyan应助科研通管家采纳,获得10
1秒前
江涛应助科研通管家采纳,获得10
1秒前
李健应助科研通管家采纳,获得30
1秒前
江涛应助科研通管家采纳,获得10
1秒前
孔筠淅完成签到,获得积分20
1秒前
2秒前
eeee发布了新的文献求助10
3秒前
4秒前
万能图书馆应助李老头采纳,获得10
4秒前
4秒前
4秒前
Benny发布了新的文献求助10
4秒前
言午完成签到 ,获得积分10
5秒前
所所应助yk123采纳,获得10
6秒前
无敌大牛完成签到,获得积分10
6秒前
祁问儿发布了新的文献求助10
7秒前
迟迟完成签到 ,获得积分10
7秒前
Hello应助英俊的胜采纳,获得10
7秒前
莫断气发布了新的文献求助10
8秒前
9秒前
qwer12发布了新的文献求助10
10秒前
Benny完成签到,获得积分20
10秒前
Zoeyz完成签到,获得积分10
10秒前
斯文败类应助专注丸子采纳,获得10
10秒前
马大大大米完成签到,获得积分10
11秒前
11秒前
12秒前
12秒前
宜醉宜游宜睡应助hfhkjh采纳,获得10
12秒前
13秒前
13秒前
Bella发布了新的文献求助10
15秒前
曾无忧发布了新的文献求助10
16秒前
16秒前
酷酷灵槐完成签到 ,获得积分10
16秒前
无敌大牛发布了新的文献求助10
17秒前
高分求助中
【本贴是提醒信息,请勿应助】请在求助之前详细阅读求助说明!!!! 20000
One Man Talking: Selected Essays of Shao Xunmei, 1929–1939 1000
The Three Stars Each: The Astrolabes and Related Texts 900
Yuwu Song, Biographical Dictionary of the People's Republic of China 800
Multifunctional Agriculture, A New Paradigm for European Agriculture and Rural Development 600
Challenges, Strategies, and Resiliency in Disaster and Risk Management 500
Bernd Ziesemer - Maos deutscher Topagent: Wie China die Bundesrepublik eroberte 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 有机化学 工程类 生物化学 纳米技术 物理 内科学 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 电极 光电子学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 2480688
求助须知:如何正确求助?哪些是违规求助? 2143354
关于积分的说明 5465802
捐赠科研通 1865982
什么是DOI,文献DOI怎么找? 927525
版权声明 562957
科研通“疑难数据库(出版商)”最低求助积分说明 496218