Skip to content

Arm backend: Add TOSA VGF encapsulated compilation target. #10476

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

robell
Copy link
Collaborator

@robell robell commented Apr 25, 2025

Add TOSA VGF encapsulated compilation target.

This change enables support for "vgf" files which wrap TOSA output and include memory planning for target devices which can JIT TOSA to the target ISA on-device.

  • Add a VgfQuantizer (same as TOSAQuantizer)
  • Add a VgfBackend and VgfPartitioner to produce TOSA wrapped in a VGF
  • Requires yet to be released converter_backend

Signed-off-by: Rob Elliott [email protected]
Change-Id: I764c32c33c503eb44200e9a7d98caa8fae8a4882

Test plan

As this is a new encapsulation with a tool that's not yet released, integration with unit tests will come in a subsequent commit.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

robell added 3 commits April 25, 2025 14:19
Signed-off-by: Rob Elliott <[email protected]>
Change-Id: Id96933b727015502cced3c4dcc48535895c55cf7
 - Add a VgfQuantizer (same as TOSAQuantizer)
 - Add a VgfBackend and VgfPartitioner
 - Requires yet to be released converter_backend

Signed-off-by: Rob Elliott <[email protected]>
Change-Id: I764c32c33c503eb44200e9a7d98caa8fae8a4882
Signed-off-by: Rob Elliott <[email protected]>
Change-Id: I9f121252bd009250c61fe136fcf8d278c480133f
@robell robell requested a review from digantdesai as a code owner April 25, 2025 14:34
Copy link

pytorch-bot bot commented Apr 25, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 1 Cancelled Job

As of commit 492c940 with merge base 9efb909 (image):

NEW FAILURE - The following job has failed:

CANCELLED JOB - The following job was cancelled. Please retry:

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 Apr 25, 2025
@robell robell added the release notes: arm Changes to the ARM backend delegate label Apr 25, 2025
@robell robell requested a review from per April 25, 2025 14:35
@zingo zingo added the partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm label Apr 25, 2025
@zingo zingo changed the title Add TOSA VGF encapsulated compilation target. Arm backend: Add TOSA VGF encapsulated compilation target. Apr 25, 2025
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: arm Changes to the ARM backend delegate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants