Index of documents

July 27, 2026 ยท View on GitHub

This document serves as an index for onnx-mlir documents.

About

  • ONNXAI.md gives a short introduction to the project and how to get in touch (Slack channel).

Installation and working environment

  • Prerequisite.md lists the software required to build onnx-mlir.
  • Installation is covered by README.md, with OS-specific details in BuildOnLinuxOSX.md and BuildOnWindows.md.
  • BuildONNX.md describes how to install third_party ONNX for backend tests or to regenerate ONNX operations.
  • BuildStandalone.md describes how to build onnx-mlir as a standalone binary, without a full LLVM/MLIR build tree.
  • Docker.md describes how to build and develop onnx-mlir using Docker, and DockerInDocker.md covers Docker-in-Docker support.
  • Workflow.md describes how to contribute in the github environment.
  • This guideline is used to keep documentation and code consistent.
  • UpdatingLLVMCommit.md describes how to update the commit of LLVM that onnx-mlir depends on.
  • A Jenkins monitor job was setup to help with updating LLVM commit. It locates the next commit we can update to without breaking ONNX-MLIR, as well as the commit that will break ONNX-MLIR. You can see the commit(s) here: s390x, ppc64le, amd64.

Supported ONNX Ops

Development

NNPA Accelerator

Execution

The compiled ONNX model can be executed with either a C/C++ driver, python driver, or a java driver.

Testing and Debugging

The routine testing for onnx-mlir build is described in this document.

  • TestingHighLevel.md covers build trouble-shooting and higher-level testing.
  • DebuggingNumericalError.md describes how to debug numerical errors between onnx-mlir and a reference implementation.
  • ProfileModel.md describes profiling a compiled ONNX model with utils/profile-model.py.
  • PerformanceTesting.md describes gathering and analyzing runtime/compile-time performance statistics with RunONNXModel.py, --profile-ir/--profile-ir-with-sig, and utils/make-report.py.