Skip to content

Conversation

@oscarandersson8218
Copy link
Collaborator

@oscarandersson8218 oscarandersson8218 commented Dec 10, 2025

Summary

Make INT+FP default for vgf. With INT+FP supported, the following issues were solved:

  • Make sure that pow.Tensor_Scalar is not replaced by pow.Tensor_Tensor during transform_for_annotation.
  • Make sure that Scalar-ops that also maps to table ops are not replaced by Tensor ops when quantized.
  • Fix a bug in tosa_supported_operators where nodes with integer outputs were considered ok for partitioning when they shouldn't be.

Test plan

The plan is to move most of the vgf-tests to lower with both INT and FP support. We can then test both the quantized and non-quantized flows.

cc @freddan80 @per @zingo @digantdesai

Make INT+FP default for vgf. With INT+FP, the following issues were
solved:
- Make sure that pow.Tensor_Scalar is not replaced by pow.Tensor_Tensor
  during transform_for_annotation.
- Make sure that Scalar-ops that also maps to table ops are not
  replaced by Tensor ops when quantized.
- Fix a bug in tosa_supported_operators where nodes with integer outputs
  were considered ok for partitioning when they shouldn't be.

Signed-off-by: Oscar Andersson <oscar.andersson@arm.com>
Change-Id: I53c992422b80fd7e93da9d1b07256dccd7115025
@pytorch-bot
Copy link

pytorch-bot bot commented Dec 10, 2025

🔗 Helpful Links

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

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

❌ 1 Cancelled Job, 1 Unrelated Failure

As of commit 5a0096e with merge base 152ea3e (image):

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

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

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 Dec 10, 2025
@oscarandersson8218 oscarandersson8218 added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: arm Changes to the ARM backend delegate ciflow/trunk labels Dec 10, 2025
@zingo zingo merged commit c398ff4 into pytorch:main Dec 10, 2025
296 of 305 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: arm Changes to the ARM backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants