Skip to content
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

Arm backend: Add additional tosa_supported_op checks for BI #8593

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

oscarandersson8218
Copy link
Collaborator

@oscarandersson8218 oscarandersson8218 commented Feb 20, 2025

Summary

If a TosaSpecification without floating point support is used, additional checks will be made during paritioning to make sure that we don't partition operators that:

  • are not quantized properly, i.e. does not have a dq-q pair surrounding them.
  • should have been decomposed prior to qunatization, e.g. div should be decomposed to a mul and recip before quantization.

cc @digantdesai @freddan80 @per @zingo

If a TosaSpecification without floating point support is used,
additional checks will be made during paritioning to make sure that we
don't partition operators that:
- are not quantized properly, i.e. does not have a dq-q pair
  surrounding them.
- should have been decomposed prior to qunatization, e.g. div should
  be decomposed to a mul and recip before quantization.

Change-Id: Ie6f6fca1547192087c8f54025371344fbf470278
Co-authored-by: Erik Lundell <[email protected]>
Signed-off-by: Oscar Andersson <[email protected]>
Copy link

pytorch-bot bot commented Feb 20, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 1 Cancelled Job

As of commit 44b0ba8 with merge base 75d4abc (image):

NEW FAILURE - The following job has failed:

CANCELLED JOB - The following job was cancelled. Please retry:

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 Feb 20, 2025
@oscarandersson8218 oscarandersson8218 added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing labels Feb 20, 2025
@zingo
Copy link
Collaborator

zingo commented Feb 20, 2025

Fails are unrelated

@zingo zingo merged commit c35df8b into pytorch:main Feb 20, 2025
109 of 114 checks passed
dbort added a commit to dbort/executorch that referenced this pull request Feb 21, 2025
Summary: pytorch#8593 (D69921367) adds new imports to tosa_supported_operators.py. Add the necessary buck deps for it.

Differential Revision: D70003345
dbort added a commit to dbort/executorch that referenced this pull request Feb 21, 2025
Summary:

pytorch#8593 (D69921367) adds new imports to tosa_supported_operators.py. Add the necessary buck deps for it.

Reviewed By: JacobSzwejbka, kirklandsign

Differential Revision: D70003345
facebook-github-bot pushed a commit that referenced this pull request Feb 22, 2025
Differential Revision: D70003345

Pull Request resolved: #8625
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 topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants