-
Notifications
You must be signed in to change notification settings - Fork 608
Support ceil_mode=True on maxpool2d in XNNPACK delegate #7355
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
Support ceil_mode=True on maxpool2d in XNNPACK delegate #7355
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7355
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit f0474f4 with merge base 6c3a792 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D67386151 |
a27bbd1
to
0711133
Compare
@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
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.
This is smart, i like it
Summary: Support ceil_mode=True for MaxPool2d in XNNPACK delegate by conditionally updating padding. This works only when the input shape is static, as it requires statically computing the change in padding. As such, the partitioner constraints are also updated to reflect this. Test Plan: Added a new test (test_fp32_maxpool2d_ceilmode) that exercises various permutations of input with ceil_mode=True. Reviewed By: digantdesai, mcr229 Differential Revision: D67386151 Pulled By: GregoryComer
0711133
to
e773e3a
Compare
This pull request was exported from Phabricator. Differential Revision: D67386151 |
Summary: Support ceil_mode=True for MaxPool2d in XNNPACK delegate by conditionally updating padding. This works only when the input shape is static, as it requires statically computing the change in padding. As such, the partitioner constraints are also updated to reflect this. Test Plan: Added a new test (test_fp32_maxpool2d_ceilmode) that exercises various permutations of input with ceil_mode=True. Reviewed By: digantdesai, mcr229 Differential Revision: D67386151 Pulled By: GregoryComer
e773e3a
to
212ef58
Compare
This pull request was exported from Phabricator. Differential Revision: D67386151 |
Summary: Support ceil_mode=True for MaxPool2d in XNNPACK delegate by conditionally updating padding. This works only when the input shape is static, as it requires statically computing the change in padding. As such, the partitioner constraints are also updated to reflect this. Test Plan: Added a new test (test_fp32_maxpool2d_ceilmode) that exercises various permutations of input with ceil_mode=True. Reviewed By: digantdesai, mcr229 Differential Revision: D67386151 Pulled By: GregoryComer
212ef58
to
f0474f4
Compare
This pull request was exported from Phabricator. Differential Revision: D67386151 |
Summary: Support ceil_mode=True for MaxPool2d in XNNPACK delegate by conditionally updating padding. This works only when the input shape is static, as it requires statically computing the change in padding. As such, the partitioner constraints are also updated to reflect this.
Differential Revision: D67386151