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 ReferenceEvaluator when run from a subclass #5936

Merged
merged 4 commits into from Feb 23, 2024
Merged

Conversation

xadupre
Copy link
Contributor

@xadupre xadupre commented Feb 14, 2024

Description

The current implementation still uses ReferenceEvaluator even when this evaluator was overloaded in a subclass. This PR makes sure that every local function or subgraph uses the new class to execute the local functions and sub graphs.

Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
@xadupre xadupre requested review from a team as code owners February 14, 2024 15:11
Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
Copy link

codecov bot commented Feb 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (dba666c) 56.64% compared to head (3a25a8f) 56.65%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5936   +/-   ##
=======================================
  Coverage   56.64%   56.65%           
=======================================
  Files         506      506           
  Lines       30201    30205    +4     
  Branches     4558     4559    +1     
=======================================
+ Hits        17108    17112    +4     
  Misses      12268    12268           
  Partials      825      825           

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

Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
@gramalingam gramalingam added this pull request to the merge queue Feb 20, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 20, 2024
@gramalingam gramalingam added this pull request to the merge queue Feb 21, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 21, 2024
@gramalingam gramalingam added this pull request to the merge queue Feb 23, 2024
Merged via the queue into onnx:main with commit 06548e4 Feb 23, 2024
39 checks passed
cjvolzka added a commit that referenced this pull request Feb 26, 2024
* 'main' of https://github.com/onnx/onnx:
  Add attribute output_dtype to QuantizeLinear (#5956)
  Update inliner to propagate valueinfos (#5942)
  Fix ConstantOfShape type constraints (#5961)
  Support register custom OpSchema by python (#5906)
  Fix ReferenceEvaluator when run from a subclass (#5936)
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

2 participants