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 missing shape inference check for DequantizeLinear #6080

Merged
merged 4 commits into from
Apr 23, 2024

Conversation

gramalingam
Copy link
Contributor

Add missing hasInputShape condition in shape-inference for DequantizeLinear ... strangely missing in last two versions, but present in earlier version.

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
@gramalingam gramalingam requested a review from a team as a code owner April 12, 2024 00:31
Copy link

codecov bot commented Apr 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.03%. Comparing base (83194ed) to head (cf91e21).
Report is 17 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6080      +/-   ##
==========================================
+ Coverage   56.95%   57.03%   +0.08%     
==========================================
  Files         506      506              
  Lines       30467    30935     +468     
  Branches     4592     4592              
==========================================
+ Hits        17353    17645     +292     
- Misses      12285    12464     +179     
+ Partials      829      826       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

adrianlizarraga added a commit to microsoft/onnxruntime that referenced this pull request Apr 15, 2024
@justinchuby justinchuby added the review needed: operators approvers Require reviews from members of operators-approvers label Apr 16, 2024
adrianlizarraga added a commit to microsoft/onnxruntime that referenced this pull request Apr 17, 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](#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.
@gramalingam gramalingam self-assigned this Apr 17, 2024
@gramalingam gramalingam added this pull request to the merge queue Apr 23, 2024
Merged via the queue into onnx:main with commit 5ecc0a9 Apr 23, 2024
38 checks passed
@gramalingam gramalingam deleted the shape-infer-bug branch April 23, 2024 17:22
@cjvolzka cjvolzka added this to the 1.16.1 milestone Apr 29, 2024
cjvolzka pushed a commit that referenced this pull request Apr 29, 2024
Add missing `hasInputShape` condition in shape-inference for
DequantizeLinear ... strangely missing in last two versions, but present
in earlier version.

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
(cherry picked from commit 5ecc0a9)
@cjvolzka cjvolzka mentioned this pull request Apr 29, 2024
cjvolzka pushed a commit that referenced this pull request Apr 29, 2024
Add missing `hasInputShape` condition in shape-inference for
DequantizeLinear ... strangely missing in last two versions, but present
in earlier version.

Signed-off-by: G. Ramalingam <grama@microsoft.com>
(cherry picked from commit 5ecc0a9)
isdanni pushed a commit to isdanni/onnx that referenced this pull request May 6, 2024
Add missing `hasInputShape` condition in shape-inference for
DequantizeLinear ... strangely missing in last two versions, but present
in earlier version.

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Signed-off-by: isdanni <leedanni@gmail.com>
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.
cjvolzka added a commit that referenced this pull request May 9, 2024
### Description
Check-pick commits from `main` into `rel-1.16.1` branch

### Motivation and Context
Fix 1.16.0 issues and enabled 1.16.1 builds by cherry-picking the
following PRs from `main` into the `1.16.1` branch

* Fixes since 1.16.0 release
    * #6049
    * #6048
    * #6080
    * #6122

* Update CI and Build to enable 1.16.1 builds
    * #6106
    * #6129
    * #6075
    * #6117

---------

Co-authored-by: liqun Fu <liqfu@microsoft.com>
Co-authored-by: G. Ramalingam <grama@microsoft.com>
Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com>
Co-authored-by: Adrian Lizarraga <adlizarraga@microsoft.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
gramalingam added a commit to gramalingam/onnx that referenced this pull request Jun 6, 2024
Add missing `hasInputShape` condition in shape-inference for
DequantizeLinear ... strangely missing in last two versions, but present
in earlier version.

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
andife pushed a commit to andife/onnx that referenced this pull request Jul 20, 2024
Add missing `hasInputShape` condition in shape-inference for
DequantizeLinear ... strangely missing in last two versions, but present
in earlier version.

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review needed: operators approvers Require reviews from members of operators-approvers
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants