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

fix a skipped shape infer code #6049

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Conversation

liqunfu
Copy link
Contributor

@liqunfu liqunfu commented Mar 29, 2024

Description

If shape-inference encounters a custom-op, inference results are not updated for subsequent nodes.

See PR #6068 for an example and test-case illustrating the issue.

Signed-off-by: Liqun Fu <liqfu@microsoft.com>
@liqunfu liqunfu requested a review from a team as a code owner March 29, 2024 00:04
Copy link

codecov bot commented Mar 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.95%. Comparing base (83194ed) to head (1c6f984).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6049   +/-   ##
=======================================
  Coverage   56.95%   56.95%           
=======================================
  Files         506      506           
  Lines       30467    30467           
  Branches     4592     4592           
=======================================
  Hits        17353    17353           
  Misses      12285    12285           
  Partials      829      829           

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

@justinchuby
Copy link
Contributor

Would it be possible to have a test for this?

@gramalingam
Copy link
Contributor

Would it be possible to have a test for this?

Let me add a test (after merging this in). Liqun is busy with something else right now.

@gramalingam gramalingam added this pull request to the merge queue Apr 3, 2024
Merged via the queue into main with commit fa0b899 Apr 3, 2024
41 checks passed
@gramalingam gramalingam deleted the liqun/shape-info-1.16.0-fix branch April 3, 2024 17:43
github-merge-queue bot pushed a commit that referenced this pull request Apr 12, 2024
Add a unit test for the fix introduced by
#6049

---------

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
gramalingam added a commit to gramalingam/onnx that referenced this pull request Apr 12, 2024
Add a unit test for the fix introduced by
onnx#6049

---------

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
gramalingam pushed a commit to gramalingam/onnx that referenced this pull request Apr 12, 2024
### Description
<!-- - Describe your changes. -->

### Motivation and Context
<!-- - Why is this change required? What problem does it solve? -->
<!-- - If it fixes an open issue, please link to the issue here. -->

Signed-off-by: Liqun Fu <liqfu@microsoft.com>
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
gramalingam added a commit to gramalingam/onnx that referenced this pull request Apr 12, 2024
Add a unit test for the fix introduced by
onnx#6049

---------

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
@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
### Description
<!-- - Describe your changes. -->

### Motivation and Context
<!-- - Why is this change required? What problem does it solve? -->
<!-- - If it fixes an open issue, please link to the issue here. -->

Signed-off-by: Liqun Fu <liqfu@microsoft.com>
(cherry picked from commit fa0b899)
@cjvolzka cjvolzka mentioned this pull request Apr 29, 2024
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 a unit test for the fix introduced by
onnx#6049

---------

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants