The USB-C port for AI models
An open standard that lets you train in PyTorch and deploy on hardware that has never heard of it.

What it does
ONNX defines a common file format and computation graph for machine learning models — both deep learning and traditional ML. Train in one framework, convert to ONNX, and run inference somewhere else entirely. The project also ships Python utilities for shape inference, graph optimization, and opset version conversion.
The interesting bit
The “exchange” part is the real work. ONNX doesn’t just specify a schema; it maintains operator definitions and standard data types that every participating framework must agree on. It’s essentially a treaty, negotiated in public, with a steering committee, working groups, and annual roadmap cycles. The Linux Foundation governance model is visible in the repo itself.
Key highlights
- Supports both deep learning and traditional ML models
- Provides shape/type inference, graph optimization, and version conversion tools
- Ships abi3-compatible wheels (single binary works across Python 3.12+)
- Reproducible Linux builds using
SOURCE_DATE_EPOCHfor bit-for-bit verification - SLSA Level 2 and OpenSSF Scorecard badges in the README
Caveats
- Scope is explicitly inference-only; training semantics are out of bounds
- The README is heavy on governance and meeting schedules, light on technical architecture
- Weekly PyPI packages suggest the release cadence may be brisk enough to surprise production users
Verdict
Worth knowing if you ship models across framework boundaries or to edge hardware. Skip it if you train and deploy within the same walled garden and plan to keep it that way.
Frequently asked
- What is onnx/onnx?
- An open standard that lets you train in PyTorch and deploy on hardware that has never heard of it.
- Is onnx open source?
- Yes — onnx/onnx is open source, released under the Apache-2.0 license.
- What language is onnx written in?
- onnx/onnx is primarily written in Python.
- How popular is onnx?
- onnx/onnx has 21.7k stars on GitHub.
- Where can I find onnx?
- onnx/onnx is on GitHub at https://github.com/onnx/onnx.