arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.13654cs.DCcs.LGcs.PF
收藏

使用空间加速器高效地服务循环神经网络

Serving Recurrent Neural Networks Efficiently with a Spatial Accelerator

Stanford University(斯坦福大学)

Tian Zhao, Yaqi Zhang, Kunle Olukotun

摘要:

递归神经网络(RNN)应用程序构成了AI驱动的低延迟数据中心工作负载的主要类别。大多数RNN加速的执行模型将计算图分解为BLAS内核,这导致了显着的内核间数据移动和资源利用不足。我们表明,通过支持更一般的循环结构,捕获加速器中的设计参数,它可以提高资源利用率,使用跨内核优化,而不牺牲可编程性。这样的抽象级别使得能够进行设计空间搜索,该设计空间搜索可以导致跨问题大小的范围的空间架构上的片上资源的高效使用。我们使用可配置的空间加速器使用DeepBench评估我们在这种抽象上的优化策略。我们证明,这种实现提供了30倍的性能,1.6倍的面积和2倍的功率效率相比,特斯拉V100 GPU的几何加速比,和2倍的几何加速比微软脑波实现Stratix 10 FPGA。

英文摘要:

Recurrent Neural Network (RNN) applications form a major class of AI-powered, low-latency data center workloads. Most execution models for RNN acceleration break computation graphs into BLAS kernels, which lead to significant inter-kernel data movement and resource underutilization. We show that by supporting more general loop constructs that capture design parameters in accelerators, it is possible to improve resource utilization using cross-kernel optimization without sacrificing programmability. Such abstraction level enables a design space search that can lead to efficient usage of on-chip resources on a spatial architecture across a range of problem sizes. We evaluate our optimization strategy on such abstraction with DeepBench using a configurable spatial accelerator. We demonstrate that this implementation provides a geometric speedup of 30x in performance, 1.6x in area, and 2x in power efficiency compared to a Tesla V100 GPU, and a geometric speedup of 2x compared to Microsoft Brainwave implementation on a Stratix 10 FPGA.

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

↑