-
Notifications
You must be signed in to change notification settings - Fork 810
Support un-fused batchnorm1d/2d on XNNPACK via decomposition #16533
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/16533
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit e81cddd with merge base 4f8dbde ( NEW FAILURE - The following job has failed:
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 D90422630. |
ddd4c1e to
1aa7400
Compare
…#16533) Summary: Add a new pass - DecomposeBatchNorm - which converts standalone (non-fused) batch norm operators to 1x1 depthwise convolution. This prevents delegation graph breaks when batch norm operators can't be fused. Differential Revision: D90422630
|
Updated to add test coverage around dtype, affine=False, memory_format/dim_order, and more comprehensive checks on the conv node created by the pass. Will re-open and request review once CI finshes. |
…#16533) Summary: Add a new pass - DecomposeBatchNorm - which converts standalone (non-fused) batch norm operators to 1x1 depthwise convolution. This prevents delegation graph breaks when batch norm operators can't be fused. Differential Revision: D90422630
ab84366 to
9325d08
Compare
|
@GregoryComer has imported this pull request. If you are a Meta employee, you can view this in D90422630. |
|
Test failure is on a core ml test, so it appears to be a flake. |
Summary: Add a new pass - DecomposeBatchNorm - which converts standalone (non-fused) batch norm operators to 1x1 depthwise convolution. This prevents delegation graph breaks when batch norm operators can't be fused.
Differential Revision: D90422630
cc @digantdesai @cbilgin