Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Adjust Quantization Preprocessing on Opset Handling#26503

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
qti-hungjuiw wants to merge1 commit intomicrosoft:main
base:main
Choose a base branch
Loading
fromCodeLinaro:dev/qti-hungjuiw/quant-pre-version-convert

Conversation

@qti-hungjuiw
Copy link
Contributor

Description

  • MovedReplaceUpsampleWithResize in the quantization preprocessing pipeline to occur beforeSymbolicShapeInference, due to the current lack of shape inference support for theUpsample operator.
    Prevented unnecessary modifications tomodel.opset_import. Settingmodel.opset_import prior to invokingonnx.version_converter can interfere with successful opset conversion.

Motivation and Context

  • This change ensures the quantization preprocessing functions correctly by addressing limitations in shape inference forUpsample.
  • It also avoids potential issues with opset conversion caused by premature modification ofmodel.opset_import.

- Move ReplaceUpsampleWithResize prior to SymbolicShapeInference- Avoid unnecessary modification on model.opset_import    - Setting model.opset_import manually prevents version_converter      from successfully convertering the opset
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@qti-hungjuiw

[8]ページ先頭

©2009-2025 Movatter.jp