Skip to content

Arm backend: Add support in aot for direct drive#17100

Merged
perheld merged 1 commit intopytorch:mainfrom
perheld:ph-direct-drive-aot-github
Feb 4, 2026
Merged

Arm backend: Add support in aot for direct drive#17100
perheld merged 1 commit intopytorch:mainfrom
perheld:ph-direct-drive-aot-github

Conversation

@perheld
Copy link
Collaborator

@perheld perheld commented Feb 2, 2026

Add support in arm_aot_compiler for COP2 and separate io regions needed for direct drive.

To produce a pte for direct drive this is a good example: python3 -m examples.arm.aot_arm_compiler
--model_name examples/arm/example_modules/add.py \ --delegate --quantize
--target ethos-u85-256 --direct_drive

Change-Id: I634439c4044f15e12fb7aa300ba730a2f42e3286

cc @freddan80 @per @zingo @oscarandersson8218 @digantdesai

@perheld perheld requested a review from digantdesai as a code owner February 2, 2026 14:06
@perheld perheld added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk release notes: arm Changes to the ARM backend delegate labels Feb 2, 2026
@pytorch-bot
Copy link

pytorch-bot bot commented Feb 2, 2026

🔗 Helpful Links

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

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

✅ No Failures

As of commit 3600335 with merge base 41473c9 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla 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 Feb 2, 2026
@perheld perheld force-pushed the ph-direct-drive-aot-github branch 2 times, most recently from 166547b to e1fff78 Compare February 2, 2026 21:35
@perheld perheld removed the request for review from digantdesai February 3, 2026 11:44
Add support in arm_aot_compiler for COP2 and separate io regions
needed for direct drive.

To produce a pte for direct drive this is a good example:
python3 -m examples.arm.aot_arm_compiler \
--model_name examples/arm/example_modules/add.py \
--delegate --quantize \
--target ethos-u85-256 --direct_drive

Change-Id: I634439c4044f15e12fb7aa300ba730a2f42e3286
Signed-off-by: Per Held <per.held@arm.com>
@perheld perheld force-pushed the ph-direct-drive-aot-github branch from e1fff78 to 3600335 Compare February 3, 2026 11:45
@perheld perheld merged commit f451025 into pytorch:main Feb 4, 2026
306 checks passed
@perheld perheld deleted the ph-direct-drive-aot-github branch February 4, 2026 09:15
@zingo
Copy link
Collaborator

zingo commented Feb 4, 2026

This failed test_nss_model after merged this is expected and unrelated, a separate fix is on it's way #17200

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.

2 participants