Arm Backend: Update unit tests for TOSA 1.0#10776
Merged
zingo merged 5 commits intopytorch:mainfrom May 8, 2025
Merged
Conversation
- Adds command line --arm_run_tosa_version Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com> Change-Id: I3337ad39192ec15fbb27610c73d282cc19a98d38
Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com> Change-Id: Id89019818ba4f447daf849b5e14debee0b16d0f9
Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com> Change-Id: Iccc30f84626a6d32dfe92fbf41ed500e2249bb4d
Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com> Change-Id: I7a1896ba1d40d2bd0e313da0c33ff21ed8c0738c
Change-Id: Ieb0e0104a9ebc15f319453f983edfaf0016d4050
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10776
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New Failures, 1 PendingAs of commit 894258c with merge base d9c6f80 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Collaborator
Author
|
@pytorchbot label "topic: not user facing" |
Collaborator
Author
|
@pytorchbot label ciflow/trunk |
Collaborator
Author
|
@pytorchbot label 'partner: arm' |
zingo
approved these changes
May 8, 2025
Collaborator
|
Fails are unrelated |
This was referenced May 8, 2025
digantdesai
reviewed
May 8, 2025
| if config.option.arm_run_tosa_version: | ||
| pytest._test_options["tosa_version"] = config.option.arm_run_tosa_version | ||
|
|
||
| pytest._test_options["tosa_ref_model"] = True # type: ignore[attr-defined] |
Contributor
There was a problem hiding this comment.
This is BC breaking. I will try to forward fix.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refactoring of unit tests to allow for testing of TOSA 1.0
Adds command-line argument --arm_run_tosa_version to run tests on particular version
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218