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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
2秒前
adeno发布了新的文献求助10
3秒前
3秒前
酷波er应助动听的一凤采纳,获得10
3秒前
草莓气泡发布了新的文献求助10
4秒前
刘xiansheng发布了新的文献求助10
4秒前
cdercder应助1680Y采纳,获得10
4秒前
duang完成签到,获得积分10
4秒前
娃娃菜完成签到,获得积分10
4秒前
5秒前
GUU应助谢如帅采纳,获得20
5秒前
光亮绮山完成签到 ,获得积分10
5秒前
liduoduo发布了新的文献求助10
6秒前
6秒前
榛糕李发布了新的文献求助100
7秒前
bb完成签到,获得积分10
7秒前
董晨颖完成签到,获得积分10
7秒前
8秒前
渺121完成签到,获得积分10
8秒前
degre发布了新的文献求助10
8秒前
WengXiaoFei完成签到,获得积分10
9秒前
9秒前
斯文败类应助叮当麻麻采纳,获得10
9秒前
lionnnn完成签到 ,获得积分10
9秒前
fen发布了新的文献求助10
9秒前
9秒前
汉堡包应助刘xiansheng采纳,获得10
10秒前
10秒前
阿莫西林发布了新的文献求助10
10秒前
DD完成签到,获得积分10
11秒前
小巧的凉面完成签到,获得积分10
11秒前
Lucas应助孙朱珠采纳,获得10
12秒前
13秒前
degre完成签到,获得积分10
13秒前
13秒前
14秒前
核桃发布了新的文献求助10
14秒前
15秒前
陈远远完成签到,获得积分10
15秒前
15秒前
高分求助中
液晶指向矢仿真分析数据集 8888
GL 2 A method for assessing the in-place cleanability of food processing equipment, Fourth Edition, December 2023 3000
Invited Discussant 63O and 64O 1000
Ideology and Meaning-Making under the Putin Regime 750
Advanced Memory Technology 500
Petrology and Plate Tectonics 500
Writing Systems 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 计算机科学 化学工程 生物化学 物理 内科学 复合材料 催化作用 光电子学 物理化学 电极 细胞生物学 基因 遗传学
热门帖子
关注 科研通微信公众号,转发送积分 6861634
求助须知:如何正确求助?哪些是违规求助? 8565081
关于积分的说明 18213175
捐赠科研通 6228116
什么是DOI,文献DOI怎么找? 3047787
关于科研通互助平台的介绍 2048139
邀请新用户注册赠送积分活动 2025412