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

[Cherry-pick]Fix SegFault bug in shape inference #5995

Merged
merged 2 commits into from Mar 5, 2024
Merged

Conversation

cjvolzka
Copy link
Contributor

@cjvolzka cjvolzka commented Mar 4, 2024

Description

Cherry-Pick #5990 into rel-1.16.0 branch

The bug is SegFault during shape inference if the schema not be set inference function.

The schema has CheckInputOutputType for shape inference and Verify for raw node proto. And the behavior is not fully aligned.

Motivation and Context

fixes #5989

### Description
Cherry-pick #5990 into `rel-1.16.0` branch

The bug is SegFault during shape inference if the schema not be set
inference function.

The schema has `CheckInputOutputType` for shape inference and `Verify`
for raw node proto. And the behavior is not fully aligned.

### Motivation and Context

fixes #5989

---------

Signed-off-by: opluss <opluss@qq.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
@cjvolzka cjvolzka requested review from a team as code owners March 4, 2024 22:41
@cjvolzka cjvolzka enabled auto-merge (squash) March 4, 2024 22:41
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (rel-1.16.0@e6ff7b9). Click here to learn what that means.

Additional details and impacted files
@@              Coverage Diff              @@
##             rel-1.16.0    #5995   +/-   ##
=============================================
  Coverage              ?   56.82%           
=============================================
  Files                 ?      506           
  Lines                 ?    30365           
  Branches              ?     4590           
=============================================
  Hits                  ?    17254           
  Misses                ?    12283           
  Partials              ?      828           

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

@cjvolzka cjvolzka added this to the 1.16 milestone Mar 4, 2024
@cjvolzka cjvolzka merged commit c867683 into rel-1.16.0 Mar 5, 2024
68 checks passed
@cjvolzka cjvolzka deleted the dev-fix-bug branch March 5, 2024 00:45
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

3 participants