Pith. sign in

REVIEW 4 cited by

Compiling ONNX Neural Network Models Using MLIR

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2008.08272 v2 pith:3H7NY3XQ submitted 2020-08-19 cs.PL cs.LG

classification cs.PLcs.LG
keywords modelsonnxnetworkneuraldialectmlironnx-mlircompiler
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

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.

Discussion (0). Sign in to comment.

Forward citations

Cited by 4 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. WAMI: Compilation to WebAssembly through MLIR without Losing Abstraction

    cs.PL 2025-06 conditional novelty 7.0 of 10

    WAMI compiles high-level MLIR dialects directly to WebAssembly via new Wasm-specific MLIR dialects, achieving performance within a few percent of LLVM-based compilers on PolyBench.

  2. MLIR for Quantum Beyond Gate Cancellation: Quantum Circuit Mapping Reimagined

    quant-ph 2026-07 accept novelty 6.0 of 10

    An MLIR-native A* qubit-routing pass outperforms QMAP and TKET on SWAP count and runtime and integrates into an open MLIR quantum compiler.

  3. Chat-Ghosting: A Comparative Study of Methods for Auto-Completion in Dialog Systems

    cs.CL 2025-07 conditional novelty 5.0 of 10

    Simple tries and n-gram models beat large neural models for chat autocompletion on seen prefixes, while fine-tuned transformers and conversational context lead on unseen ones.

  4. Mind Meets Space: Rethinking Agentic Spatial Intelligence from a Neuroscience-inspired Perspective

    cs.AI 2025-09 conditional novelty 4.0 of 10

    Agent spatial intelligence is organized into six neuroscience-inspired modules, and the field is reviewed through that lens without any experimental validation.

Pith tools