Skip to content

Arm backend: Canonicalize view-chains - #22068

Merged
oscarandersson8218 merged 1 commit into
pytorch:mainfrom
oscarandersson8218:canonicalize_view_chains
Aug 24, 2026
Merged

Arm backend: Canonicalize view-chains#22068
oscarandersson8218 merged 1 commit into
pytorch:mainfrom
oscarandersson8218:canonicalize_view_chains

Conversation

@oscarandersson8218

@oscarandersson8218 oscarandersson8218 commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Run FuseViewCopyTransformPass late in the Arm TOSA pipeline, after CanonicalizeViewCopyPermutePass and before constant-shape insertion, so redundant view_copy chains exposed by earlier canonicalization are collapsed before TOSA legalization.

cc @digantdesai @freddan80 @per @zingo @mansnils @Sebastian-Larsson @robell @rascani

Run FuseViewCopyTransformPass late in the Arm TOSA pipeline, after
CanonicalizeViewCopyPermutePass and before constant-shape insertion, so
redundant view_copy chains exposed by earlier canonicalization are
collapsed before TOSA legalization.

Signed-off-by: Oscar Andersson <oscar.andersson@arm.com>
Change-Id: I3335cbf97e0185244323ac1499f5f8ff1abe6c32
@pytorch-bot

pytorch-bot Bot commented Aug 24, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 1 Unclassified Failure

As of commit a4de2e3 with merge base 85ec16e (image):

UNCLASSIFIED FAILURE - DrCI could not classify the following job because the workflow did not run on the merge base. The failure may be pre-existing on trunk or introduced by this PR:

  • periodic (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)

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 Aug 24, 2026
@github-actions github-actions Bot added ciflow/trunk module: arm Issues related to arm backend labels Aug 24, 2026
@oscarandersson8218 oscarandersson8218 added 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 labels Aug 24, 2026
@oscarandersson8218
oscarandersson8218 merged commit 86e9036 into pytorch:main Aug 24, 2026
523 of 533 checks passed
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. module: arm Issues related to arm backend 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.

2 participants