executorch icon indicating copy to clipboard operation
executorch copied to clipboard

Arm backend: Simplify testing of int inputs

Open oscarandersson8218 opened this issue 1 month ago • 5 comments

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

oscarandersson8218 avatar Nov 10 '25 15:11 oscarandersson8218

:link: Helpful Links

:test_tube: 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.

:white_check_mark: No Failures

As of commit 0e4e4250cc1343e117413e1587b6c313709e8467 with merge base b1e3e28bb611e06d484138be27221faffd89f565 (image): :green_heart: Looks good so far! There are no failures yet. :green_heart:

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

pytorch-bot[bot] avatar Nov 10 '25 15:11 pytorch-bot[bot]

Some arm tests fails :(

zingo avatar Nov 11 '25 07:11 zingo

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

zingo avatar Nov 11 '25 19:11 zingo

I believe there's a merge conflict with the revert of https://github.com/pytorch/executorch/pull/15300, so I'll park this PR until the new PR is merged.

oscarandersson8218 avatar Nov 13 '25 06:11 oscarandersson8218

As it's merged now, Ill rebase this

zingo avatar Nov 15 '25 12:11 zingo