arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2205.03998cs.ARcs.CVcs.LGeess.IV
收藏

用于视觉Transformer的逐行加速器

Row-wise Accelerator for Vision Transformer

National Yang Ming Chiao Tung University(阳明交通大学);Institute of Electronics, National Yang Ming Chiao Tung University(阳明交通大学电子研究所)

Hong-Yi Wang, Tian-Sheuan Chang

摘要:

随着自然语言处理的成功,用于视觉应用的Transformer由于其优异的性能近年来引起了人们的极大关注。然而,现有的用于视觉的深度学习硬件加速器由于显著的模型架构差异而不能有效地执行该结构。因此,本文提出了一种基于行式调度的视觉Transformer硬件加速器,将视觉Transformer中的主要操作分解为单个点积原语,以实现统一高效的执行。此外,通过共享列中的权重,我们可以重用数据并减少内存的使用。采用台积电40nm CMOS工艺实现,在600MHz时钟频率下,仅需262K门数和149KB SRAM缓冲器即可实现403.2 GOPS吞吐量。

英文摘要:

Following the success of the natural language processing, the transformer for vision applications has attracted significant attention in recent years due to its excellent performance. However, existing deep learning hardware accelerators for vision cannot execute this structure efficiently due to significant model architecture differences. As a result, this paper proposes the hardware accelerator for vision transformers with row-wise scheduling, which decomposes major operations in vision transformers as a single dot product primitive for a unified and efficient execution. Furthermore, by sharing weights in columns, we can reuse the data and reduce the usage of memory. The implementation with TSMC 40nm CMOS technology only requires 262K gate count and 149KB SRAM buffer for 403.2 GOPS throughput at 600MHz clock frequency.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑