{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/dlvm-a-modern-compiler-infrastructure-for","title":"DLVM: A modern compiler infrastructure for deep learning systems","arxiv_id":"1711.03016","date":"2017-11-08","proceeding":"ICLR 2018 1","authors":["Richard Wei","Lane Schwartz","Vikram Adve"],"abstract":"Deep learning software demands reliability and performance. However, many of\nthe existing deep learning frameworks are software libraries that act as an\nunsafe DSL in Python and a computation graph interpreter. We present DLVM, a\ndesign and implementation of a compiler infrastructure with a linear algebra\nintermediate representation, algorithmic differentiation by adjoint code\ngeneration, domain-specific optimizations and a code generator targeting GPU\nvia LLVM. Designed as a modern compiler infrastructure inspired by LLVM, DLVM\nis more modular and more generic than existing deep learning compiler\nframeworks, and supports tensor DSLs with high expressivity. With our\nprototypical staged DSL embedded in Swift, we argue that the DLVM system\nenables a form of modular, safe and performant frameworks for deep learning.","url_abs":"http://arxiv.org/abs/1711.03016v5","url_pdf":"http://arxiv.org/pdf/1711.03016v5.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"dlvm-a-modern-compiler-infrastructure-for","repo_url":"https://github.com/Huawei-MRC-OSI/optml-zoo","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}}],"tasks":[{"task_slug":"code-generation","task_name":"Code Generation"},{"task_slug":"deep-learning","task_name":"Deep Learning"},{"task_slug":null,"task_name":"GPU"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}