mlsanityData to 7 Oct 2026

Compiling ONNX Neural Network Models Using MLIR

arXiv 2008.08272 ↗First posted 19 Aug 2020cs.PL cs.LGcited by 18

Not on the map. Why?

Abstract (arXiv)

Deep neural network models are becoming increasingly popular and have been used in various tasks such as computer vision, speech recognition, and natural language processing. Machine learning models are commonly trained in a resource-rich environment and then deployed in a distinct environment such as high availability machines or edge devices. To assist the portability of models, the open-source community has proposed the Open Neural Network Exchange (ONNX) standard. In this paper, we present a high-level, preliminary report on our onnx-mlir compiler, which generates code for the inference of deep neural network models described in the ONNX format. Onnx-mlir is an open-source compiler implemented using the Multi-Level Intermediate Representation (MLIR) infrastructure recently integrated in the LLVM project. Onnx-mlir relies on the MLIR concept of dialects to implement its functionality. We propose here two new dialects: (1) an ONNX specific dialect that encodes the ONNX standard semantics, and (2) a loop-based dialect to provide for a common lowering point for all ONNX dialect operations. Each intermediate representation facilitates its own characteristic set of graph-level and loop-based optimizations respectively. We illustrate our approach by following several models through the proposed representations and we include some early optimization work and performance results.

Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). First posted on arXiv 19 Aug 2020.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2022: 3; 2023: 3; 2024: 5; 2025: 7.

18 papers.

Sort:

By area:

  1. 2024A Large-Scale Exploit Instrumentation Study of AI/ML Supply Chain Attacks in Hugging Face Modelscited by 12
  2. 2025Neural Brain: A Neuroscience-inspired Framework for Embodied Agentscited by 10
  3. 2022Coverage-Guided Tensor Compiler Fuzzing with Joint IR-Pass Mutationcited by 9
  4. 2022An Empirical Study of Challenges in Converting Deep Learning Modelscited by 8
  5. 2025Mind Meets Space: Rethinking Agentic Spatial Intelligence from a Neuroscience-inspired Perspectivecited by 7
  6. 2022TPU-MLIR: A Compiler For TPU Using MLIRcited by 3
  7. 2023Advancing Direct Convolution using Convolution Slicing Optimization and ISA Extensionscited by 3
  8. 2024A Reinforcement Learning Environment for Automatic Code Optimization in the MLIR Compilercited by 3
  9. 2024Hydraulis: Balancing Large Transformer Model Training via Co-designing Parallel Strategies and Data Assignmentcited by 2
  10. 2024CyberCortex.AI: An AI-based Operating System for Autonomous Robotics and Complex Automationcited by 1
  11. 2025Chat-Ghosting: A Comparative Study of Methods for Auto-Completion in Dialog Systemscited by 1
  12. 2025Bootstrapping Fuzzers for Compilers of Low-Resource Language Dialects Using Language Modelscited by 1
6 more
  1. 2023Tensor Slicing and Optimization for Multicore NPUscited by 0
  2. 2023A Survey on Design Methodologies for Accelerating Deep Learning on Heterogeneous Architecturescited by 0
  3. 2024Explore as a Storm, Exploit as a Raindrop: On the Benefit of Fine-Tuning Kernel Schedulers with Coordinate Descentcited by 0
  4. 2025DejAIvu: Identifying and Explaining AI Art on the Web in Real-Time with Saliency Mapscited by 0
  5. 2025Rulebook: bringing co-routines to reinforcement learning environmentscited by 0
  6. 2025ShadowLogic: Backdoors in Any Whitebox LLMcited by 0