<!-- Copyright (c) ONNX Project Contributors SPDX-License-Identifier: Apache-2.0 --> Open Neural Network Exchange (ONNX) is an open ecosystem that empowers AI developers to choose the right tools as their project…
<!--
Copyright (c) ONNX Project Contributors
SPDX-License-Identifier: Apache-2.0
-->






https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" rel="noopener nofollow" target="_blank">

Open Neural Network Exchange (ONNX) 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
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
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
- 2020.10.14
- 2021.03.24
- 2021.10.21
- 2022.06.24
- 2023.06.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 here
Installation
ONNX released packages are published in PyPi.
sh
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:
sh
pip install pytest
After installing pytest, use the following command to run tests.
sh
pytest
Development
Check out the contributor guide for instructions.
Reproducible Builds (Linux)
This project provides reproducible builds for Linux.
A *reproducible build* means that the same source code will always produce identical binary outputs, no matter who builds it or where it is built.
To achieve this, we use the SOURCE_DATE_EPOCH standard. This ensures that build timestamps and other time-dependent information are fixed, making the output bit-for-bit identical across different environments.
Why this matters
- Transparency: Anyone can verify that the distributed binaries were created from the published source code.
- Security: Prevents tampering or hidden changes in the build process.
- Trust: Users can be confident that the binaries they download are exactly what the maintainers intended.
License
[Apache License v2.0](LICENSE)
Trademark
Checkout https://trademarks.justia.com for the trademark.General rules of the Linux Foundation on Trademark usage
Code of Conduct
Members
-
tutorials ★ PINNED
Tutorials for creating and using ONNX models
Jupyter Notebook ★ 3.7k 22d agoExplain → -
onnx ★ PINNED
Open standard for machine learning interoperability
Python ★ 21k 8h agoExplain → -
ir-py ★ PINNED
Efficient in-memory representation for ONNX, in Python
Python ★ 45 7d agoExplain → -
models
A collection of pre-trained, state-of-the-art models in the ONNX format
Jupyter Notebook ★ 9.7k 12d agoExplain → -
onnx-tensorrt
ONNX-TensorRT: TensorRT backend for ONNX
C++ ★ 3.2k 20d agoExplain → -
tensorflow-onnx
Convert TensorFlow, Keras, Tensorflow.js and Tflite models to ONNX
Jupyter Notebook ★ 2.5k 5d agoExplain → -
onnx-tensorflow
Tensorflow Backend for ONNX
Python ★ 1.3k 2y agoExplain → -
onnxmltools
ONNXMLTools enables conversion of models to ONNX
Python ★ 1.2k 11d agoExplain → -
onnx-mlir
Representation and Reference Lowering of ONNX Models in MLIR Compiler Infrastructure
C++ ★ 1.0k 2d agoExplain → -
optimizer
ONNX Optimizer
C++ ★ 825 11d agoExplain → -
sklearn-onnx
Convert scikit-learn models and pipelines to ONNX
Python ★ 626 1mo agoExplain → -
onnx-coreml ▣
ONNX to Core ML Converter
Python ★ 412 6y agoExplain → -
keras-onnx ▣
Convert tf.keras/Keras models to ONNX
Python ★ 381 4y agoExplain → -
turnkeyml
No-code CLI designed for accelerating ONNX workflows
Python ★ 240 11d agoExplain → -
onnx-caffe2 ▣
Caffe2 implementation of Open Neural Network Exchange (ONNX)
Python ★ 167 8y agoExplain → -
onnx-docker ▣
Dockerfiles and scripts for ONNX container images
Jupyter Notebook ★ 139 3y agoExplain → -
neural-compressor
Model compression for ONNX
Python ★ 101 2mo agoExplain → -
onnx-mxnet ▣
ONNX model format support for Apache MXNet
Python ★ 96 7y agoExplain → -
digestai
Digest AI is a powerful model analysis tool that extracts insights from your models.
Python ★ 52 1y agoExplain → -
onnx-r
R Interface to Open Neural Network Exchange (ONNX)
R ★ 48 3y agoExplain → -
working-groups
Repository for ONNX working group artifacts
Jupyter Notebook ★ 34 6d agoExplain → -
backend-scoreboard
Scoreboard for ONNX Backend Compatibility
Python ★ 29 1d agoExplain → -
steering-committee
Notes and artifacts from the ONNX steering committee
Jupyter Notebook ★ 29 11d agoExplain → -
onnx.github.io
Code of the official webpage of onnx
HTML ★ 29 11d agoExplain → -
sigs
Repository for ONNX SIG artifacts
★ 26 5d agoExplain → -
onnx-xla ▣
XLA integration of Open Neural Network Exchange (ONNX)
C++ ★ 19 8y agoExplain → -
wheel-builder ▣
Utils for building and publishing ONNX wheels
Shell ★ 7 2y agoExplain → -
onnx-cntk ▣
No description.
Python ★ 5 8y agoExplain → -
community-meetups
No description.
★ 1 5d agoExplain → -
community-meetup
No description.
★ 0 1mo agoExplain → -
landscape
ONNX Landscape
Shell ★ 0 3mo agoExplain →
No repos match these filters.
More creators on gitmyhub
iamshaunjp WebDevSimplified paulirish iam-veeramalla tiangolo