arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1711.03016cs.PLcs.LGcs.MS
收藏

DLVM:用于深度学习系统的现代编译器基础设施

DLVM: A modern compiler infrastructure for deep learning systems

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Richard Wei, Lane Schwartz, Vikram Adve

摘要:

深度学习软件需要可靠性和性能。然而,许多现有的深度学习框架都是软件库,它们在Python中充当不安全的DSL和计算图解释器。我们提出了DLVM,一个设计和实现的编译器基础设施与线性代数中间表示,算法微分伴随代码生成,特定于域的优化和代码生成器通过LLVM针对GPU。DLVM设计为受LLVM启发的现代编译器基础设施,比现有的深度学习编译器框架更具模块化和通用性,并支持具有高表达性的张量DSL。通过我们在Swift中嵌入的原型阶段DSL,我们认为DLVM系统为深度学习提供了一种模块化,安全和高性能的框架。

英文摘要:

Deep learning software demands reliability and performance. However, many of the existing deep learning frameworks are software libraries that act as an unsafe DSL in Python and a computation graph interpreter. We present DLVM, a design and implementation of a compiler infrastructure with a linear algebra intermediate representation, algorithmic differentiation by adjoint code generation, domain-specific optimizations and a code generator targeting GPU via LLVM. Designed as a modern compiler infrastructure inspired by LLVM, DLVM is more modular and more generic than existing deep learning compiler frameworks, and supports tensor DSLs with high expressivity. With our prototypical staged DSL embedded in Swift, we argue that the DLVM system enables a form of modular, safe and performant frameworks for deep learning.

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

↑