pith. sign in

arxiv: 1711.03016 · v5 · pith:WT5WAWFBnew · submitted 2017-11-08 · 💻 cs.PL · cs.LG· cs.MS

DLVM: A modern compiler infrastructure for deep learning systems

classification 💻 cs.PL cs.LGcs.MS
keywords deeplearningcompilerdlvmframeworksinfrastructurecodeexisting
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. GraphMend: Code Transformations for Fixing Graph Breaks in PyTorch 2

    cs.PL 2025-09 conditional novelty 6.0

    GraphMend uses two Jaseci-based code transformations to eliminate dynamic-control-flow and side-effect graph breaks in PyTorch 2, reducing breaks to zero in six of eight Hugging Face models and yielding up to 75% late...