Skip to content

Handle functions in external data helper #6233

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

Merged
merged 4 commits into from
Jul 16, 2024

Conversation

gramalingam
Copy link
Contributor

The external_data_helper.py utilities do not handle model-local functions. Extend them to handle model-local functions. Add a test-case to validate.

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
@gramalingam gramalingam requested a review from a team as a code owner July 15, 2024 17:19
Copy link

codecov bot commented Jul 15, 2024

Codecov Report

Attention: Patch coverage is 97.72727% with 1 line in your changes missing coverage. Please review.

Project coverage is 57.18%. Comparing base (83194ed) to head (7073119).
Report is 65 commits behind head on main.

Files Patch % Lines
onnx/external_data_helper.py 88.88% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6233      +/-   ##
==========================================
+ Coverage   56.95%   57.18%   +0.23%     
==========================================
  Files         506      507       +1     
  Lines       30467    31249     +782     
  Branches     4592     4663      +71     
==========================================
+ Hits        17353    17871     +518     
- Misses      12285    12531     +246     
- Partials      829      847      +18     

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

@gramalingam gramalingam self-assigned this Jul 15, 2024
gramalingam and others added 2 commits July 16, 2024 09:58
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: G. Ramalingam <grama@microsoft.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: G. Ramalingam <grama@microsoft.com>
@gramalingam gramalingam enabled auto-merge July 16, 2024 17:01
@gramalingam gramalingam added this pull request to the merge queue Jul 16, 2024
Merged via the queue into onnx:main with commit 084c929 Jul 16, 2024
38 checks passed
@gramalingam gramalingam deleted the extdata-bug branch July 16, 2024 17:36
andife pushed a commit to andife/onnx that referenced this pull request Jul 20, 2024
The `external_data_helper.py` utilities do not handle model-local
functions. Extend them to handle model-local functions. Add a test-case
to validate.

---------

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Signed-off-by: G. Ramalingam <grama@microsoft.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
andife pushed a commit to andife/onnx that referenced this pull request Aug 26, 2024
The `external_data_helper.py` utilities do not handle model-local
functions. Extend them to handle model-local functions. Add a test-case
to validate.

---------

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Signed-off-by: G. Ramalingam <grama@microsoft.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
linshokaku pushed a commit to linshokaku/onnx that referenced this pull request Oct 2, 2024
The `external_data_helper.py` utilities do not handle model-local
functions. Extend them to handle model-local functions. Add a test-case
to validate.

---------

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Signed-off-by: G. Ramalingam <grama@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
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants