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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
1秒前
1秒前
微信研友发布了新的文献求助10
1秒前
2秒前
单纯函发布了新的文献求助10
2秒前
牛马完成签到 ,获得积分10
3秒前
顺利盼望发布了新的文献求助10
3秒前
3秒前
4秒前
牛波一完成签到,获得积分10
4秒前
4秒前
小二郎应助机智寒云采纳,获得10
4秒前
酷波er应助潇洒的凝梦采纳,获得30
5秒前
5秒前
bpi完成签到,获得积分10
5秒前
Hello应助天天向上采纳,获得10
5秒前
传奇3应助角逐采纳,获得10
5秒前
森森发布了新的文献求助10
6秒前
qianfengming发布了新的文献求助10
6秒前
NaHe发布了新的文献求助30
6秒前
6秒前
张冰倩发布了新的文献求助30
7秒前
7秒前
7秒前
善良友安完成签到,获得积分10
8秒前
8秒前
旋影发布了新的文献求助10
9秒前
炙热的雨双完成签到,获得积分10
10秒前
Hello应助高贵振家采纳,获得10
10秒前
10秒前
jjdeng发布了新的文献求助10
11秒前
孤独的自中完成签到,获得积分10
12秒前
12秒前
12秒前
传奇3应助哈哈就是你哦采纳,获得10
12秒前
欢欢完成签到,获得积分10
13秒前
14秒前
ai幸完成签到,获得积分10
14秒前
15秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Cronologia da história de Macau 5000
Merrill's Atlas of Radiographic Positioning and Procedures - 3-Volume Set, 16th Edition 2000
Matrix Methods in Data Mining and Pattern Recognition 510
Interactions of Vowel Quality and Prosody in East Slavic 500
Vander's Renal Physiology第10版 500
Virus-like particles empower RNAi for effective control of a Coleopteran pest 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7074166
求助须知:如何正确求助?哪些是违规求助? 8734645
关于积分的说明 18484265
捐赠科研通 6610218
什么是DOI,文献DOI怎么找? 3129330
关于科研通互助平台的介绍 2227945
邀请新用户注册赠送积分活动 2104537