Transformer neural networks (TNNs) are being applied across a widening range of application domains, including natural language processing (NLP), machine translation, and computer vision (CV). Their popularity is largely attributed to the exceptional performance of their multi-head self-attention blocks when analyzing sequential data and extracting features. To date, there are limited hardware accelerators tailored for this mechanism, which is the first step before designing an accelerator for a complete model. This paper proposes \textit{FAMOUS}, a flexible hardware accelerator for dense multi-head attention (MHA) computation of TNNs on field-programmable gate arrays (FPGAs). It is optimized for high utilization of processing elements and on-chip memories to improve parallelism and reduce latency. An efficient tiling of large matrices has been employed to distribute memory and computing resources across different modules on various FPGA platforms. The design is evaluated on Xilinx Alveo U55C and U200 data center cards containing Ultrascale+ FPGAs. Experimental results are presented that show that it can attain a maximum throughput, number of parallel attention heads, embedding dimension and tile size of 328 (giga operations/second (GOPS)), 8, 768 and 64 respectively on the U55C. Furthermore, it is 3.28$\times$ and 2.6$\times$ faster than the Intel Xeon Gold 5220R CPU and NVIDIA V100 GPU respectively. It is also 1.3$\times$ faster than the fastest state-of-the-art FPGA-based accelerator.
Hummingbird: A Smaller and Faster Large Language Model Accelerator on Embedded FPGA
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Center for Long-term Artificial Intelligence(长期人工智能中心);Beijing Institute of AI Safety and Governance(北京人工智能安全与治理研究院);Vrije Universiteit Brussel(布鲁塞尔自由大学);School of Future Technology(未来技术学院);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Key Laboratory of Brain Cognition and Brain-inspired Intelligence Technology, Chinese Academy of Sciences(中国科学院脑认知与脑智能技术重点实验室)
Optimizing Temporal Convolutional Network inference on FPGA-based accelerators
卷积神经网络广泛应用于各种应用中,通常包括图像和视频分类、识别和分割等计算机视觉任务。最近的研究结果表明,涉及一维卷积和膨胀的多层(深度)网络可以有效地用于时间序列和序列分类和分割,以及涉及序列建模的任务。这些结构通常被称为时间卷积网络(TCN),已被证明在准确性和训练时间方面始终优于递归神经网络[1]。虽然基于FPGA的经典CNN推理加速器很普遍,但文献缺乏对TCN模型推理可用性的定量评估。在本文中,我们提出了这样的评估,考虑到CNN加速器的特定功能,支持TCN内核作为参考和一组最先进的TCN作为基准。实验结果表明,在TCN执行过程中,操作强度对整体性能至关重要。我们提出了一种基于批处理的卷积调度,可以将效率提高到理论峰值性能的96%。总体而言,我们可以在Ultrascale+ ZU 3EG上实现高达111.8 GOPS/s和33.9 GOPS/s/W的功率效率(相对于纯软件实现,加速高达10倍,功率效率提高3倍)。
Heterogeneous SoC Integrating an Open-Source Recurrent SNN Accelerator for Neuromorphic Edge Computing on FPGA
Department of Computer and Control Engineering(计算机与控制工程系);Politecnico di Torino(托尼诺理工大学);Interuniversity Department of Regional and Urban Studies and Planning(区域与城市研究和规划联合大学部门)
GeneTEK: Low-power, high-performance and scalable FPGA architecture for exact unit-cost edit distance
Industrial Electronics Center (CEI), UPM(工业电子中心(CEI),马德里理工大学);Dept. of Computer Architecture, University of Malaga(马拉加大学计算机架构系);Supercomputing and Bioinnovation Center (SCBI), University of Malaga(马拉加大学超级计算与生物创新中心(SCBI));EcoCloud, École Polytechnique Fédérale de Lausanne (EPFL)(生态云,洛桑联邦理工学院(EPFL));Embedded Systems Laboratory, École Polytechnique Fédérale de Lausanne (EPFL)(嵌入式系统实验室,洛桑联邦理工学院(EPFL))