Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

onnx

> DevOps
Open source

Open standard for machine learning interoperability

21.2K stars0 likes2 views
WebsiteGitHub

About

Open standard for machine learning interoperability

[Open Neural Network Exchange (ONNX)](https://onnx.ai) is an open ecosystem that empowers AI developers to choose the right tools as their project evolves. ONNX provides an open source format for AI models, both deep learning and traditional ML. It defines an extensible computation graph model, as well as definitions of built-in operators and standard data types. Currently we focus on the capabilities needed for inferencing (scoring).

ONNX is widely supported and can be found in many frameworks, tools, and hardware. Enabling interoperability between different frameworks and streamlining the path from research to production helps increase the speed of innovation in the AI community. We invite the community to join us and further evolve ONNX.

Use ONNX

  • Documentation of ONNX Python Package
  • Tutorials for creating ONNX models
  • Pre-trained ONNX models

Learn about the ONNX spec

  • Overview
  • ONNX intermediate representation spec
  • Versioning principles of the spec
  • Operators documentation
  • Operators documentation (latest release)
  • Python API Overview

Programming utilities for working with ONNX Graphs

  • Shape and Type Inference
  • Graph Optimization
  • Opset Version Conversion

Contribute

ONNX is a community project and the open governance model is described here. We encourage you to join the effort and contribute feedback, ideas, and code. You can participate in the Special Interest Groups and Working Groups to shape the future of ONNX.

Check out our contribution guide to get started.

If you think some operator should be added to ONNX specification, please read this document.

Community meetings

The schedules of the regular meetings of the Steering Committee, the working groups and the SIGs can be found here

Community Meetups are held at least once a year. Content from previous community meetups are at:

  • 2020.04.09 https://lf-aidata.atlassian.net/wiki/spaces/DL/pages/14091402/LF+AI+Day+-ONNX+Community+Virtual+Meetup+-+Silicon+Valley+-+2020+April+9
  • 2020.10.14 https://lf-aidata.atlassian.net/wiki/spaces/DL/pages/14092138/LF+AI+Day+-+ONNX+Community+Workshop+-+2020+October+14
  • 2021.03.24 https://lf-aidata.atlassian.net/wiki/spaces/DL/pages/14092424/Instructions+for+Event+Hosts+-+LF+AI+Data+Day+-+ONNX+Virtual+Community+Meetup+-+March+2021
  • 2021.10.21 https://lf-aidata.atlassian.net/wiki/spaces/DL/pages/14093194/LF+AI+Data+Day+ONNX+Community+Virtual+Meetup+-+October+2021
  • 2022.06.24 https://lf-aidata.atlassian.net/wiki/spaces/DL/pages/14093969/ONNX+Community+Day+-+2022+June+24
  • 2023.06.28 https://lf-aidata.atlassian.net/wiki/spaces/DL/pages/14094507/ONNX+Community+Day+2023+-+June+28

Discuss

We encourage you to open Issues, or use Slack (If you have not joined yet, please use this link to join the group) for more real-time discussion.

Follow Us

Stay up to date with the latest ONNX news. [Facebook] [Twitter/X]

Roadmap

A roadmap process takes place every year. More details can be found in ROADMAP.md.

Installation

ONNX released packages are published in PyPi.

bash
pip install onnx # or pip install onnx[reference] for optional reference implementation dependencies

ONNX weekly packages are published in PyPI to enable experimentation and early testing.

Detailed install instructions, including Common Build Options and Common Errors can be found here

Python ABI3 Compatibility

This package provides abi3-compatible wheels, allowing a single binary wheel to work across multiple Python versions (from 3.12 onwards).

Testing

ONNX uses pytest as test driver. In order to run tests, you will first need to install pytest:

bash
pip install pytest

After installing pytest, use the following command to run tests.

bash
pytest

Development

Check out the contributor guide for instructions.

Reproducible Build Support

ONNX build and release workflows set SOURCE_DATE_EPOCH to the source commit timestamp. This removes timestamp-dependent variation from supported build steps and makes independent build comparison easier.

SOURCE_DATE_EPOCH alone does not guarantee byte-for-byte identical artifacts across different environments. A reproducibility check must also use the same source revision, dependency versions, toolchain, target platform, and build configuration, and then compare the resulting artifacts.

Why this matters

A fixed build timestamp removes one known source of nondeterminism. When independent builds use the same controlled inputs, their artifacts can be compared byte for byte, with cryptographic digests providing a practical shortcut. A byte-for-byte match demonstrates identical outputs, while a mismatch identifies a difference that needs investigation. This comparison complements release provenance attestations; it does not replace them.

Release artifacts are available from PyPI.

License

Apache License v2.0

Trademark

Checkout https://trademarks.justia.com for the trademark.

General rules of the Linux Foundation on Trademark usage

Code of Conduct

ONNX Open Source Code of Conduct

Issues· 234 open

View all issuesOpen on GitHub
  • #7337

    DeformConv

    questionstaleUpdated Oct 1, 2026
  • #8497

    onnxruntime integration test failed

    [bot] onnxruntime integration testUpdated Sep 28, 2026
  • #7277

    STFT with 2D signal input

    topic: operatorUpdated Sep 26, 2026
  • #7721

    Shape Inference returns incorrect output for Conv with asymmetric padding and strides

    bugUpdated Sep 24, 2026
  • #8481

    Slice shape inference aborts the process (SIGABRT) on a negative input dim

    Updated Sep 22, 2026
  • #8370

    [Umbrella] ONNX gaps for storage-faithful and efficient GGUF/LLM interchange

    module: spectopic: quantizationtrackingUpdated Sep 18, 2026
  • #6772

    Introduction of https://www.conventionalcommits.org/ for PullRequest Titles?

    topic: better engineeringdiscussionUpdated Sep 13, 2026
  • #7224

    How to build onnx quantize fp8 Flux model?

    questiontopic: quantizationUpdated Sep 13, 2026
  • #7465

    Requesting ONNX equivalent to torch_cluster::knn

    topic: operatortopic: enhancementUpdated Sep 13, 2026
  • #7672

    Create a skill for updating an operator

    topic: enhancementtopic: skillsUpdated Sep 13, 2026

> Tags

Pythonaiartificial-intelligencedeep-learningdeep-neural-networks

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理