Skip to content

Conversation

@justinchuby
Copy link
Collaborator

Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Jan 23, 2026

Codecov Report

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2779   +/-   ##
=======================================
  Coverage   70.45%   70.45%           
=======================================
  Files         228      228           
  Lines       27257    27257           
  Branches     2760     2760           
=======================================
  Hits        19203    19203           
  Misses       7102     7102           
  Partials      952      952           

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

justinchuby added a commit to justinchuby/pytorch that referenced this pull request Jan 23, 2026
Move optimization logic to the internal export() call and move io renaming to after it such that, combined with microsoft/onnxscript#2779, the model will be correct with proper input output names in edge cases.

Fixes pytorch#173076

Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
@justinchuby justinchuby added merge at lgtm Reviewers can merge when they approve module: optimizer labels Jan 24, 2026
@justinchuby justinchuby enabled auto-merge (squash) January 24, 2026 05:42
pytorchmergebot pushed a commit to pytorch/pytorch that referenced this pull request Jan 24, 2026
Move optimization logic to the internal export() call and move io renaming to after it such that, combined with microsoft/onnxscript#2779, the model will be correct with proper input output names in edge cases.

Fixes #173076

Pull Request resolved: #173185
Approved by: https://github.com/xadupre, https://github.com/titaiwangms, https://github.com/cyyever
@justinchuby justinchuby merged commit 55ed939 into main Jan 26, 2026
33 checks passed
@justinchuby justinchuby deleted the justinchu/optimzer-fix branch January 26, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge at lgtm Reviewers can merge when they approve module: optimizer

Projects

Development

Successfully merging this pull request may close these issues.

PyTorch Dynamo ONNX Export: name conflict results in incorrect ONNX model [ONNX] Insert Identity node when input is directly copied to an output

3 participants