-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
[ONNX] Fix 'prim::PackPadded' shape inference #91829
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/91829
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 0453040: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ghstack-source-id: 1acb7b26e9cb95a2095d1ee665afb8be9724669b Pull Request resolved: #91829
@pytorchbot rebase |
@pytorchbot successfully started a rebase job. Check the current status here |
In `peephole` pass, user nodes of output of `prim::PackPadded` are modified to consume the input of `prim::PackPadded` instead. Hence the logic in shape type inference. However only the first output requires this workaround. Fixes #91528 [ghstack-poisoned]
Successfully rebased |
ghstack-source-id: 5fb74bad9e76b9b9b243265c2d6bbbb4ac813b9b Pull Request resolved: #91829
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕺
@pytorchbot merge -g |
Merge startedYour change will be merged once all checks on your PR pass since you used the green (-g) flag (ETA: 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 2 additional jobs have failed, first few of them are: trunk ,trunk / macos-12-py3-x86-64 / test (default, 1, 2, macos-12) Details for Dev Infra teamRaised by workflow job |
@pytorchbot merge -g |
Merge startedYour change will be merged once all checks on your PR pass since you used the green (-g) flag (ETA: 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Stack from ghstack (oldest at bottom):
In
peephole
pass, user nodes of output ofprim::PackPadded
are modified to consumethe input of
prim::PackPadded
instead. Hence the logic in shape type inference. Howeveronly the first output requires this workaround.
Fixes #91528