Skip to content

Update proto to add metadata props #5938

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 11 commits into from
Feb 18, 2024
Merged

Conversation

gramalingam
Copy link
Contributor

Update proto to add metadata props to NodeProto, GraphProto, and FunctionProto to store extra metadata in those structures.

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
@gramalingam gramalingam requested a review from a team as a code owner February 16, 2024 01:41
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Copy link

codecov bot commented Feb 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6417cb0) 56.64% compared to head (af070ad) 56.65%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5938   +/-   ##
=======================================
  Coverage   56.64%   56.65%           
=======================================
  Files         506      506           
  Lines       30201    30203    +2     
  Branches     4558     4558           
=======================================
+ Hits        17108    17110    +2     
  Misses      12268    12268           
  Partials      825      825           

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

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
@gramalingam gramalingam added this to the 1.16 milestone Feb 16, 2024
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
@gramalingam gramalingam added this pull request to the merge queue Feb 18, 2024
Merged via the queue into onnx:main with commit aa9efd9 Feb 18, 2024
@gramalingam gramalingam deleted the metadata branch February 18, 2024 18:13
@lutzroeder
Copy link
Member

lutzroeder commented Feb 18, 2024

@gramalingam @justinchuby can you share a few sample files showing how this is used?

@gramalingam
Copy link
Contributor Author

@lutzroeder : the standard does not define any specific metadata, and it is upto users how they use this. This is to address requests by users to store extra data, for example layer-information for nodes.

@lutzroeder
Copy link
Member

lutzroeder commented Feb 19, 2024

@gramalingam is there a way to link to these requests? I'm trying to understand potential usage patterns.

github-merge-queue bot pushed a commit that referenced this pull request Feb 26, 2024
Followup of #5938 to add similar metadata field to ValueInfoProto as
well.

---------

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
isdanni pushed a commit to isdanni/onnx that referenced this pull request Mar 18, 2024
Followup of onnx#5938 to add similar metadata field to ValueInfoProto as
well.

---------

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Signed-off-by: isdanni <leedanni@gmail.com>
linshokaku pushed a commit to linshokaku/onnx that referenced this pull request Oct 2, 2024
Update proto to add metadata props to NodeProto, GraphProto, and
FunctionProto to store extra metadata in those structures.

---------

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Signed-off-by: Linsho Kaku <linsho@preferred.jp>
linshokaku pushed a commit to linshokaku/onnx that referenced this pull request Oct 2, 2024
Followup of onnx#5938 to add similar metadata field to ValueInfoProto as
well.

---------

Signed-off-by: Ganesan Ramalingam <grama@microsoft.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.

4 participants