Skip to content

Arm backend: Initial int16 extension #13318

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 3 commits into from
Aug 13, 2025
Merged

Arm backend: Initial int16 extension #13318

merged 3 commits into from
Aug 13, 2025

Conversation

per
Copy link
Collaborator

@per per commented Aug 12, 2025

Summary

Add TOSA extension support for tests and add initial support for int16.

Test plan

Tested through unit tests in backends/arm.

cc @digantdesai @freddan80 @zingo @oscarandersson8218

per added 3 commits August 12, 2025 14:17
Adds the possibility to add extension to the TOSA specification
for the test pipeline.

Signed-off-by: Per Åstrand <[email protected]>
Change-Id: I64d8dcce3ea1bf6aa76230396690fd007974f792
Signed-off-by: Per Åstrand <[email protected]>
Change-Id: I5782c5e337913319830e7c79f09a34d4227751c9
The sigmoid tests uses the EXT-INT16 of the TOSA 1.0 specification,
so the extension must be used in the tests.

Signed-off-by: Per Åstrand <[email protected]>
Change-Id: Ie0d1a03d73e46139c6b6a0822736e2270e716650
@per per requested a review from digantdesai as a code owner August 12, 2025 12:22
@per per added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk release notes: arm Changes to the ARM backend delegate labels Aug 12, 2025
Copy link

pytorch-bot bot commented Aug 12, 2025

🔗 Helpful Links

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

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

❌ 3 New Failures, 1 Unrelated Failure

As of commit e7421e1 with merge base baed71b (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@meta-cla meta-cla 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 Aug 12, 2025
@per
Copy link
Collaborator Author

per commented Aug 13, 2025

Unrelated failures in test-models-arm-zephyr and build-demo-ios

@zingo zingo merged commit 8115da4 into pytorch:main Aug 13, 2025
232 of 236 checks passed
@@ -128,7 +128,7 @@ def ethosu_compile_spec(
self.compiler_flags.append("--output-format=raw")
self.compiler_flags.append("--debug-force-regor")

base_tosa_version = "TOSA-1.0+INT"
base_tosa_version = "TOSA-1.0+INT+int16"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have been using ts.DType.INT16 in a few places, how did that work without this flag?

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