Skip to content

Generalize all annotators into a generic parameterizable annotator #7298

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
Jan 8, 2025

Conversation

Tessil
Copy link
Collaborator

@Tessil Tessil commented Dec 12, 2024

The PR is a general refactoring of the backend quantizer removing all the backends/arm/quantizer/quantization_annotation/* annotators and centralize them into a more generic and configurable quantization_annotator.py.

With the removal of OperatorConfig, it also removes the unused get_supported_* ops as they were not maintained nor used. But these can be kept if necessary or the change moved into another PR.

Copy link

pytorch-bot bot commented Dec 12, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 4482e4e with merge base 241cd0c (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 Dec 12, 2024
@Tessil Tessil added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. and removed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Dec 12, 2024
@Tessil Tessil force-pushed the toupstream/generic_annotator branch from b234dad to 261748a Compare December 13, 2024 09:52
@Tessil Tessil added the release notes: backends [DO NOT USE] Changes to any of the backend delegates label Dec 13, 2024
@freddan80
Copy link
Collaborator

@Tessil, rebase pls

Change-Id: I69ecdbef9d7b83a87655e97758215303374b5f04
@Tessil Tessil force-pushed the toupstream/generic_annotator branch from 261748a to 4482e4e Compare January 7, 2025 11:21
@Tessil
Copy link
Collaborator Author

Tessil commented Jan 7, 2025

Change rebased and rebase conflicts fixed.

@freddan80 freddan80 merged commit 08770b7 into pytorch:main Jan 8, 2025
107 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 release notes: backends [DO NOT USE] Changes to any of the backend delegates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants