Skip to content

Arm backend: Support mixed TOSA profiles#15773

Merged
zingo merged 2 commits intopytorch:mainfrom
per:mixed_dtype
Nov 13, 2025
Merged

Arm backend: Support mixed TOSA profiles#15773
zingo merged 2 commits intopytorch:mainfrom
per:mixed_dtype

Conversation

@per
Copy link
Collaborator

@per per commented Nov 12, 2025

Summary

Add initial support for handling mixed TOSA INT and FP profiles.

Test plan

Tested through existing and new unit tests.

cc @freddan80 @zingo @oscarandersson8218 @digantdesai

@per per requested a review from digantdesai as a code owner November 12, 2025 13:01
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 12, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit 8131ea8 with merge base 14482e5 (image):

NEW FAILURES - The following jobs have failed:

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 Nov 12, 2025
@per per added ciflow/trunk release notes: none Do not include this in the release notes labels Nov 12, 2025
@oscarandersson8218 oscarandersson8218 added the partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm label Nov 13, 2025
per added 2 commits November 13, 2025 13:16
Introduce a support class for mapping TOSA specs to values in order to
handle combinations of +INT and +FP profiles.
As an intemittent step allow for registration of same class for same target,
but for different TOSA specification and emits a warning.

Signed-off-by: Per Åstrand <per.astrand@arm.com>
Change-Id: Ic379725af3b8f32dc4849e4771017a5e05a6fe6f
Signed-off-by: Per Åstrand <per.astrand@arm.com>
Change-Id: If7a868ec4a1d10c6d7c9307eccc25b56e2d84c5c
@zingo zingo merged commit da6306f into pytorch:main Nov 13, 2025
295 of 297 checks passed
jirioc pushed a commit to nxp-upstream/executorch that referenced this pull request Dec 19, 2025
### Summary
Add initial support for handling mixed TOSA INT and FP profiles.

### Test plan
Tested through existing and new unit tests.

cc @freddan80 @zingo @oscarandersson8218 @digantdesai

---------

Signed-off-by: Per Åstrand <per.astrand@arm.com>
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: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants