arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1905.09063cs.AIcs.PF
收藏

NTP:一个神经网络拓扑刻画器

NTP : A Neural Network Topology Profiler

Intel Technologies India Pvt Ltd(英特尔技术印度私人有限公司)

Raghavendra Bhat, Pravin Chandran, Juby Jose, Viswanath Dibbur, Prakash Sirra Ajith

摘要:

给定硬件平台上的端到端神经网络的性能是其计算和存储器签名的函数,而计算和存储器签名又由诸如拓扑大小、所使用的原语、所使用的框架、延迟策略、延迟要求、当前的基准测试工具受到限制,例如a)太像DeepBench [1](或)b)要求工作实现是框架特定的或硬件体系结构特定的或两者都是(或)c)仅提供高级基准度量。在本文中,我们提出了NTP(神经网络拓扑分析器),一个复杂的基准测试框架,有效地识别内存和计算多个硬件架构上的端到端拓扑的签名,而不需要实际的实施。NTP与特定于硬件的基准测试工具紧密集成,以实现详尽的数据汇集和分析。使用NTP,深度学习研究人员可以快速建立了解端到端神经网络拓扑性能所需的基线,并做出高级架构决策。此外,NTP与Tensorflow,Pytorch,英特尔OpenVINO等允许沿着几个向量进行性能比较,如a)在给定硬件上比较不同的框架b)使用给定框架比较不同的硬件c)这些功能使研究人员能够毫不费力地做出实现所需的架构决策,在任何硬件平台上优化性能。本文记录了NTP的架构方法,并通过对Mozilla DeepSpeech(一种流行的语音识别拓扑)进行基准测试来演示该工具的功能。

英文摘要:

Performance of end-to-end neural networks on a given hardware platform is a function of its compute and memory signature, which in-turn, is governed by a wide range of parameters such as topology size, primitives used, framework used, batching strategy, latency requirements, precision etc. Current benchmarking tools suffer from limitations such as a) being either too granular like DeepBench [1] (or) b) mandate a working implementation that is either framework specific or hardware-architecture specific or both (or) c) provide only high level benchmark metrics. In this paper, we present NTP (Neural Net Topology Profiler), a sophisticated benchmarking framework, to effectively identify memory and compute signature of an end-to-end topology on multiple hardware architectures, without the need for an actual implementation. NTP is tightly integrated with hardware specific benchmarking tools to enable exhaustive data collection and analysis. Using NTP, a deep learning researcher can quickly establish baselines needed to understand performance of an end-to-end neural network topology and make high level architectural decisions. Further, integration of NTP with frameworks like Tensorflow, Pytorch, Intel OpenVINO etc. allows for performance comparison along several vectors like a) Comparison of different frameworks on a given hardware b) Comparison of different hardware using a given framework c) Comparison across different heterogeneous hardware configurations for given framework etc. These capabilities empower a researcher to effortlessly make architectural decisions needed for achieving optimized performance on any hardware platform. The paper documents the architectural approach of NTP and demonstrates the capabilities of the tool by benchmarking Mozilla DeepSpeech, a popular Speech Recognition topology.

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

↑