Skip to content

Arm backend: Add linear decomposition #6661

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
Nov 11, 2024

Conversation

oscarandersson8218
Copy link
Collaborator

Summary

  • Linear is decomposed to conv2d by Arm backend.
  • Enable nn.Linear(..., bias=False).
  • Remove op_addmm and related helper functions.
  • Remove unused helper functions.
  • Start using to_edge_transform_and_lower() for tests with linear ops.

Copy link

pytorch-bot bot commented Nov 5, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 40575b0 with merge base 5b51bb8 (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 Nov 5, 2024
@oscarandersson8218 oscarandersson8218 added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk and removed ciflow/trunk labels Nov 5, 2024
@freddan80
Copy link
Collaborator

Rebase pls

- Linear is decomposed to conv2d by Arm backend.
- Enable nn.Linear(..., bias=False).
- Remove op_addmm and related helper functions.
- Remove unused helper functions.

Signed-off-by: Oscar Andersson <[email protected]>
Change-Id: Idb2605d7b463825837f60d1eae86070f73f06039
@freddan80 freddan80 merged commit 0a20d72 into pytorch:main Nov 11, 2024
101 checks passed
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants