Skip to content

Channels last: add the common layout pipeline - #21963

Draft
rascani wants to merge 2 commits into
gh/rascani/8/headfrom
gh/rascani/9/head
Draft

Channels last: add the common layout pipeline#21963
rascani wants to merge 2 commits into
gh/rascani/8/headfrom
gh/rascani/9/head

Conversation

@rascani

@rascani rascani commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Add ToContiguousChannelsLastPass as the shared fixed-point pipeline for replacing selected operators with channels-last variants and composing existing data-movement transforms.

Backends can restrict anchors, add layout-equivariant operations, choose explicit padding retargeting, and provide a node-level propagation barrier. Reporting covers converted anchors and structural-copy counts and bytes; strict mode rejects skipped anchors, internal copies, and unknown surviving copy sizes.

Replace the skipped proof-of-concept model matrix with pinned per-case and aggregate permute and view counts, plus focused coverage for barriers, dynamic shapes, padding, byte accounting, and idempotence.

Targeted common pipeline and permute suites passed 88 tests.

Authored with Codex.

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented Aug 20, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 3 New Failures

As of commit 2d088ca with merge base 1b2838b (image):

NEW FAILURES - The following jobs have failed:

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

[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant