Skip to content

Arm backend: test without output re-order workaround - #15826

Merged
zingo merged 4 commits into
pytorch:mainfrom
mansnils:misc
Nov 20, 2025
Merged

zingo merged 4 commits into
pytorch:mainfrom
mansnils:misc

Conversation

@mansnils

@mansnils mansnils commented Nov 14, 2025 •

Copy link
Copy Markdown
Collaborator

By default outputs are re-ordered to correct order during TOSA lowering. However this is seen as a workaround as it should not be needed. Furthermore the output issue is not easily reproduced, rather it seems to happen randomly. Therefore we add a test case without the workaround, which is currently passing.
In case it won't pass without the workaround at some point, the new changes might give some hints on why the workaround is needed and how to fix it.
In case it continues to pass, we may switch the default and potentially even remove the workaround.

cc @freddan80 @per @zingo @oscarandersson8218 @digantdesai

By default outputs are re-ordered to correct order during TOSA lowering.
However this is seen as a workaround as it should not be needed.
Furthermore the output issue is not easily reproduced, rather it seems
to happen randomly. Therefore we add a test case without the
workaround, which is currently passing.
In case it won't pass without the workaround at some point, the new
changes might give some hints on why the workaround is needed and how
to fix it.
In case it continues to pass, we may switch the default and
potentially even remove the workaround.

Change-Id: I4c65cfaebe0a662d43c339c64a370b308674d1b5
@mansnils mansnils added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk labels Nov 14, 2025
@pytorch-bot

pytorch-bot Bot commented Nov 14, 2025 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ You can merge normally! (4 Unrelated Failures)

As of commit fe878a4 with merge base 3374ff8 (image):

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 14, 2025
@zingo

zingo commented Nov 15, 2025

Copy link
Copy Markdown
Collaborator

Timeout problem trunk / test-arm-backend (test_pytest_ops_ethosu_fvp) / linux-job (push)Cancelled after 121m

@zingo

zingo commented Nov 15, 2025

Copy link
Copy Markdown
Collaborator

Seem to be happening after #14109 was merged, trying to revert that PR

@mansnils

Copy link
Copy Markdown
Collaborator Author

See comment for more context of workaround: #13454 (comment)

@mansnils mansnils added the release notes: arm Changes to the ARM backend delegate label Nov 20, 2025
@zingo
zingo merged commit 88cca2c into pytorch:main Nov 20, 2025
303 of 307 checks passed
jirioc pushed a commit to nxp-upstream/executorch that referenced this pull request Dec 19, 2025
By default outputs are re-ordered to correct order during TOSA lowering.
However this is seen as a workaround as it should not be needed.
Furthermore the output issue is not easily reproduced, rather it seems
to happen randomly. Therefore we add a test case without the workaround,
which is currently passing.
In case it won't pass without the workaround at some point, the new
changes might give some hints on why the workaround is needed and how to
fix it.
In case it continues to pass, we may switch the default and potentially
even remove the workaround.

cc @freddan80 @per @zingo @oscarandersson8218 @digantdesai

---------

Co-authored-by: Zingo Andersen <zingo.andersen@arm.com>
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