arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.02251cs.AR
收藏

领先:对硬件高效型AI部署的加速器进行基准测试和探索

Being-ahead: Benchmarking and Exploring Accelerators for Hardware-Efficient AI Deployment

Xiaofan Zhang, Hanchen Ye, Deming Chen

摘要:

已经开发了定制的硬件加速器,以提高DNN推理和训练的性能和效率。然而,现有的硬件加速器可能并不总是适合于处理各种DNN模型,因为它们的架构范例和配置权衡是高度特定于应用的。重要的是在最早阶段对加速器候选者进行基准测试,以收集全面的性能指标并定位潜在的瓶颈。在基准测试之后还出现了进一步的需求,这需要适当的解决方案来解决瓶颈并改进针对目标工作负载的当前设计。为了实现这些目标,在本文中,我们利用名为DNNExplorer的自动化工具来对定制的DNN硬件加速器进行基准测试,并探索具有更高性能和效率的新型加速器设计。主要功能包括(1)直接支持用于DNN工作负载分析的流行机器学习框架和用于快速加速器基准测试的准确分析模型;(2)具有高维设计空间支持和细粒度可调整性的新型加速器设计范例,以克服现有的设计缺陷;以及(3)设计空间探索(DSE)引擎,通过考虑目标AI工作负载和可用硬件资源来生成优化的加速器。结果表明,采用所提出的新范式的加速器可以提供高达4.2倍的吞吐量(GOP/s),比DNNBuilder中最先进的流水线设计高出4.2倍,并且在给定相同的DNN模型和资源预算的情况下,比最近发布的HybridDNN中的通用设计高出2.0倍的效率。借助DNNExplorer的基准测试和探索功能,我们可以在构建和优化定制AI加速器方面处于领先地位,并实现更高效的AI应用程序。

英文摘要:

Customized hardware accelerators have been developed to provide improved performance and efficiency for DNN inference and training. However, the existing hardware accelerators may not always be suitable for handling various DNN models as their architecture paradigms and configuration tradeoffs are highly application-specific. It is important to benchmark the accelerator candidates in the earliest stage to gather comprehensive performance metrics and locate the potential bottlenecks. Further demands also emerge after benchmarking, which require adequate solutions to address the bottlenecks and improve the current designs for targeted workloads. To achieve these goals, in this paper, we leverage an automation tool called DNNExplorer for benchmarking customized DNN hardware accelerators and exploring novel accelerator designs with improved performance and efficiency. Key features include (1) direct support to popular machine learning frameworks for DNN workload analysis and accurate analytical models for fast accelerator benchmarking; (2) a novel accelerator design paradigm with high-dimensional design space support and fine-grained adjustability to overcome the existing design drawbacks; and (3) a design space exploration (DSE) engine to generate optimized accelerators by considering targeted AI workloads and available hardware resources. Results show that accelerators adopting the proposed novel paradigm can deliver up to 4.2X higher throughput (GOP/s) than the state-of-the-art pipeline design in DNNBuilder and up to 2.0X improved efficiency than the recently published generic design in HybridDNN given the same DNN model and resource budgets. With DNNExplorer's benchmarking and exploration features, we can be ahead at building and optimizing customized AI accelerators and enable more efficient AI applications.

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

↑