Releases: Quantco/spox
Releases · Quantco/spox
0.17.1 (2026-02-17)
0.17.0 (2026-01-13)
Bug fix
- Using
spox.inlinewith disabled value propagation (fromspox._future) no longer raises an exception.
New features
- Added support for version 23 and 24 of opset
ai.onnx. - Added support for the following data types via the
ml_dtypespackage:bfloat16float8_e4m3fnfloat8_e4m3fnuzfloat8_e5m2float8_e5m2fnuzuint4int4
Other change
- Spox now requires at least Python 3.10.
0.16.0 (2025-06-20)
New feature
- The instantiation time of constant numerical tensors has been significantly reduced by encoding their payload as raw bytes.
0.15.0 (2025-06-06)
Bug fix
- All models (including those used for value propagation operations) are now consistently built using IR version 8 introduced in ONNX 1.16.0.
0.14.1 (2025-06-04)
Technical release to address a PyPI publishing issue.
0.14.0 (2025-06-03)
Breaking change
- The
spox.opset.ai.onnx.v18.group_normalizationconstructor function
and its re-exports inspox.opset.ai.onnx.v19,
spox.opset.ai.onnx.v20have been removed due to it being deprecated
upstream.
Bug fix
- Adds missing shape inference logic for
spox.opsets.ai.v19.loopand
spox.opsets.ai.v21.loop.
New feature
- The
ai.onnxopset version 22 (released with ONNX 1.18) has been
added to Spox. - Propagated values may now be garbage collected if their associated
Var object goes out of scope.
Other changes
spox.opsets.ai.v17.loop,spox.opsets.ai.v19.loopand
spox.opsets.ai.v21.loopwill only infer shapes for loop carried
dependencies if their shapes are unchanged across iterations.
0.13.0 (2024-12-06)
Support change
- Support for
Python 3.8has been dropped.
Bug fix
- Value propagation of string tensors no longer raises an erroneous
ValueErrorin some instances.
Deprecation
- Importing
spox._future.operator_overloadingnow triggers aDeprecationWarning. The function will be removed in a future release. Consider usingndonnxas an alternative.
Other changes
- The adaption logic is not using inferred values as initializers anymore.
0.12.1 (2024-06-18)
Bug fix
- Unset optional inputs are no longer erroneously prefixed by
spox.inline.
Other changes
- The node-naming algorithm now has constant rather than quadratic time complexity.
0.12.0 (2024-05-16)
New feature
- The
spox.buildfunction gained the optionaldrop_unused_inputsargument.
0.11.0 (2024-04-23)
New feature
- Add opsets
ai.onnxversion 21 andai.onnx.mlversion 5 (released with ONNX 1.16)