SwiftTron: An Efficient Hardware Accelerator for Quantized Transformers

计算机科学 变压器 计算机硬件 专用集成电路 计算 加法器 量化(信号处理) 嵌入式系统 CMOS芯片 计算机体系结构 电气工程 工程类 算法 电压
作者
Alberto Marchisio,Davide Dura,Maurizio Capra,Maurizio Martina,Guido Masera,Muhammad Shafique
标识
DOI:10.1109/ijcnn54540.2023.10191521
摘要

Transformers' compute- intensive operations pose enormous challenges for their deployment in resource- constrained EdgeAI / tiny ML devices. As an established neural network compression technique, quantization reduces the hardware computational and memory resources. In particular, fixed-point quantization is desirable to ease the computations using lightweight blocks, like adders and multipliers, of the underlying hardware. However, deploying fully-quantized Transformers on existing general-purpose hardware, generic AI accelerators, or specialized architectures for Transformers with floating-point units might be infeasible and/or inefficient. Towards this, we propose SwiftTron, an efficient specialized hardware accelerator designed for Quantized Transformers. SwiftTron supports the execution of different types of Transformers' operations (like Attention, Softmax, GELU, and Layer Normalization) and accounts for diverse scaling factors to perform correct computations. We synthesize the complete SwiftTron architecture in a 65 nm CMOS technology with the ASIC design flow. Our Accelerator executes the RoBERTa-base model in 1.83 ns, while consuming 33.64 mW power, and occupying an area of 273 mm 2 • To ease the reproducibility, the RTL of our SwiftTron architecture is released at https://github.com/albertomarchisio/SwiftTron.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
海蓝云天发布了新的文献求助30
1秒前
xuli完成签到,获得积分10
1秒前
ljq发布了新的文献求助10
2秒前
兰晋彤完成签到,获得积分10
2秒前
3秒前
Brave发布了新的文献求助10
3秒前
开朗阁发布了新的文献求助10
4秒前
怕黑筝完成签到,获得积分10
4秒前
完美的电脑完成签到,获得积分10
5秒前
zhanglinfeng完成签到,获得积分10
5秒前
5秒前
兰晋彤发布了新的文献求助10
7秒前
阳光的梦柏完成签到,获得积分10
8秒前
Japrin完成签到,获得积分10
9秒前
科目三应助杨小洋采纳,获得10
9秒前
丘比特应助居三胥采纳,获得20
10秒前
dd完成签到,获得积分10
10秒前
FashionBoy应助lzj采纳,获得10
12秒前
13秒前
Akim应助甜甜的悲采纳,获得10
13秒前
bbihk完成签到,获得积分10
14秒前
打打应助猪猪侠采纳,获得10
15秒前
脑洞疼应助Babyblue采纳,获得10
15秒前
Orange应助兰晋彤采纳,获得10
16秒前
完美世界应助李宝莲采纳,获得10
17秒前
修语发布了新的文献求助10
17秒前
wjx发布了新的文献求助10
17秒前
Akim应助科研通管家采纳,获得10
18秒前
呵呵应助科研通管家采纳,获得30
18秒前
科研通AI2S应助科研通管家采纳,获得10
18秒前
18秒前
脑洞疼应助科研通管家采纳,获得10
18秒前
科研通AI63应助科研通管家采纳,获得10
18秒前
molihuakai应助科研通管家采纳,获得10
18秒前
田様应助科研通管家采纳,获得10
18秒前
18秒前
18秒前
共享精神应助科研通管家采纳,获得10
18秒前
酷波er应助科研通管家采纳,获得10
19秒前
Kao应助科研通管家采纳,获得20
19秒前
高分求助中
Cronologia da história de Macau 5000
Merrill's Atlas of Radiographic Positioning and Procedures - 3-Volume Set, 16th Edition 2000
Interactions of Vowel Quality and Prosody in East Slavic 500
Vander's Renal Physiology第10版 500
CLSI M27M44S Performance Standards for Antifungal Susceptibility Testing of Yeasts Fourth Edition 400
Python for Chemists 400
Analytical Separation Science 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7110212
求助须知:如何正确求助?哪些是违规求助? 8763979
关于积分的说明 18533881
捐赠科研通 6677237
什么是DOI,文献DOI怎么找? 3143583
关于科研通互助平台的介绍 2258685
邀请新用户注册赠送积分活动 2118551