Skip to content

Arm backend: Add support for grouped convolution #11817

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

Merged
merged 1 commit into from
Jun 19, 2025

Conversation

AdrianLundell
Copy link
Collaborator

@AdrianLundell AdrianLundell commented Jun 19, 2025

Grouped convolution is lowered as separate convolutions on different slices of the input and weights in a new DecomposeGroupedConv pass. Tested in two new tests in test_conv2d.

Fuse constant ops pass is additionally updated to make sure all removed placeholders are deleted.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

Grouped convolution is lowered as separate convolutions
on different slices of the input and weights in a new
DecomposeGroupedConv pass. Tested in two new tests in
test_conv2d.

Fuse constant ops pass is additionally updated to make sure
all removed placeholders are deleted.

Signed-off-by: Adrian Lundell <[email protected]>
Change-Id: I280ba9342bb92b826152e49c9570ed8715bc457f
@AdrianLundell AdrianLundell added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing release notes: arm Changes to the ARM backend delegate labels Jun 19, 2025
Copy link

pytorch-bot bot commented Jun 19, 2025

🔗 Helpful Links

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

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

⏳ No Failures, 2 Pending

As of commit 98cac1f with merge base 994752e (image):
💚 Looks good so far! There are no failures yet. 💚

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

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 19, 2025
@zingo zingo merged commit 28b8198 into pytorch:main Jun 19, 2025
196 checks passed
hinriksnaer pushed a commit to hinriksnaer/executorch that referenced this pull request Jun 26, 2025
Grouped convolution is lowered as separate convolutions on different
slices of the input and weights in a new DecomposeGroupedConv pass.
Tested in two new tests in test_conv2d.

Fuse constant ops pass is additionally updated to make sure all removed
placeholders are deleted.

Signed-off-by: Adrian Lundell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: arm Changes to the ARM backend delegate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants