Relay: A New IR for Machine Learning Frameworks
Not on the map. Why?
Abstract (arXiv)
Machine learning powers diverse services in industry including search, translation, recommendation systems, and security. The scale and importance of these models require that they be efficient, expressive, and portable across an array of heterogeneous hardware devices. These constraints are often at odds; in order to better accommodate them we propose a new high-level intermediate representation (IR) called Relay. Relay is being designed as a purely-functional, statically-typed language with the goal of balancing efficient compilation, expressiveness, and portability. We discuss the goals of Relay and highlight its important design constraints. Our prototype is part of the open source NNVM compiler framework, which powers Amazon's deep learning framework MxNet.
Key facts. Cited by 24 papers in the map (data through 14 Oct 2026). First posted on arXiv 26 Sep 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2020: 1; 2021: 7; 2022: 9; 2023: 5; 2024: 0; 2025: 2.
24 papers.
Sort:
By area:
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
- 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 111
- 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learningcited by 47
- 2023Zero Bubble Pipeline Parallelismcited by 40
- 2023Relax: Composable Abstractions for End-to-End Dynamic Machine Learningcited by 12
- 2021UNIT: Unifying Tensorized Instruction Compilationcited by 10
- 2022ImpNet: Imperceptible and blackbox-undetectable backdoors in compiled neural networkscited by 9
- 2021A Highly Configurable Hardware/Software Stack for DNN Inference Accelerationcited by 4
- 2021SplitSR: An End-to-End Approach to Super-Resolution on Mobile Devicescited by 3
- 2022Memory Planning for Deep Neural Networkscited by 3
- 2021Collage: Seamless Integration of Deep Learning Backends with Automatic Placementcited by 2
- 2022CPrune: Compiler-Informed Model Pruning for Efficient Target-Aware DNN Executioncited by 2
12 more
- 2021Understanding Cache Boundness of ML Operators on ARM Processorscited by 1
- 2021Joint Program and Layout Transformations to enable Convolutional Operators on Specialized Hardware based on Constraint Programmingcited by 1
- 2022Bifrost: End-to-End Evaluation and Optimization of Reconfigurable DNN Acceleratorscited by 1
- 2022AGO: Boosting Mobile AI Inference Performance by Removing Constraints on Graph Optimizationcited by 1
- 2023DIPPM: a Deep Learning Inference Performance Predictive Model using Graph Neural Networkscited by 1
- 2022A Compilation Flow for the Generation of CNN Inference Accelerators on FPGAscited by 0
- 2022Faith: An Efficient Framework for Transformer Verification on GPUscited by 0
- 2022ALT: Boosting Deep Learning Performance by Breaking the Wall between Graph and Operator Level Optimizationscited by 0
- 2023SparseOptimizer: Sparsify Language Models through Moreau-Yosida Regularization and Accelerate via Compiler Co-designcited by 0
- 2023A Survey on Design Methodologies for Accelerating Deep Learning on Heterogeneous Architecturescited by 0
- 2025LightCode: Compiling LLM Inference for Photonic-Electronic Systemscited by 0
- 2025Accelerated Execution of Bayesian Neural Networks using a Single Probabilistic Forward Pass and Code Generationcited by 0
- 2025Accelerated Execution of Bayesian Neural Networks using a Single Probabilistic Forward Pass and Code Generation28 Nov 2025
- 2025LightCode: Compiling LLM Inference for Photonic-Electronic Systems19 Sep 2025
- 2023Zero Bubble Pipeline Parallelism30 Nov 2023
- 2023A Survey on Design Methodologies for Accelerating Deep Learning on Heterogeneous Architectures29 Nov 2023
- 2023Relax: Composable Abstractions for End-to-End Dynamic Machine Learning1 Nov 2023
- 2023SparseOptimizer: Sparsify Language Models through Moreau-Yosida Regularization and Accelerate via Compiler Co-design27 Jun 2023
- 2023DIPPM: a Deep Learning Inference Performance Predictive Model using Graph Neural Networks21 Mar 2023
- 2022AGO: Boosting Mobile AI Inference Performance by Removing Constraints on Graph Optimization2 Dec 2022
- 2022ALT: Boosting Deep Learning Performance by Breaking the Wall between Graph and Operator Level Optimizations22 Oct 2022
- 2022ImpNet: Imperceptible and blackbox-undetectable backdoors in compiled neural networks30 Sep 2022
- 2022Faith: An Efficient Framework for Transformer Verification on GPUs23 Sep 2022
- 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learning11 Jul 2022
12 more
- 2022CPrune: Compiler-Informed Model Pruning for Efficient Target-Aware DNN Execution4 Jul 2022
- 2022Bifrost: End-to-End Evaluation and Optimization of Reconfigurable DNN Accelerators26 Apr 2022
- 2022A Compilation Flow for the Generation of CNN Inference Accelerators on FPGAs8 Mar 2022
- 2022Memory Planning for Deep Neural Networks23 Feb 2022
- 2021A Highly Configurable Hardware/Software Stack for DNN Inference Acceleration29 Nov 2021
- 2021Collage: Seamless Integration of Deep Learning Backends with Automatic Placement1 Nov 2021
- 2021GSPMD: General and Scalable Parallelization for ML Computation Graphs10 May 2021
- 2021Joint Program and Layout Transformations to enable Convolutional Operators on Specialized Hardware based on Constraint Programming10 Apr 2021
- 2021Understanding Cache Boundness of ML Operators on ARM Processors1 Feb 2021
- 2021UNIT: Unifying Tensorized Instruction Compilation21 Jan 2021
- 2021SplitSR: An End-to-End Approach to Super-Resolution on Mobile Devices20 Jan 2021
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding30 Jun 2020
- 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 111
- 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learningcited by 47
- 2023Zero Bubble Pipeline Parallelismcited by 40
- 2023Relax: Composable Abstractions for End-to-End Dynamic Machine Learningcited by 12
- 2021UNIT: Unifying Tensorized Instruction Compilationcited by 10
- 2022ImpNet: Imperceptible and blackbox-undetectable backdoors in compiled neural networkscited by 9
- 2021SplitSR: An End-to-End Approach to Super-Resolution on Mobile Devicescited by 3
- 2022Memory Planning for Deep Neural Networkscited by 3
- 2021Collage: Seamless Integration of Deep Learning Backends with Automatic Placementcited by 2
- 2022CPrune: Compiler-Informed Model Pruning for Efficient Target-Aware DNN Executioncited by 2
- 2021Understanding Cache Boundness of ML Operators on ARM Processorscited by 1
- 2021Joint Program and Layout Transformations to enable Convolutional Operators on Specialized Hardware based on Constraint Programmingcited by 1
12 most cited of 22 All 22 (JSON)
- 2025Accelerated Execution of Bayesian Neural Networks using a Single Probabilistic Forward Pass and Code Generation28 Nov 2025
- 2025LightCode: Compiling LLM Inference for Photonic-Electronic Systems19 Sep 2025
- 2023Zero Bubble Pipeline Parallelism30 Nov 2023
- 2023A Survey on Design Methodologies for Accelerating Deep Learning on Heterogeneous Architectures29 Nov 2023
- 2023Relax: Composable Abstractions for End-to-End Dynamic Machine Learning1 Nov 2023
- 2023SparseOptimizer: Sparsify Language Models through Moreau-Yosida Regularization and Accelerate via Compiler Co-design27 Jun 2023
- 2023DIPPM: a Deep Learning Inference Performance Predictive Model using Graph Neural Networks21 Mar 2023
- 2022AGO: Boosting Mobile AI Inference Performance by Removing Constraints on Graph Optimization2 Dec 2022
- 2022ALT: Boosting Deep Learning Performance by Breaking the Wall between Graph and Operator Level Optimizations22 Oct 2022
- 2022ImpNet: Imperceptible and blackbox-undetectable backdoors in compiled neural networks30 Sep 2022
- 2022Faith: An Efficient Framework for Transformer Verification on GPUs23 Sep 2022
- 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learning11 Jul 2022
12 newest of 22 All 22 (JSON)