Skip to content

Arm backend: Move Ethos-U backend to generate TOSA-1.0#11852

Closed
oscarandersson8218 wants to merge 2 commits into
pytorch:mainfrom
oscarandersson8218:step_vela_to_tosa-1.0
Closed

Arm backend: Move Ethos-U backend to generate TOSA-1.0#11852
oscarandersson8218 wants to merge 2 commits into
pytorch:mainfrom
oscarandersson8218:step_vela_to_tosa-1.0

Conversation

@oscarandersson8218

@oscarandersson8218 oscarandersson8218 commented Jun 23, 2025

Copy link
Copy Markdown
Collaborator

Summary

Move to use TOSA 1.0 for Vela compiler to consume. Vela compiler is updated to have support for TOSA 1.0.

Test plan

Internal and external CI unit tests.

cc @digantdesai @freddan80 @per @zingo

@pytorch-bot

pytorch-bot Bot commented Jun 23, 2025

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 8d5694d with merge base 6d2106a (image):

NEW FAILURE - The following job has 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 Jun 23, 2025
@oscarandersson8218 oscarandersson8218 added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: none Do not include this in the release notes and removed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Jun 23, 2025
@zingo zingo requested a review from mergennachin June 23, 2025 12:29
@zingo

zingo commented Jun 23, 2025

Copy link
Copy Markdown
Collaborator

@digantdesai and @mergennachin this one might be good to check and maybe test internally.
Vela version is updated.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@digantdesai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@zingo

zingo commented Jun 28, 2025

Copy link
Copy Markdown
Collaborator

@digantdesai did you get any problem with this?

@oscarandersson8218 oscarandersson8218 force-pushed the step_vela_to_tosa-1.0 branch 2 times, most recently from 96aeb0b to db95ecd Compare June 30, 2025 12:41
Move to use TOSA 1.0 for Vela compiler to consume.
Vela compiler is updated to have support for TOSA 1.0.

Co-authored-by: Per Åstrand <per.astrand@arm.com>
Signed-off-by: Oscar Andersson <oscar.andersson@arm.com>
Change-Id: Ia737617241535f2a69831fd056cb0d4f9af3e6ee
@zingo

zingo commented Jul 2, 2025

Copy link
Copy Markdown
Collaborator

qnn and models fails are unrelated, they fail on main alos

@digantdesai

Copy link
Copy Markdown
Contributor

@digantdesai did you get any problem with this?

Ah yeah sorry forgot to reply. We get
RuntimeError: Compilation failed: TOSA FB Reader error : Tosa version mismatch.

I am updating vela right now. Let's hope to unblock you guys on this ASAP.

@zingo

zingo commented Jul 11, 2025

Copy link
Copy Markdown
Collaborator

I am updating vela right now. Let's hope to unblock you guys on this ASAP.

Thanks!

Comment thread examples/arm/setup.sh
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@digantdesai has imported this pull request. If you are a Meta employee, you can view this in D77349665.

@zingo

zingo commented Jul 15, 2025

Copy link
Copy Markdown
Collaborator

@digantdesai do you still see any problems with this?

@digantdesai

digantdesai commented Jul 16, 2025

Copy link
Copy Markdown
Contributor

Yeah running into asserts because of flatbuffer issues internally. Still debugging..

For instance, like this opaque error,

RuntimeError: Compilation failed: TOSA FB Reader error: Failed to load TOSA model. Buffer contents inconsistent with generated schema

Validating that the .tosa and .json file matches between two setups.
If they do then it has to do something to do with the Vela buck-ification I assume?

I will keep you posted.

@digantdesai

Copy link
Copy Markdown
Contributor

#12780 merged.

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: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants