-
Notifications
You must be signed in to change notification settings - Fork 665
[Backend Tester] Add ARM TOSA flow #14190
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
base: gh/GregoryComer/159/head
Are you sure you want to change the base?
Conversation
extra_stats["pte_size_bytes"] = len(tester.get_artifact()) | ||
tester.to_executorch() | ||
|
||
if flow.supports_serialize: |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
|
||
def _create_tosa_flow() -> TestFlow: | ||
return TestFlow( | ||
"arm_tosa", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"arm_tosa", | |
"arm_tosa_fp", |
This will be nice to see and play with! |
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.