DISC: A Dynamic Shape Compiler for Machine Learning Workloads
Not on the map. Why?
Abstract (arXiv)
Many recent machine learning models show dynamic shape characteristics. However, existing AI compiler optimization systems suffer a lot from problems brought by dynamic shape models, including compilation overhead, memory usage, optimization pipeline and deployment complexity. This paper provides a compiler system to natively support optimization for dynamic shape workloads, named DISC. DISC enriches a set of IR to form a fully dynamic shape representation. It generates the runtime flow at compile time to support processing dynamic shape based logic, which avoids the interpretation overhead at runtime and enlarges the opportunity of host-device co-optimization. It addresses the kernel fusion problem of dynamic shapes with shape propagation and constraints collecting methods. This is the first work to demonstrate how to build an end-to-end dynamic shape compiler based on MLIR infrastructure. Experiments show that DISC achieves up to 3.3x speedup than TensorFlow/PyTorch, and 1.8x than Nimble.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). First posted on arXiv 9 Mar 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 4; 2025: 1; 2026: 2.
10 papers.
- 2023FunASR: A Fundamental End-to-End Speech Recognition Toolkitcited by 92
- 2022Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programscited by 28
- 2024Transformer-Lite: High-efficiency Deployment of Large Language Models on Mobile Phone GPUscited by 17
- 2023PAI-Diffusion: Constructing and Serving a Family of Open Chinese Diffusion Models for Text-to-image Synthesis on the Cloudcited by 5
- 2024SoD2: Statically Optimizing Dynamic Deep Neural Networkcited by 4
- 2025Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computationcited by 3
- 2024Data Overfitting for On-Device Super-Resolution with Dynamic Algorithm and Compiler Co-Designcited by 0
- 2024FTuner: A Fast Dynamic Shape Tensors Program Auto-Tuner for Deep Learning Compilerscited by 0
- 2026DVM: A Bytecode Virtual Machine Approach for Dynamic Tensor Computationcited by 0
- 2026DuplexCadence: Exact State and Execution from a Speech Model's Declared Timelinescited by 0
- 2026DuplexCadence: Exact State and Execution from a Speech Model's Declared Timelines28 Sep 2026
- 2026DVM: A Bytecode Virtual Machine Approach for Dynamic Tensor Computation25 Mar 2026
- 2025Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computation17 Apr 2025
- 2024FTuner: A Fast Dynamic Shape Tensors Program Auto-Tuner for Deep Learning Compilers31 Jul 2024
- 2024Data Overfitting for On-Device Super-Resolution with Dynamic Algorithm and Compiler Co-Design3 Jul 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
- 2023PAI-Diffusion: Constructing and Serving a Family of Open Chinese Diffusion Models for Text-to-image Synthesis on the Cloud11 Sep 2023
- 2023FunASR: A Fundamental End-to-End Speech Recognition Toolkit18 May 2023
- 2022Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programs18 Oct 2022