Skip to content

2.0.3

Choose a tag to compare

@PINTO0309 PINTO0309 released this 06 Feb 23:25
· 2252 commits to main since this release

v2.0.3

Key Changes

1. Removed onnx-graphsurgeon dependency (breaking change)

  • Introduced onnx2tf/gs.py and migrated away from onnx_graphsurgeon.
  • Switched imports in almost all OP implementations from onnx_graphsurgeon as gs to onnx2tf.gs as gs.
  • Core commit:
    • 3dae8d2 Breaking away from dependency on onnx-graphsurgeon

2. Improved GS compatibility

  • Separated Constant from Variable inheritance and introduced a new Tensor base 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 ScatterND after GS migration.
  • Added mismatch mitigation such as shape normalization (absorbing list/tuple differences).
  • Core commits:
    • 2552377 Bug fixes for ScatterND after gs migration
    • d0be8d8 normalization

4. Dependency and runtime environment updates

  • Updated onnx / onnxruntime.
  • Updated CI runtime to Ubuntu 24.04 / Python 3.12.
  • Replaced onnxsim with onnxsim-prebuilt.
  • Updated sng / sne versions.
  • 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

Full Changelog: 1.29.24...2.0.2