This work focuses on an efficient Agile design methodology for domain-specific accelerators. We employ feature-by-feature enhancement of a vertical development stack and apply it to the TVM/VTA inference accelerator. We have enhanced the VTA design space and enabled end-to-end support for additional workloads. This has been accomplished by augmenting the VTA micro-architecture and instruction set architecture (ISA), as well as by enhancing the TVM compilation stack to support a wide range of VTA configs.
The VTA tsim implementation (CHISEL-based) has been enhanced with fully pipelined versions of the ALU/GEMM execution units. In tsim, memory width can now range between 8-64 bytes. Field widths have been made more flexible to support larger scratchpads. New instructions have been added: element-wise 8-bit multiplication to support depthwise convolution, and load with a choice of pad values to support max pooling. Support for more layers and better double buffering has also been added.
Fully pipelining ALU/GEMM helps significantly: 4.9x fewer cycles with minimal area change to run ResNet-18 under the default config. Configs featuring a further 11.5x decrease in cycle count at a cost of 12x greater area can be instantiated. Many points on the area-performance pareto curve are shown, showcasing the balance of execution unit sizing, memory interface width, and scratchpad sizing. Finally, VTA is now able to run Mobilenet 1.0 and all layers for ResNets, including the previously disabled pooling and fully connected layers.
The TVM/VTA architecture has always featured end-to-end workload evaluation on RTL in minutes. With our modifications, it now offers a much greater number of feasible configurations with a wide range of cost vs. performance. All capabilities mentioned are available in opensource forks while a subset of these capabilities have already been upstreamed.
HYDRA: Hybrid Data Multiplexing and Run-time Layer Configurable DNN Accelerator
Centre for Advanced Electronics, IIT Indore(印度理工学院印多尔分校先进电子中心);Center for Development of Advanced Computing, Bengaluru(班加罗尔高级计算发展中心);NSDCS Research Group, Department of Electrical Engineering, IIT Indore(印度理工学院印多尔分校电气工程系NSDCS研究组)
Full-Stack Optimization for CAM-Only DNN Inference
Technische Universität Dresden(德累斯顿工业大学);Center for Scalable Data Analytics and Artificial Intelligence (ScaDS.AI)(可扩展数据分析与人工智能中心(ScaDS.AI));Federal University of Rio Grande do Sul(南里奥格兰德联邦大学)
DNN Training Acceleration via Exploring GPGPU Friendly Sparsity
Shanghai Jiao Tong University(上海交通大学)
深度神经网络~(DNN)的训练阶段消耗大量的处理时间和能量。利用DNN的稀疏性的压缩技术可以有效地加速DNN的推理阶段。然而,它几乎不用于训练阶段,因为训练阶段涉及使用图形处理器上的通用计算(GPGPU)的密集矩阵乘法,这支持规则和结构化的数据布局。本文首先提出了一种近似随机丢弃(Approximate Random Dropout)算法,该算法用规则的在线生成的基于行或基于块的丢弃模式代替传统的神经元和突触的随机丢弃,以消除多层感知器MLP和长短期记忆LSTM中不必要的计算和数据访问。然后,我们开发了一种基于SGD的搜索算法,该算法产生基于行或基于瓦片的丢弃模式的分布,以补偿潜在的准确性损失。此外,针对卷积神经网络CNN的训练加速问题,首先探讨了输入特征图的重要性和敏感性,然后提出了敏感性感知的丢弃方法,根据输入特征图的敏感性动态丢弃输入特征图,从而在保持较好的神经网络精度的同时,获得更大的前向和后向训练加速。为了便于DNN编程,我们构建了一个DNN训练计算框架,该框架将软件堆栈中的拟议技术统一起来。因此,GPGPU只需要支持基本运算符-矩阵乘法,并且无论DNN模型如何,都可以实现显着的性能提升。
CUTEv2: Unified and Configurable Matrix Extension for Diverse CPU Architectures with Minimal Design Overhead
State Key Lab of Processors, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所处理器国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学)