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

Bifrost:可重构DNN加速器的端到端评估与优化

Bifrost: End-to-End Evaluation and Optimization of Reconfigurable DNN Accelerators

University of Glasgow(格拉斯哥大学)

Axel Stjerngren, Perry Gibson, José Cano

摘要:

深度神经网络(DNN)的可重构加速器有望改善推理延迟等性能。STONNE是第一个可重构DNN推理加速器的周期精确模拟器,允许探索加速器设计和配置空间。然而,在STONNE中准备用于评估的模型和探索配置空间是一个手动的开发时间消耗过程,这是研究的障碍。本文介绍了Bifrost,这是一个用于评估和优化可重构DNN推理加速器的端到端框架。Bifrost作为STONNE的前端运行,并利用TVM深度学习编译器堆栈来解析模型并自动卸载加速计算。我们讨论了Bifrost的优势,石头和其他工具,并评估使用Bifrost的MAERI和SIGMA架构。此外,Bifrost还引入了一个利用AutoTVM的模块,可以有效地探索加速器设计和低映射空间,以优化性能。通过调整MAERI架构并为AlexNet生成高效的低层映射,获得卷积层的平均加速比$50\times$和全连接层的平均加速比$11\times$来证明这一点。我们的代码可在www.github.com/gicLAB/bifrost上获得。

英文摘要:

Reconfigurable accelerators for deep neural networks (DNNs) promise to improve performance such as inference latency. STONNE is the first cycle-accurate simulator for reconfigurable DNN inference accelerators which allows for the exploration of accelerator designs and configuration space. However, preparing models for evaluation and exploring configuration space in STONNE is a manual developer-timeconsuming process, which is a barrier for research. This paper introduces Bifrost, an end-to-end framework for the evaluation and optimization of reconfigurable DNN inference accelerators. Bifrost operates as a frontend for STONNE and leverages the TVM deep learning compiler stack to parse models and automate offloading of accelerated computations. We discuss Bifrost's advantages over STONNE and other tools, and evaluate the MAERI and SIGMA architectures using Bifrost. Additionally, Bifrost introduces a module leveraging AutoTVM to efficiently explore accelerator designs and dataflow mapping space to optimize performance. This is demonstrated by tuning the MAERI architecture and generating efficient dataflow mappings for AlexNet, obtaining an average speedup of $50\times$ for the convolutional layers and $11\times$ for the fully connected layers. Our code is available at www.github.com/gicLAB/bifrost.

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

↑