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 reference implementation for nested local functions #5817

Merged
merged 6 commits into from
Jan 3, 2024

Conversation

xadupre
Copy link
Contributor

@xadupre xadupre commented Dec 21, 2023

Description

Propagation model local functions to subgraphs.

Motivation and Context

ReferenceEvaluator fails at calling a local function from a subgraph in a local functions.

Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
onnx/reference/op_run.py Fixed Show fixed Hide fixed
onnx/test/reference_evaluator_test.py Fixed Show fixed Hide fixed
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (717b630) 56.36% compared to head (0d55ef3) 56.39%.

Files Patch % Lines
onnx/reference/op_run.py 71.42% 1 Missing and 1 partial ⚠️
onnx/reference/ops/op_if.py 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5817      +/-   ##
==========================================
+ Coverage   56.36%   56.39%   +0.02%     
==========================================
  Files         503      503              
  Lines       29594    29620      +26     
  Branches     4424     4426       +2     
==========================================
+ Hits        16682    16704      +22     
- Misses      12107    12109       +2     
- Partials      805      807       +2     

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

Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
@xadupre xadupre marked this pull request as ready for review December 21, 2023 09:28
@xadupre xadupre requested review from a team as code owners December 21, 2023 09:28
Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
@justinchuby justinchuby added reference implementation review needed: operators approvers Require reviews from members of operators-approvers labels Dec 22, 2023
@xadupre xadupre added this pull request to the merge queue Jan 3, 2024
Merged via the queue into onnx:main with commit 75c6892 Jan 3, 2024
35 checks passed
@xadupre xadupre deleted the refi branch January 3, 2024 14:57
github-merge-queue bot pushed a commit that referenced this pull request Jan 3, 2024
Addresses issue mentioned in #5817

The inliner was not processing subgraphs for inlining.

---------

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
reference implementation 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

3 participants