onnxconverter-common
ONNX Converter and Optimization Tools
What it is and what it does
onnxconverter-common is a utility library that sits at the intersection of multiple machine learning framework converters, providing shared functions and abstractions for translating models to ONNX format. Rather than being a converter itself, it acts as a foundation that different framework-specific converters build upon—allowing them to work together when a model combines components from multiple frameworks (like a scikit-learn pipeline that includes an xgboost model). The package depends on numpy, onnx, packaging, and protobuf, making it a lightweight addition to existing ONNX workflows.
The library is maintained by Microsoft, actively developed, and supports Python 3.8 through 3.13 on Linux, Windows, and macOS. It carries an MIT License, making it suitable for both open-source and commercial use. With nearly 2 million monthly downloads and a position in the top 5000 PyPI packages, it is a stable, widely-adopted component in the ONNX ecosystem.
Use it for:
- Build a converter that translates scikit-learn models to ONNX using shared utility functions
- Enable a pipeline that combines xgboost and scikit-learn models and exports them together to ONNX
- Develop a custom framework converter that leverages common ONNX conversion patterns and helpers
- Optimize model export workflows by reusing standardized conversion logic across multiple frameworks
- Integrate model format conversion into a production ML serving pipeline that targets ONNX runtime
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides common utilities and functions for converting machine learning models from various AI frameworks to ONNX format, enabling interoperability between different framework converters.
Yes. onnxconverter-common is a stable, actively maintained library with low install friction, no known vulnerabilities, and permissive licensing. Install it if you are building or using ONNX converters, especially when working with multiple frameworks or planning to leverage existing converter ecosystems. It is a foundational dependency rather than a standalone tool, so evaluate it in the context of your specific converter needs.
Install
onnxconverter-common on PyPI
pip
pip install onnxconverter-commonuv
uv add onnxconverter-commonpoetry
poetry add onnxconverter-commonInstalling onnxconverter-common
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with a recent release (351 days ago) and ongoing repository activity. Supports current Python versions from 3.8 through 3.13.
License in practice
MIT License permits unrestricted use, modification, and distribution for both commercial and private projects with minimal restrictions—only requiring preservation of copyright and license notices.
Quickstart
pip install onnxconverter-common
import onnxconverter_common
from onnx import load
# Use converter utilities with your ONNX model
model = load('model.onnx')
Verify before relying
- Specific converter frameworks supported beyond the general statement of 'various AI frameworks'
- Whether mixed-framework conversion (e.g. scikit-learn + xgboost) is production-ready or experimental
- Performance characteristics or optimization capabilities beyond the reference to float16 documentation
Package facts
| License | MIT License Copyright (c) Microsoft Corporation. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — numpy, onnx, packaging, protobuf |
| Maintenance | actively maintained — 351 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,897,193/month — #3,450 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: onnxconverter_common-1.16.0-py2.py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
onnxmltoolsConverts machine learning models from multiple…
permissive · top 5,000 on PyPI
onnxONNX provides an open-source format and runtime…
permissive · top 5,000 on PyPI
onnx2torchConverts ONNX models to PyTorch modules with a…
permissive · top 15,000 on PyPI
skl2onnxConverts trained scikit-learn models to ONNX…
permissive · top 5,000 on PyPI
tf2onnxConverts TensorFlow, Keras, TensorFlow.js, and…
permissive · top 15,000 on PyPI
onnx2tfConverts ONNX model files to LiteRT,…
permissive · top 5,000 on PyPI
onnx-weeklyonnx-weekly provides a Python package for…
permissive · top 15,000 on PyPI
tensorflowjsConverts TensorFlow models to TensorFlow.js…
permissive · top 5,000 on PyPI
scc4onnxConverts ONNX model input tensor dimensions and…
permissive · top 15,000 on PyPI
sarif-omProvides Python classes implementing the SARIF…
permissive · top 5,000 on PyPI