Skip to content

Fix/merge models value info #7608

Merged
titaiwangms merged 4 commits intoonnx:mainfrom
MagellaX:fix/merge-models-value-info-7321
Feb 2, 2026
Merged

Fix/merge models value info #7608
titaiwangms merged 4 commits intoonnx:mainfrom
MagellaX:fix/merge-models-value-info-7321

Conversation

@MagellaX
Copy link
Copy Markdown
Contributor

Fixes #7321

@MagellaX MagellaX requested a review from a team as a code owner January 26, 2026 09:08
@github-project-automation github-project-automation Bot moved this to In progress in PR Tracker Jan 26, 2026
Signed-off-by: yash solanki <alphacr792@gmail.com>
Signed-off-by: yash solanki <alphacr792@gmail.com>
@MagellaX MagellaX force-pushed the fix/merge-models-value-info-7321 branch from 23fef69 to b651bb7 Compare January 26, 2026 09:15
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.29%. Comparing base (da86640) to head (ddc10e6).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7608      +/-   ##
==========================================
+ Coverage   55.27%   55.29%   +0.02%     
==========================================
  Files         515      515              
  Lines       32446    32462      +16     
  Branches     2898     2898              
==========================================
+ Hits        17933    17949      +16     
  Misses      13724    13724              
  Partials      789      789              

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

@MagellaX
Copy link
Copy Markdown
Contributor Author

MagellaX commented Feb 2, 2026

hey @justinchuby any thoughts?

Copy link
Copy Markdown
Contributor

@titaiwangms titaiwangms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it work on the issue repro code?

@MagellaX
Copy link
Copy Markdown
Contributor Author

MagellaX commented Feb 2, 2026

Does it work on the issue repro code?

Yes, I ran the issue’s repro after the fix and it now preserves the mapped output value_info as expected. The new test in compose_test.py covers the same case (mapped output becomes internal and value_info is retained).

@github-project-automation github-project-automation Bot moved this from In progress to Reviewer approved in PR Tracker Feb 2, 2026
@titaiwangms titaiwangms merged commit 4555529 into onnx:main Feb 2, 2026
72 of 73 checks passed
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in PR Tracker Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

When merging two models, value infos of first graph outputs are not present

2 participants