arrow
返回

Allspark: Workload Orchestration for Visual Transformers on Processing In-Memory Systems

delete2025-02-01
delete0
PRE
AI
M
Mengke Ge
J
Junpeng Wang
B
Binhan Chen
Y
Yingjian Zhong
H
Haitao Du
陈松 封面图
陈松 (Song Chen)
Y
Yi Kang *
DOI:10.1109/TC.2024.3483633delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
The advent of Transformers has revolutionized computer vision, offering a powerful alternative to convolutional neural networks (CNNs), especially with the local attention mechanism that excels at capturing local structures within the input and achieve state-of-the-art performance. Processing in-memory (PIM) architecture offers extensive parallelism, low data movement costs, and scalable memory bandwidth, making it a promising solution to accelerate Transformer with memory-intensive operations. However, the crucial issue lies in efficiently deploying an entire model onto resource-limited PIM system while parallelizing each transformer block with potentially many computational branches based on local-attention mechanisms. We present Allspark, which focuses on workload orchestration for visual Transformers on PIM systems, aiming at minimizing inference latency. Firstly, to fully utilize the massive parallelism of PIM, Allspark employs a fine-grained partitioning scheme for computational branches, and formats a systematic layout and interleaved dataflow with maximized data locality and reduced data movement. Secondly, Allspark formulates the scheduling of the complete model on a resource-limited distributed PIM system as an integer linear programming (ILP) problem. Thirdly, as local-global data interactions exhibit complex yet regular dependencies, Allspark provides a two-stage placement method, which simplifies the challenging placement of computational branches on the PIM system into the structured layout and greedy-based binding, to minimize NoC communication costs. Extensive experiments on 3D-stacked DRAM-based PIM systems show that Allspark brings $1.2\times$1.2x $\sim$similar to $24.0\times$24.0x inference speedup for various visual Transformers over baselines. Compared to Nvidia V100 GPU, Allspark-enriched PIM system yields average speedups of $2.3\times$2.3x and energy savings of $20\times$20x $\sim$similar to $55\times$55x.
Keyword:
Transformers
Visualization
Parallel processing
Computer architecture
Computational modeling
Bandwidth
Costs
Memory management
Layout
System-on-chip
Processing in-memory
scheduling
visual transformer
spatial architecture
model parallelism

期刊

IEEE Transactions on Computers 封面图
IEEE Transactions on Computers
IF:
3.8
论文数:
5.4K
被引数:
9.8K

机构

U
university of science & technology of china, cas
学者数:
3.2W
论文数: 2.7W
被引数: 74
A
anhui university
学者数:
1.9W
论文数: 1.2W
被引数: 24
C
chinese academy of sciences
学者数:
56.7W
论文数: 45.0W
被引数: 704
学者 查看更多机构
引用论文

引用论文

err分享
err收藏
BusMap: Application Mapping With Bus Routing for Coarse-Grained Reconfigurable Array
err2023-08-01
err0
PREAI
errNi, Xiaobing; Ge, Mengke; Tao, Yongjin; Sun, Wendi; Duan, Feixiang; Bai, Xuefei; Xu, Qi; Chen, Song; Kang, Yi
err分享
err收藏
Evolution of the COPD Assessment Test Score during Chronic Obstructive Pulmonary Disease Exacerbations: Determinants and Prognostic Value
err2013-01-01
err0
errOAAI
errDarwin Feliz-Rodriguez; Santiago Zudaire; Carlos Carpio; Elizabet Martínez; Antonia Gómez-Mendieta; Ana Santiago; Rodolfo Alvarez-Sala; Francisco García-Río
err分享
err收藏
Morphology of the Meniscotemporal Part of the Temporomandibular Joint and Its Biomechanical Implications
err2008-07-15
err0
PREAI
errA. Bermejo-Fenoll; A. Puchades-Orts; Sanchez del Campo; A. Panchon-Ruiz; M. Herrera-Lara
err分享
err收藏
Cellular prion protein regulates intracellular hydrogen peroxide level and prevents copper-induced apoptosis
err2004-10-01
err0
PREAI
errTakuya Nishimura; Akikazu Sakudo; Izuru Nakamura; Deug-chan Lee; Yojiro Taniuchi; Keiichi Saeki; Yoshitsugu Matsumoto; Masaharu Ogawa; Suehiro Sakaguchi; Shigeyoshi Itohara; Takashi Onodera
err分享
err收藏
Excitonic enhancement of the Fermi-edge singularity in a dense two-dimensional electron gas
err1992-04-15
err0
PREAI
errW. Chen; M. Fritze; W. Walecki; A. V. Nurmikko; D. Ackley; J. M. Hong; L. L. Chang
err分享
err收藏
An Overview of Efficient Interconnection Networks for Deep Neural Network Accelerators
err2020-09-01
err59
errOAAI
errNabavinejad, Seyed Morteza; Baharloo, Mohammad; Chen, Kun-Chih; Palesi, Maurizio; Kogel, Tim; Ebrahimi, Masoumeh
err分享
err收藏
学者 查看更多内容