Skip to content

Conversation

@oscarandersson8218
Copy link
Collaborator

@oscarandersson8218 oscarandersson8218 commented Nov 10, 2025

INT-test pipelines always checked that quantized models produced quantize and dequantize nodes, and that these are removed in to_edge. This meant that when you add a test with inputs that do not need to be quantized, e.g. integer and boolean inputs, you would have to pop those stages from the test pipeline.

This patch removes the need for popping those stages by making sure that they are only added if at least one input is in floating point.

cc @freddan80 @per @zingo @digantdesai

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 10, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures, 6 Unrelated Failures

As of commit 7bd16d2 with merge base 2aeee9b (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following jobs 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 Nov 10, 2025
@oscarandersson8218 oscarandersson8218 added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk release notes: none Do not include this in the release notes labels Nov 10, 2025
@zingo
Copy link
Collaborator

zingo commented Nov 11, 2025

Some arm tests fails :(

INT-test pipelines always checked that quantized models produced
quantize and dequantize nodes, and that these are removed in to_edge.
This meant that when you add a test with inputs that do not need to be
quantized, e.g. integer and boolean inputs, you would have to pop those
stages from the test pipeline.

This patch removes the need for popping those stages by making sure that
they are only added if at least one input is in floating point.

Signed-off-by: Oscar Andersson <[email protected]>
Change-Id: I51220b719dfd19e3a4c109e23de544fea374333c
@oscarandersson8218 oscarandersson8218 force-pushed the int_inputs_testing_improvement branch from 871a7b7 to 7bd16d2 Compare November 11, 2025 08:09
@zingo
Copy link
Collaborator

zingo commented Nov 11, 2025

@SS-JIA Hi here is a many files PR again :)

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.

2 participants