Arm backend: Add MobileSAM Ethos-U example - #21460
Merged
Merged
Conversation
Add a MobileSAM prompt segmentation example for Ethos-U85-256. Prepare the pinned official source in an external managed checkout. Apply a small configurable-input patch instead of copying model code. Use int8 globally and A16W8 for TinyViT attention. Lower the complete graph to Ethos-U and compare output with FP32. Emit delegation summaries, validation metrics, and debug artifacts. Build a bare-metal Corstone-320 app using exporter metadata. Validate inference on FVP through the Arm OOTB test. cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani Signed-off-by: Usamah Zaheer <usamah.zaheer@arm.com> (cherry picked from commit 7a55e23)
pytorchbot
requested review from
digantdesai,
kirklandsign,
larryliu0820 and
mergennachin
as code owners
July 29, 2026 12:35
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21460
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 09b4674 with merge base cd380e7 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
JacobSzwejbka
approved these changes
Jul 30, 2026
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.
Add a MobileSAM prompt segmentation example for Ethos-U85-256.
Prepare the pinned official source in an external managed checkout.
Apply a small configurable-input patch instead of copying model code.
Use int8 globally and A16W8 for TinyViT attention.
Lower the complete graph to Ethos-U and compare output with FP32.
Emit delegation summaries, validation metrics, and debug artifacts.
Build a bare-metal Corstone-320 app using exporter metadata.
Validate inference on FVP through the Arm OOTB test.
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani