Skip to content
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

Add patch for ONNX 1.16.0 shape inference bug #20316

Merged
merged 7 commits into from
Apr 17, 2024

Conversation

adrianlizarraga
Copy link
Contributor

@adrianlizarraga adrianlizarraga commented Apr 15, 2024

Description

Motivation and Context

The PR for integrating with ONNX 1.16.0 disabled various python quantization tests due to a shape inference bug. This PR applies the ONNX fix as a patch. We still can't enable the tests because some of our CIs pip install onnx-1.16.0, which doesn't include the fix.

@adrianlizarraga adrianlizarraga changed the title Add patch for ONNX 1.16.0 shape inference segfault Add patch for ONNX 1.16.0 shape inference bug Apr 15, 2024
@yuslepukhin
Copy link
Member

The changes in the PR appear to be independent. Worth splitting the PR?

@adrianlizarraga adrianlizarraga marked this pull request as ready for review April 16, 2024 23:01
Copy link
Contributor

@gramalingam gramalingam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@adrianlizarraga adrianlizarraga merged commit 0a19025 into main Apr 17, 2024
94 checks passed
@adrianlizarraga adrianlizarraga deleted the adrianl/onnx-shape-inf-patch-pr-6080 branch April 17, 2024 17:23
TedThemistokleous pushed a commit to TedThemistokleous/onnxruntime that referenced this pull request May 7, 2024
### Description
- Adds a patch that fixes a shape inference bug that caused a segfault:
onnx/onnx#6080
- Fix documentation describing why QLinearMatMul tests are currently
being skipped.



### Motivation and Context
The [PR for integrating with ONNX
1.16.0](microsoft#19745) disabled
various python quantization tests due to a shape inference bug. This PR
applies the ONNX fix as a patch. We still can't enable the tests because
some of our CIs pip install onnx-1.16.0, which doesn't include the fix.
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.

3 participants