pytorch / executorch

On-device AI across mobile, embedded and edge for PyTorch
https://pytorch.org/executorch/
Other
1.39k stars 228 forks source link

Add additional op in quantized view tests #3598

Open Erik-Lundell opened 1 month ago

Erik-Lundell commented 1 month ago

View needs an op before that can decide and propagate quantization parameters.

I also included a test where the view is the first operator in the module to show that this does not work. That test is therefore xfail.

Change-Id: I2fbddea931e422b2e752fa505f5bff2eb8855da6

pytorch-bot[bot] commented 1 month ago

:link: Helpful Links

:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/3598

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

:x: 4 New Failures

As of commit 1afea4fb6d72802f9956b6040a54c6e15e2c8396 with merge base 60c94e81bc0ea31f63977da57a47e2791b909e9d (image):

NEW FAILURES - The following jobs have failed:

* [pull / unittest / linux (buck2) / linux-job](https://hud.pytorch.org/pr/pytorch/executorch/3598#24942190979) ([gh](https://github.com/pytorch/executorch/actions/runs/9077390830/job/24942190979)) `backends/arm/test/ops/test_view.py::TestSimpleView::test_add_then_view_tosa_BI_0` * [pull / unittest / macos (buck2) / macos-job](https://hud.pytorch.org/pr/pytorch/executorch/3598#24942190694) ([gh](https://github.com/pytorch/executorch/actions/runs/9077390830/job/24942190694)) `backends/arm/test/ops/test_view.py::TestSimpleView::test_add_then_view_tosa_BI_0` * [trunk / test-coreml-delegate / macos-job](https://hud.pytorch.org/pr/pytorch/executorch/3598#24942205810) ([gh](https://github.com/pytorch/executorch/actions/runs/9077396506/job/24942205810)) `RuntimeError: Command bash /Users/runner/work/_temp/exec_script failed with exit code 1` * [trunk / test-models-macos (cmake, llama2, portable, macos-m1-stable, 90) / macos-job](https://hud.pytorch.org/pr/pytorch/executorch/3598#24942225282) ([gh](https://github.com/pytorch/executorch/actions/runs/9077396506/job/24942225282)) `An unexpected error has occurred. Conda has prepared the above report.`

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