Skip to content

XNNPACK: Run recommended pre-partition transforms in AOT flow#20446

Open
mansnils wants to merge 1 commit into
pytorch:mainfrom
mansnils:misc
Open

XNNPACK: Run recommended pre-partition transforms in AOT flow#20446
mansnils wants to merge 1 commit into
pytorch:mainfrom
mansnils:misc

Conversation

@mansnils

@mansnils mansnils commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Wire get_transform_passes() into the XNNPACK example AOT compiler so official exports run the same recommended pre-partition graph transforms used by tests.

Update XNNPACK docs and README snippets to show the optional transform_passes stage and clarify that it is recommended in general for XNNPACK before partitioning.

cc @GregoryComer @digantdesai @cbilgin @freddan80 @per @zingo @oscarandersson8218 @Sebastian-Larsson @robell @rascani

Wire get_transform_passes() into the XNNPACK example AOT compiler so
official exports run the same recommended pre-partition graph transforms
used by tests.

Update XNNPACK docs and README snippets to show the optional
transform_passes stage and clarify that it is recommended in general for
XNNPACK before partitioning.

Signed-off-by: Måns Nilsson <mans.nilsson@arm.com>
Change-Id: I0412c13d9a067a44b3d044d27409157095a4d764
Copilot AI review requested due to automatic review settings June 23, 2026 10:58
@mansnils mansnils requested a review from digantdesai as a code owner June 23, 2026 10:58
@mansnils mansnils added the help wanted Extra attention is needed label Jun 23, 2026
@mansnils mansnils requested a review from mergennachin as a code owner June 23, 2026 10:58
@mansnils mansnils added module: xnnpack Issues related to xnnpack delegation and the code under backends/xnnpack/ partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk release notes: xnnpack Changes to the XNNPack backend delegate labels Jun 23, 2026
@pytorch-bot

pytorch-bot Bot commented Jun 23, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 4 New Failures, 4 Unrelated Failures

As of commit f0f41be with merge base 82a605d (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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 Jun 23, 2026
@mansnils mansnils requested review from GregoryComer and removed request for Copilot, digantdesai and mergennachin June 23, 2026 10:58
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. help wanted Extra attention is needed module: xnnpack Issues related to xnnpack delegation and the code under backends/xnnpack/ partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: xnnpack Changes to the XNNPack backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant