executorch
executorch copied to clipboard
Arm backend: Simplify testing of int inputs
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
:link: Helpful Links
:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15701
- :page_facing_up: Preview Python docs built from this PR
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 ():
: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.
Some arm tests fails :(
@SS-JIA Hi here is a many files PR again :)
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.
As it's merged now, Ill rebase this