ONNX

Move a model between frameworks and runtimes
ML frameworks & MLOpsModel interchangeApache-2.0Runs locallyPythonIntermediate
OSAI Pulse ⓘ ★★★★★★★★★★ /100 signals tracked
🐳 Docker pulls 📦 PyPI downloads / month 📦 npm downloads / month 🚀 Latest release ·
Visit website →View on GitHub

What is ONNX?

ONNX is the common format that lets a model trained in PyTorch run in a C++ runtime, on mobile, or on an edge accelerator.

Why people choose ONNX

ONNX at a glance

CategoryML frameworks & MLOps
TypeModel interchange
LicenseApache-2.0
Runs locallyYes
Built withPython
Skill levelIntermediate
Best fordeploying a model somewhere its training framework cannot go

Open-source alternatives to ONNX

Other open-source ml frameworks & mlops tools worth comparing:

DagsterOrchestration that thinks in data assets, not tasksTensorFlowGoogle's deep-learning framework, built for productionPyTorchThe framework nearly every modern AI model is written inOpenCVThe computer vision library everything else builds onscikit-learnClassical machine learning, done properlyApache AirflowSchedule and monitor data pipelinesRayScale Python from a laptop to a clusterJAXNumPy with autodiff, JIT and TPUsXGBoostStill the one to beat on tabular dataLabel StudioLabel anything — text, images, audio, videoMLflowTrack experiments and ship models without the spreadsheetLightGBMGradient boosting that trains fast on big tablesCVATSerious annotation for computer visionDVCGit for datasets and modelsOptunaFind the right hyperparameters without guessing

ONNX head-to-head

ONNX vs DagsterONNX vs TensorFlowONNX vs PyTorchONNX vs OpenCVONNX vs scikit-learnONNX vs Apache AirflowONNX vs RayONNX vs JAXONNX vs XGBoostONNX vs Label StudioONNX vs MLflowONNX vs LightGBMONNX vs CVATONNX vs DVCONNX vs Optuna

FAQ

Is ONNX free?

ONNX is free and open-source (Apache-2.0 license), so you can use, self-host and modify it at no cost.

Can I run ONNX locally?

Yes. ONNX is designed to run on your own machine or server, keeping your data private.

What is the best alternative to ONNX?

Popular open-source alternatives include Dagster, TensorFlow, PyTorch. See the comparisons above to choose.

Explore more open-source AI

Browse the full directory of open-source AI tools, models and projects — updated daily.

Browse all tools →