Analysis updated 2026-07-07 · repo last pushed 2022-02-10
Convert a PyTorch model to ONNX format so it can run on a different inference server.
Check that the data shapes flowing through a model are correct before deployment.
Optimize a model's computation graph to improve inference speed.
Convert an older ONNX model to a newer version of the standard.
| zihaomu/onnx | 0xhassaan/nn-from-scratch | 0xzgbot/hermes-comfyui-skills | |
|---|---|---|---|
| Stars | — | 0 | 0 |
| Language | — | Python | — |
| Last pushed | 2022-02-10 | — | — |
| Maintenance | Dormant | — | — |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 3/5 | 4/5 | 1/5 |
| Audience | developer | developer | designer |
Figures from each repo's GitHub metadata at analysis time.
You typically need a model already trained in a framework like PyTorch or TensorFlow to convert, plus an ONNX-compatible runtime installed to run inference.
Imagine you built a machine learning model using one set of tools, but now you need to deploy it using a completely different set of tools. Normally, this would be like trying to use a Mac program on a Windows computer, it just doesn't work without some kind of translation. ONNX solves this problem by providing a universal file format for AI models. You can think of it as a common language that lets you train a model in one framework and run it in another, without having to rewrite or retrain anything. At its core, ONNX defines a standard way to represent the math that a machine learning model does. When you convert a model to the ONNX format, it gets broken down into a graph of operations, things like additions, multiplications, and other computations, along with the data types those operations use. Any tool or hardware that understands this standard can then load and run the model. The project focuses specifically on "inferencing," which means using a finished model to make predictions, rather than training new models from scratch. This is useful for data scientists and engineering teams who want flexibility in their toolchain. For example, a researcher might train a model using PyTorch but then need to deploy it on a server that only supports a different framework. Instead of being locked into one ecosystem, they can export the model to ONNX and move freely between tools. The project is widely supported across the AI industry, with many popular frameworks, tools, and hardware platforms able to read and run ONNX files. The project also includes utilities for working with ONNX models once they are in this format, such as checking the shapes of data flowing through the model, optimizing the computation graph, and converting between different versions of the standard. It is an open-source, community-driven project that welcomes contributions, including proposals for new operations to add to the specification.
ONNX is an open standard that lets you convert AI models into a universal file format so they can run on any framework or hardware without retraining.
Dormant — no commits in 2+ years (last push 2022-02-10).
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.