Skip to content

[arm][ez] Add xfail for norm tests #10078

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 10, 2025

Conversation

pytorchbot
Copy link
Collaborator

Summary:

Context

#9938 made it so that linalg_vector_norm is now decomposed when exporting to Edge. However, this broke some tests in the arm delegate because export passes cannot handle the decomposed operator sequence. To account for this, add xfail for the failing tests since linalg_vector_norm is not supported in TOSA yet.

Changes

Add xfail for norm tests in test_torch_functions.py

Test Plan:

Test Plan

Check CI that failing test is recovered.

Summary:
## Context

#9938 made it so that
`linalg_vector_norm` is now decomposed when exporting to Edge. However,
this broke some tests in the arm delegate because export passes cannot
handle the decomposed operator sequence. To account for this, add
`xfail` for the failing tests since `linalg_vector_norm` is not
supported in TOSA yet.

## Changes

Add `xfail` for `norm` tests in `test_torch_functions.py`

Test Plan:
## Test Plan

Check CI that failing test is recovered.

(cherry picked from commit f2a08da)
@pytorchbot pytorchbot requested a review from digantdesai as a code owner April 10, 2025 19:45
Copy link

pytorch-bot bot commented Apr 10, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit e8c289e with merge base 771588a (image):

NEW FAILURES - The following jobs have failed:

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

@facebook-github-bot facebook-github-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 Apr 10, 2025
@metascroy
Copy link
Contributor

waiting for CI before merging

@metascroy metascroy merged commit ca049a8 into release/0.6 Apr 10, 2025
161 of 163 checks passed
@metascroy metascroy deleted the cherry-pick-10043-by-pytorch_bot_bot_ branch April 10, 2025 22:52
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants