Skip to content

fix: update conversion script for onnx v1.18.0 and Python 3.13.2 compatibility #1368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy