Skip to content

Conversation

xadupre
Copy link
Contributor

@xadupre xadupre commented Nov 13, 2023

Description

ReferenceEvaluator can take any proto as an input. This PR extends the support to ModelContainer introduced in PR #5685.

Motivation and Context

This makes it easier to test.

Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
Copy link

codecov bot commented Nov 13, 2023

Codecov Report

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

Comparison is base (a5f13c4) 56.06% compared to head (8aa106e) 56.16%.

Files Patch % Lines
onnx/reference/reference_evaluator.py 75.00% 3 Missing and 1 partial ⚠️
onnx/model_container.py 77.77% 0 Missing and 2 partials ⚠️
onnx/test/model_container_refeval_test.py 96.96% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5754      +/-   ##
==========================================
+ Coverage   56.06%   56.16%   +0.10%     
==========================================
  Files         501      502       +1     
  Lines       29366    29454      +88     
  Branches     4404     4414      +10     
==========================================
+ Hits        16463    16544      +81     
- Misses      12091    12095       +4     
- Partials      812      815       +3     

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

Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
@xadupre xadupre marked this pull request as ready for review November 13, 2023 17:02
@xadupre xadupre requested a review from a team as a code owner November 13, 2023 17:02
xadupre and others added 2 commits November 14, 2023 11:10
Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
@xadupre xadupre enabled auto-merge November 15, 2023 15:14
@xadupre xadupre added this pull request to the merge queue Nov 16, 2023
Merged via the queue into onnx:main with commit 0e829bd Nov 16, 2023
@xadupre xadupre deleted the refbig branch November 16, 2023 11:49
linshokaku pushed a commit to linshokaku/onnx that referenced this pull request Oct 2, 2024
### Description
ReferenceEvaluator can take any proto as an input. This PR extends the
support to ModelContainer introduced in PR onnx#5685.

### Motivation and Context
This makes it easier to test.

---------

Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: Linsho Kaku <linsho@preferred.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants