2.0.3
v2.0.3
Key Changes
1. Removed onnx-graphsurgeon dependency (breaking change)
- Introduced
onnx2tf/gs.pyand migrated away fromonnx_graphsurgeon. - Switched imports in almost all OP implementations from
onnx_graphsurgeon as gstoonnx2tf.gs as gs. - Core commit:
- 3dae8d2 Breaking away from dependency on onnx-graphsurgeon
2. Improved GS compatibility
- Separated
ConstantfromVariableinheritance and introduced a newTensorbase class. - Improved GS-compatible behavior for constant handling and I/O resolution.
- Core commit:
- 4ad5d63 Constant has been separated from Variable inheritance and a new Tensor base class has been created
3. Conversion stability improvements (layout/shape handling)
- Fixed issues around
ScatterNDafter GS migration. - Added mismatch mitigation such as shape normalization (absorbing list/tuple differences).
- Core commits:
4. Dependency and runtime environment updates
- Updated
onnx/onnxruntime. - Updated CI runtime to
Ubuntu 24.04/Python 3.12. - Replaced
onnxsimwithonnxsim-prebuilt. - Updated
sng/sneversions. - Related commits:
5. CI / publishing / documentation maintenance
- Updated workflows (
test-models.yml,python-publish.yml,codeql-analysis.yml). - Updated
README.md. - Added GS compatibility tests (
tests/test_gs_compat.py). - Related commits:
6. Dependencies
- requests==2.32.5
- numpy==1.26.4
- onnx==1.20.1
- onnxruntime==1.24.1
- opencv-python==4.11.0.86
- onnxsim-prebuilt==0.4.39.post2
- onnxoptimizer==0.4.2
- ai-edge-litert==2.1.0
- tensorflow==2.19.0
- tf-keras==2.19.0
- sne4onnx==2.0.0
- sng4onnx==2.0.0
- psutil==5.9.5
- protobuf==4.25.5
- h5py==3.12.1
- ml_dtypes==0.5.1
- flatbuffers==25.12.19
7. Docker
- Ubuntu 24.04 linux/amd64
- Ubuntu 24.04 linux/arm64
What's Changed
- Breaking away from dependency on onnx-graphsurgeon by @PINTO0309 in #829
- onnx,onnxruntime latest,ubuntu24.04,python3.12 by @PINTO0309 in #830
- Update deps by @PINTO0309 in #831
- Constant has been separated from Variable inheritance and a new Tensor base class has been created by @PINTO0309 in #832
- Bug fixes for ScatterND after gs migration by @PINTO0309 in #833
- normalization by @PINTO0309 in #834
- V2 by @PINTO0309 in #835
Full Changelog: 1.29.24...2.0.2