Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programs
Not on the map. Why?
Abstract (arXiv)
As deep learning models nowadays are widely adopted by both cloud services and edge devices, reducing the latency of deep learning model inferences becomes crucial to provide efficient model serving. However, it is challenging to develop efficient tensor programs for deep learning operators due to the high complexity of modern accelerators and the rapidly growing number of operators. Deep learning compilers, such as Apache TVM, adopt declarative scheduling primitives to lower the bar of developing tensor programs. However, we show that this approach is insufficient to cover state-of-the-art tensor program optimizations. In this paper, we propose to embed the scheduling process into tensor programs and use dedicated mappings, called task mappings, to define the computation assignment and ordering. This new approach greatly enriches the expressible optimizations by allowing developers to manipulate tensor programs at a much finer granularity. We call the proposed method the task-mapping programming paradigm. In addition, we propose a new post-scheduling fusion optimization that allows developers to focus on scheduling every single operator and automates the fusion after scheduling. It greatly reduces the engineering efforts for operator fusion. Our proposed paradigm also constructs an efficient hardware-centric schedule space, which is agnostic to the program input size and greatly reduces the tuning time. With the proposed paradigm, we implement a deep learning compiler Hidet. Extensive experiments on modern convolution and transformer models show that Hidet outperforms state-of-the-art DNN inference framework, ONNX Runtime, and compiler, TVM equipped with scheduler AutoTVM and Ansor, by up to 1.48x (1.22x on average). It also reduces the tuning time by 20x and 11x compared with AutoTVM and Ansor, respectively. We open-sourced hidet at https://www.github.com/hidet-org/hidet.
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 32 of its 73 references that are in the map. First posted on arXiv 18 Oct 2022.
Builds on
32 of 73 references.
References · 32
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2014Going Deeper with Convolutionscited by 4,231
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2016Neural Architecture Search with Reinforcement Learningcited by 1,489
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
20 more
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 610
- 2014cuDNN: Efficient Primitives for Deep Learningcited by 240
- 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
- 2018Learning to Optimize Tensor Programscited by 138
- 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 90
- 2018Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractionscited by 84
- 2018Tiramisu: A Polyhedral Compiler for Expressing Fast and Portable Codecited by 53
- 2020Dynamic Tensor Rematerializationcited by 45
- 2022TensorIR: An Abstraction for Automatic Tensorized Program Optimizationcited by 38
- 2022Tensor Program Optimization with Probabilistic Programscited by 30
- 2018Optimizing CNN Model Inference on CPUscited by 29
- 2021Equality Saturation for Tensor Graph Superoptimizationcited by 27
- 2020IOS: Inter-Operator Scheduler for CNN Accelerationcited by 20
- 2020Nimble: Efficiently Compiling Dynamic Neural Networks for Model Inferencecited by 19
- 2021Bolt: Bridging the Gap between Auto-tuners and Hardware-native Performancecited by 18
- 2021The CoRa Tensor Compiler: Compilation for Ragged Tensors with Minimal Paddingcited by 17
- 2020Cortex: A Compiler for Recursive Deep Learning Modelscited by 16
- 2018Echo: Compiler-based GPU Memory Footprint Reduction for LSTM RNN Trainingcited by 10
- 2021UNIT: Unifying Tensorized Instruction Compilationcited by 10
- 2021DISC: A Dynamic Shape Compiler for Machine Learning Workloadscited by 10
Built on by
Citing papers per year: 2023: 2; 2024: 6; 2025: 13; 2026: 7.
28 papers.
Sort:
By area:
- 2025Empowering Edge Intelligence: A Comprehensive Survey on On-Device AI Modelscited by 44
- 2024Optimal Kernel Orchestration for Tensor Programs with Korchcited by 7
- 2025Mist: Efficient Distributed Training of Large Language Models via Memory-Parallelism Co-Optimizationcited by 6
- 2025PyGraph: Robust Compiler Support for CUDA Graphs in PyTorchcited by 3
- 2025Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computationcited by 3
- 2025REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Servingcited by 3
- 2025LoRAFusion: Efficient LoRA Fine-Tuning for LLMscited by 3
- 2023Minuet: Accelerating 3D Sparse Convolutions on GPUscited by 2
- 2025Hexcute: A Compiler Framework for Automating Layout Synthesis in GPU Programscited by 2
- 2024Proteus: Preserving Model Confidentiality during Graph Optimizationscited by 1
- 2024Optimizing Tensor Computation Graphs with Equality Saturation and Monte Carlo Tree Searchcited by 1
- 2025KGCompiler: Deep Learning Compilation Optimization for Knowledge Graph Complex Logical Query Answeringcited by 1
16 more
- 2025GraphMend: Code Transformations for Fixing Graph Breaks in PyTorch 2cited by 1
- 2026Ada-MK: Adaptive MegaKernel Optimization via Automated DAG-based Search for LLM Inferencecited by 1
- 2026PassNet: Scaling Large Language Models for Graph Compiler Pass Generationcited by 1
- 2023PowerFusion: A Tensor Compiler with Explicit Data Movement Description and Instruction-level Graph IRcited by 0
- 2024GeoT: Tensor Centric Library for Graph Neural Network via Efficient Segment Reduction on GPUcited by 0
- 2024Explore as a Storm, Exploit as a Raindrop: On the Benefit of Fine-Tuning Kernel Schedulers with Coordinate Descentcited by 0
- 2024FTuner: A Fast Dynamic Shape Tensors Program Auto-Tuner for Deep Learning Compilerscited by 0
- 2025Verifying Computational Graphs in Production-Grade Distributed Machine Learning Frameworkscited by 0
- 2025GraphNet: A Large-Scale Computational Graph Dataset for Tensor Compiler Researchcited by 0
- 2025DCC: Data-Centric Compilation of Machine Learning Kernels for Processing-In-Memory Architecturescited by 0
- 2025Spira: Exploiting Voxel Data Structural Properties for Efficient Sparse Convolution in Point Cloud Networkscited by 0
- 2026ParaCodex: A Profiling-Guided Autonomous Coding Agent for Reliable Parallel Code Generation and Translationcited by 0
- 2026PolyBlocks: A Compiler Infrastructure for AI Chips and Programming Frameworkscited by 0
- 2026VTC: DNN Compilation with Virtual Tensors for Data Movement Eliminationcited by 0
- 2026AutoMegaKernel: A Statically-Checked Agent Harness for Self-Retargeting Megakernel Synthesiscited by 0
- 2026Axon: A Synthesizing Superoptimizer for Tensor Programscited by 0
- 2026Axon: A Synthesizing Superoptimizer for Tensor Programs24 Jun 2026
- 2026AutoMegaKernel: A Statically-Checked Agent Harness for Self-Retargeting Megakernel Synthesis8 Jun 2026
- 2026PassNet: Scaling Large Language Models for Graph Compiler Pass Generation28 May 2026
- 2026Ada-MK: Adaptive MegaKernel Optimization via Automated DAG-based Search for LLM Inference12 May 2026
- 2026PolyBlocks: A Compiler Infrastructure for AI Chips and Programming Frameworks6 Mar 2026
- 2026VTC: DNN Compilation with Virtual Tensors for Data Movement Elimination11 Feb 2026
- 2026ParaCodex: A Profiling-Guided Autonomous Coding Agent for Reliable Parallel Code Generation and Translation7 Jan 2026
- 2025Spira: Exploiting Voxel Data Structural Properties for Efficient Sparse Convolution in Point Cloud Networks25 Nov 2025
- 2025DCC: Data-Centric Compilation of Machine Learning Kernels for Processing-In-Memory Architectures19 Nov 2025
- 2025GraphNet: A Large-Scale Computational Graph Dataset for Tensor Compiler Research28 Oct 2025
- 2025LoRAFusion: Efficient LoRA Fine-Tuning for LLMs30 Sep 2025
- 2025GraphMend: Code Transformations for Fixing Graph Breaks in PyTorch 217 Sep 2025
16 more
- 2025Verifying Computational Graphs in Production-Grade Distributed Machine Learning Frameworks12 Sep 2025
- 2025REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Serving2 Jun 2025
- 2025Hexcute: A Compiler Framework for Automating Layout Synthesis in GPU Programs22 Apr 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
- 2025Mist: Efficient Distributed Training of Large Language Models via Memory-Parallelism Co-Optimization24 Mar 2025
- 2025Empowering Edge Intelligence: A Comprehensive Survey on On-Device AI Models8 Mar 2025
- 2025KGCompiler: Deep Learning Compilation Optimization for Knowledge Graph Complex Logical Query Answering4 Mar 2025
- 2024Optimizing Tensor Computation Graphs with Equality Saturation and Monte Carlo Tree Search7 Oct 2024
- 2024FTuner: A Fast Dynamic Shape Tensors Program Auto-Tuner for Deep Learning Compilers31 Jul 2024
- 2024Explore as a Storm, Exploit as a Raindrop: On the Benefit of Fine-Tuning Kernel Schedulers with Coordinate Descent28 Jun 2024
- 2024Optimal Kernel Orchestration for Tensor Programs with Korch13 Jun 2024
- 2024Proteus: Preserving Model Confidentiality during Graph Optimizations18 Apr 2024
- 2024GeoT: Tensor Centric Library for Graph Neural Network via Efficient Segment Reduction on GPU3 Apr 2024
- 2023Minuet: Accelerating 3D Sparse Convolutions on GPUs1 Dec 2023
- 2023PowerFusion: A Tensor Compiler with Explicit Data Movement Description and Instruction-level Graph IR11 Jul 2023
- 2025Empowering Edge Intelligence: A Comprehensive Survey on On-Device AI Modelscited by 44
- 2024Optimal Kernel Orchestration for Tensor Programs with Korchcited by 7
- 2025Mist: Efficient Distributed Training of Large Language Models via Memory-Parallelism Co-Optimizationcited by 6
- 2025PyGraph: Robust Compiler Support for CUDA Graphs in PyTorchcited by 3
- 2025Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computationcited by 3
- 2025LoRAFusion: Efficient LoRA Fine-Tuning for LLMscited by 3
- 2023Minuet: Accelerating 3D Sparse Convolutions on GPUscited by 2
- 2025Hexcute: A Compiler Framework for Automating Layout Synthesis in GPU Programscited by 2
- 2024Proteus: Preserving Model Confidentiality during Graph Optimizationscited by 1
- 2024Optimizing Tensor Computation Graphs with Equality Saturation and Monte Carlo Tree Searchcited by 1
- 2025GraphMend: Code Transformations for Fixing Graph Breaks in PyTorch 2cited by 1
- 2026Ada-MK: Adaptive MegaKernel Optimization via Automated DAG-based Search for LLM Inferencecited by 1
12 most cited of 26 All 26 (JSON)
- 2026Axon: A Synthesizing Superoptimizer for Tensor Programs24 Jun 2026
- 2026AutoMegaKernel: A Statically-Checked Agent Harness for Self-Retargeting Megakernel Synthesis8 Jun 2026
- 2026PassNet: Scaling Large Language Models for Graph Compiler Pass Generation28 May 2026
- 2026Ada-MK: Adaptive MegaKernel Optimization via Automated DAG-based Search for LLM Inference12 May 2026
- 2026PolyBlocks: A Compiler Infrastructure for AI Chips and Programming Frameworks6 Mar 2026
- 2026VTC: DNN Compilation with Virtual Tensors for Data Movement Elimination11 Feb 2026
- 2026ParaCodex: A Profiling-Guided Autonomous Coding Agent for Reliable Parallel Code Generation and Translation7 Jan 2026
- 2025Spira: Exploiting Voxel Data Structural Properties for Efficient Sparse Convolution in Point Cloud Networks25 Nov 2025
- 2025DCC: Data-Centric Compilation of Machine Learning Kernels for Processing-In-Memory Architectures19 Nov 2025
- 2025GraphNet: A Large-Scale Computational Graph Dataset for Tensor Compiler Research28 Oct 2025
- 2025LoRAFusion: Efficient LoRA Fine-Tuning for LLMs30 Sep 2025
- 2025GraphMend: Code Transformations for Fixing Graph Breaks in PyTorch 217 Sep 2025
12 newest of 26 All 26 (JSON)