Skip to content

Conversation

tshasan
Copy link

@tshasan tshasan commented Jul 17, 2025

This PR updates the conversion scripts to be compatible with ONNX v1.18.0 and Python 3.13.2.

Changes Made

  • Updated ONNX dependency: Bumped from onnx==1.17.0 to onnx==1.18.0 in requirements.txt
  • Fixed import statements: Changed from relative imports to absolute imports in convert.py and quantize.py
  • Added missing imports: Added ORTQuantizer and QuantizationConfig imports that are now required
  • Updated deprecated imports: Fixed import paths that changed in newer versions of optimum
    The previous import structure was causing issues with newer Python versions and the ONNX dependency was outdated. These changes ensure the conversion scripts work properly in modern Python environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant