arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1807.05317cs.LGstat.ML
收藏

LeFlow:实现Tensorflow深度神经网络的灵活FPGA高级合成

LeFlow: Enabling Flexible FPGA High-Level Synthesis of Tensorflow Deep Neural Networks

University of British Columbia(不列颠哥伦比亚大学)

Daniel H. Noronha, Bahar Salehpour, Steven J. E. Wilton

摘要:

最近的研究表明,现场可编程门阵列(FPGA)在加速机器学习应用方面发挥着重要作用。机器学习应用程序的初始规范通常使用面向Python的高级框架(如Tensorflow)完成,然后使用供应商工具手动翻译为C或RTL进行合成。这种手动翻译步骤非常耗时,并且需要专业知识,这限制了FPGA在这一重要领域的适用性。在本文中,我们提出了一个开源工具流,将用Tensorflow编写的数值计算模型映射到可合成的硬件。与其他工具不同,这些工具通常受到少量不灵活模板的限制,我们的流使用Google的XLA编译器,该编译器直接从Tensorflow规范发出LLVM代码。这个LLVM代码可以与高级合成工具一起使用,以自动生成硬件。我们展示了我们的流程允许用户用很少的Python代码生成深度神经网络。

英文摘要:

Recent work has shown that Field-Programmable Gate Arrays (FPGAs) play an important role in the acceleration of Machine Learning applications. Initial specification of machine learning applications are often done using a high-level Python-oriented framework such as Tensorflow, followed by a manual translation to either C or RTL for synthesis using vendor tools. This manual translation step is time-consuming and requires expertise that limit the applicability of FPGAs in this important domain. In this paper, we present an open-source tool-flow that maps numerical computation models written in Tensorflow to synthesizable hardware. Unlike other tools, which are often constrained by a small number of inflexible templates, our flow uses Google's XLA compiler which emits LLVM code directly from a Tensorflow specification. This LLVM code can then be used with a high-level synthesis tool to automatically generate hardware. We show that our flow allows users to generate Deep Neural Networks with very few lines of Python code.

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

↑