Skip to content

[IR] Fix deserialize_node #2098

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 1 commit into from
Mar 11, 2025

Conversation

Johansmm
Copy link
Contributor

ir.from_proto raises an exception for NodeProto input type. Here this error is fixed.

Close #2093

@justinchuby justinchuby changed the title Custom name in function [IR] Fix deserialize_node Mar 11, 2025
@justinchuby justinchuby added the module: IR Intermediate representation label Mar 11, 2025
@Johansmm Johansmm force-pushed the custom-name-in-function branch from 293d484 to eebdc2a Compare March 11, 2025 07:09
Show there is a bug when deserializing NodeProto with inputs/outputs.
For deserialize to work without context, it is necessary that the first element be an empty dict.
@Johansmm Johansmm force-pushed the custom-name-in-function branch from eebdc2a to 86643c5 Compare March 11, 2025 07:09
@Johansmm
Copy link
Contributor Author

Last push force with @justinchuby suggestion

@Johansmm Johansmm requested a review from justinchuby March 11, 2025 07:10
Copy link

codecov bot commented Mar 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.64%. Comparing base (db02e3f) to head (86643c5).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2098   +/-   ##
=======================================
  Coverage   72.64%   72.64%           
=======================================
  Files         217      217           
  Lines       29143    29143           
  Branches     3463     3463           
=======================================
  Hits        21170    21170           
  Misses       6846     6846           
  Partials     1127     1127           

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

@justinchuby justinchuby merged commit 1ce291c into microsoft:main Mar 11, 2025
20 of 29 checks passed
@Johansmm Johansmm deleted the custom-name-in-function branch March 11, 2025 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: IR Intermediate representation
Projects
Development

Successfully merging this pull request may close these issues.

[IR] Error when parsing NodeProto
2 participants