Run XNNPACK passes with backed_size_oblivious#19262
Run XNNPACK passes with backed_size_oblivious#19262GregoryComer wants to merge 1 commit intopytorch:mainfrom
Conversation
Summary: Run XNNPACK backend-specific passes with backed_size_oblivious=True. This prevents unwanted guards and shape narrowing introduced by ATen backend selection. This fixes a case where the decompose batch norm pass narrows dynamic batch range because the batchnorm -> pointwise conv rewrite triggers an ATen guard. I added a test which previously reproed the issue and now passes with this change. Differential Revision: D102676211
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/19262
Note: Links to docs will display an error until the docs builds have been completed. ❌ 4 New Failures, 1 Cancelled Job, 2 Unrelated FailuresAs of commit 447b770 with merge base a7e44bf ( NEW FAILURES - The following jobs have failed:
CANCELLED JOB - The following job was cancelled. Please retry:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@GregoryComer has exported this pull request. If you are a Meta employee, you can view the originating Diff in D102676211. |
This PR needs a
|
Summary:
Run XNNPACK backend-specific passes with backed_size_oblivious=True. This prevents unwanted guards and shape narrowing introduced by ATen backend selection.
This fixes a case where the decompose batch norm pass narrows dynamic batch range because the batchnorm -> pointwise conv rewrite triggers an ATen guard. I added a test which previously reproed the issue and now passes with this change.
Differential Revision: D102676211