Skip to content

Conversation

@shubhambhokare1
Copy link
Collaborator

@shubhambhokare1 shubhambhokare1 commented Sep 13, 2024

PR 1:
Update fake mode usage in onnx docs
Pull Request resolved: #135512 Approved by: https://github.com/justinchuby

Co-authored-by: Justin Chu [email protected]
(cherry picked from commit 66db61f)

PR 2:
Drop final None values as inputs for nodes in exporter graph
Pull Request resolved: #135520

(cherry picked from commit e2f9a83)

Update fake mode usage in onnx docs
Pull Request resolved: pytorch#135512
Approved by: https://github.com/justinchuby

Co-authored-by: Justin Chu <[email protected]>
(cherry picked from commit 66db61f)
@pytorch-bot
Copy link

pytorch-bot bot commented Sep 13, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/136005

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit a24b970 with merge base b7eb725 (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added the release notes: onnx torch.onnx related changes that should show up in the release notes label Sep 13, 2024
…ytorch#135520)

When value for an optional input is not provided, it is defaulted to `None`, which gets translates to "" in the onnx graph. To avoid this, if we have a list of inputs and the final few are all `None`, strip them in the graph.
Pull Request resolved: pytorch#135520
Approved by: https://github.com/justinchuby

Co-authored-by: Justin Chu <[email protected]>
(cherry picked from commit e2f9a83)
@shubhambhokare1 shubhambhokare1 changed the title [ONNX] Update fake mode usage in onnx docs (#135512) [Cherry-pick] [ONNX] Update fake mode usage in onnx docs (#135512) and Drop final None values as inputs for nodes in exporter graph (#135520) Sep 17, 2024
@kit1980 kit1980 merged commit 3920988 into pytorch:release/2.5 Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

open source release notes: onnx torch.onnx related changes that should show up in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants