Nimble: Efficiently Compiling Dynamic Neural Networks for Model Inference
Not on the map. Why?
Abstract (arXiv)
Modern deep neural networks increasingly make use of features such as dynamic control flow, data structures and dynamic tensor shapes. Existing deep learning systems focus on optimizing and executing static neural networks which assume a pre-determined model architecture and input data shapes--assumptions which are violated by dynamic neural networks. Therefore, executing dynamic models with deep learning systems is currently both inflexible and sub-optimal, if not impossible. Optimizing dynamic neural networks is more challenging than static neural networks; optimizations must consider all possible execution paths and tensor shapes. This paper proposes Nimble, a high-performance and flexible system to optimize, compile, and execute dynamic neural networks on multiple platforms. Nimble handles model dynamism by introducing a dynamic type system, a set of dynamism-oriented optimizations, and a light-weight virtual machine runtime. Our evaluation demonstrates that Nimble outperforms state-of-the-art deep learning frameworks and runtime systems for dynamic neural networks by up to 20x on hardware platforms including Intel CPUs, ARM CPUs, and Nvidia GPUs.
Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). First posted on arXiv 4 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 3; 2023: 4; 2024: 4; 2025: 4; 2026: 1.
19 papers.
Sort:
By area:
- 2023TorchSparse++: Efficient Training and Inference Framework for Sparse Convolution on GPUscited by 36
- 2022Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programscited by 28
- 2021The CoRa Tensor Compiler: Compilation for Ragged Tensors with Minimal Paddingcited by 17
- 2024Transformer-Lite: High-efficiency Deployment of Large Language Models on Mobile Phone GPUscited by 17
- 2023ShiftAddViT: Mixture of Multiplication Primitives Towards Efficient Vision Transformercited by 15
- 2023Relax: Composable Abstractions for End-to-End Dynamic Machine Learningcited by 12
- 2024SmartMem: Layout Transformation Elimination and Adaptation for Efficient DNN Execution on Mobilecited by 12
- 2023DyCL: Dynamic Neural Network Compilation Via Program Rewriting and Graph Optimizationcited by 9
- 2021Bring Your Own Codegen to Deep Learning Compilercited by 5
- 2024SoD2: Statically Optimizing Dynamic Deep Neural Networkcited by 4
- 2022Memory Planning for Deep Neural Networkscited by 3
- 2025PyGraph: Robust Compiler Support for CUDA Graphs in PyTorchcited by 3
7 more
- 2025Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computationcited by 3
- 2021How to Reach Real-Time AI on Consumer Devices? Solutions for Programmable and Custom Architecturescited by 2
- 2025Tempo: Compiled Dynamic Deep Learning with Symbolic Dependence Graphscited by 1
- 2022ALT: Boosting Deep Learning Performance by Breaking the Wall between Graph and Operator Level Optimizationscited by 0
- 2024FTuner: A Fast Dynamic Shape Tensors Program Auto-Tuner for Deep Learning Compilerscited by 0
- 2025Parallax: Runtime Parallelization for Operator Fallbacks in Heterogeneous Edge Systemscited by 0
- 2026DVM: A Bytecode Virtual Machine Approach for Dynamic Tensor Computationcited by 0
- 2026DVM: A Bytecode Virtual Machine Approach for Dynamic Tensor Computation25 Mar 2026
- 2025Parallax: Runtime Parallelization for Operator Fallbacks in Heterogeneous Edge Systems12 Dec 2025
- 2025Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computation17 Apr 2025
- 2025PyGraph: Robust Compiler Support for CUDA Graphs in PyTorch25 Mar 2025
- 2025Tempo: Compiled Dynamic Deep Learning with Symbolic Dependence Graphs9 Jan 2025
- 2024FTuner: A Fast Dynamic Shape Tensors Program Auto-Tuner for Deep Learning Compilers31 Jul 2024
- 2024SmartMem: Layout Transformation Elimination and Adaptation for Efficient DNN Execution on Mobile21 Apr 2024
- 2024Transformer-Lite: High-efficiency Deployment of Large Language Models on Mobile Phone GPUs29 Mar 2024
- 2024SoD2: Statically Optimizing Dynamic Deep Neural Network29 Feb 2024
- 2023Relax: Composable Abstractions for End-to-End Dynamic Machine Learning1 Nov 2023
- 2023TorchSparse++: Efficient Training and Inference Framework for Sparse Convolution on GPUs25 Oct 2023
- 2023DyCL: Dynamic Neural Network Compilation Via Program Rewriting and Graph Optimization11 Jul 2023
7 more
- 2023ShiftAddViT: Mixture of Multiplication Primitives Towards Efficient Vision Transformer10 Jun 2023
- 2022ALT: Boosting Deep Learning Performance by Breaking the Wall between Graph and Operator Level Optimizations22 Oct 2022
- 2022Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programs18 Oct 2022
- 2022Memory Planning for Deep Neural Networks23 Feb 2022
- 2021The CoRa Tensor Compiler: Compilation for Ragged Tensors with Minimal Padding19 Oct 2021
- 2021How to Reach Real-Time AI on Consumer Devices? Solutions for Programmable and Custom Architectures21 Jun 2021
- 2021Bring Your Own Codegen to Deep Learning Compiler3 May 2021
- 2023TorchSparse++: Efficient Training and Inference Framework for Sparse Convolution on GPUscited by 36
- 2022Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programscited by 28
- 2021The CoRa Tensor Compiler: Compilation for Ragged Tensors with Minimal Paddingcited by 17
- 2024Transformer-Lite: High-efficiency Deployment of Large Language Models on Mobile Phone GPUscited by 17
- 2023Relax: Composable Abstractions for End-to-End Dynamic Machine Learningcited by 12
- 2024SmartMem: Layout Transformation Elimination and Adaptation for Efficient DNN Execution on Mobilecited by 12
- 2023DyCL: Dynamic Neural Network Compilation Via Program Rewriting and Graph Optimizationcited by 9
- 2021Bring Your Own Codegen to Deep Learning Compilercited by 5
- 2024SoD2: Statically Optimizing Dynamic Deep Neural Networkcited by 4
- 2022Memory Planning for Deep Neural Networkscited by 3
- 2025PyGraph: Robust Compiler Support for CUDA Graphs in PyTorchcited by 3
- 2025Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computationcited by 3
12 most cited of 18 All 18 (JSON)
- 2026DVM: A Bytecode Virtual Machine Approach for Dynamic Tensor Computation25 Mar 2026
- 2025Parallax: Runtime Parallelization for Operator Fallbacks in Heterogeneous Edge Systems12 Dec 2025
- 2025Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computation17 Apr 2025
- 2025PyGraph: Robust Compiler Support for CUDA Graphs in PyTorch25 Mar 2025
- 2025Tempo: Compiled Dynamic Deep Learning with Symbolic Dependence Graphs9 Jan 2025
- 2024FTuner: A Fast Dynamic Shape Tensors Program Auto-Tuner for Deep Learning Compilers31 Jul 2024
- 2024SmartMem: Layout Transformation Elimination and Adaptation for Efficient DNN Execution on Mobile21 Apr 2024
- 2024Transformer-Lite: High-efficiency Deployment of Large Language Models on Mobile Phone GPUs29 Mar 2024
- 2024SoD2: Statically Optimizing Dynamic Deep Neural Network29 Feb 2024
- 2023Relax: Composable Abstractions for End-to-End Dynamic Machine Learning1 Nov 2023
- 2023TorchSparse++: Efficient Training and Inference Framework for Sparse Convolution on GPUs25 Oct 2023
- 2023DyCL: Dynamic Neural Network Compilation Via Program Rewriting and Graph Optimization11 Jul 2023
12 newest of 18 All 18 (JSON)