Registry / ai-ml / qonnx
library1.0.0pypypi✓ verified 86d ago

Frontend and utilities for Quantized ONNX (QONNX), a representation for quantized neural networks built on ONNX. Current version 1.0.0. Release cadence is irregular, approximately quarterly.

pip install qonnx
INSTALL
IMPORT
SIG · QONNX
Q
qonnx
ai-mlpythonv1.0.0
Install
15.3s avg
Import
605ms
Disk
340MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.0.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
installs and imports cleanly · install 15.3s · import 0.484s · 313MB
340MB installed
● package 340MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ModelWrapper
from qonnx.core.modelwrapper import ModelWrapper
QuantConfig
from qonnx.core.quant import QuantConfig

Load and save a QONNX model. Replace 'model.onnx' with your file.

from qonnx.core.modelwrapper import ModelWrapper model = ModelWrapper('model.onnx') model.save('output.onnx')
qonnx --version
Debug
Known issues
breakingIn v1.0.0, the QKeras converter and Brevitas dependency were removed. Converters must now be implemented in companion packages.
fix
Use external converter packages for QKeras or Brevitas models.
affects: >=1.0.0
deprecatedFunctions and utilities migrated to qonnx.util or qonnx.transforms may have changed signatures. Check the new module paths.
fix
Review the release notes for full list of changes.
affects: >=1.0.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'qonnx'
The package is not installed.
fix
Run: pip install qonnx
AttributeError: module 'qonnx' has no attribute 'ModelWrapper'
Importing directly from the top-level module instead of the correct submodule.
fix
Use: from qonnx.core.modelwrapper import ModelWrapper
Upgrade
Version history
1.0.0latest on PyPI · released Feb 19, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
qonnx — pip install qonnx · libregistry