Skip to content

Conversation

GregoryComer
Copy link
Member

@GregoryComer GregoryComer commented Sep 11, 2025

Wire up the Arm tester with the backend test suites. This is an initial implementation, which is missing a few things. Most notably, output accuracy stats aren't available. I intend to take this as a follow-up.

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Sep 11, 2025

🔗 Helpful Links

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

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

❌ 86 Cancelled Jobs, 3 Unrelated Failures

As of commit 48ee73d with merge base ed0ab94 (image):

CANCELLED JOBS - The following jobs were cancelled. Please retry:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

BROKEN TRUNK - The following job 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.

[ghstack-poisoned]
GregoryComer added a commit that referenced this pull request Sep 11, 2025
ghstack-source-id: 7540d11
ghstack-comment-id: 3277010040
Pull-Request: #14190
[ghstack-poisoned]
GregoryComer added a commit that referenced this pull request Sep 11, 2025
ghstack-source-id: d61a7ea
ghstack-comment-id: 3277010040
Pull-Request: #14190
@GregoryComer GregoryComer marked this pull request as ready for review September 11, 2025 05:26
[ghstack-poisoned]
GregoryComer added a commit that referenced this pull request Sep 11, 2025
ghstack-source-id: 804999d
ghstack-comment-id: 3277010040
Pull-Request: #14190
extra_stats["pte_size_bytes"] = len(tester.get_artifact())
tester.to_executorch()

if flow.supports_serialize:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ARM tester requires a compile spec giving a location to dump the artifact. I'm just skipping this for initial integration, but we can wire this up as a follow-up. I'm not sure how meaningful the binary size for the TOSA flow, as well. Is that something we should report?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah we can ignore binary size for TOSA-only flows

[ghstack-poisoned]
[ghstack-poisoned]
@zingo zingo added the module: arm Issues related to arm backend label Sep 11, 2025
[ghstack-poisoned]

def _create_tosa_flow() -> TestFlow:
return TestFlow(
"arm_tosa",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"arm_tosa",
"arm_tosa_fp",

@digantdesai
Copy link
Contributor

cc @zingo , @per as FYI

@zingo
Copy link
Collaborator

zingo commented Sep 12, 2025

This will be nice to see and play with!
It might be good to look into Ethos-U/VGF FLOWs down the line and this takes us quite long way to fullfill that, thanks!

[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: arm Issues related to arm backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants