Skip to content

[inductor] Fix FlexibleLayout stride reads in conv and oneDNN lowerings - #200994

Draft
eellison wants to merge 13 commits into
gh/eellison/1126/basefrom
gh/eellison/1126/head
Draft

eellison wants to merge 13 commits into
gh/eellison/1126/basefrom
gh/eellison/1126/head

Conversation

@eellison

@eellison eellison commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

AI-generated description (unreviewed)

  • qlinear binary "sum" may re-label its output as a view of the
    in-place-updated x2; x2 is now frozen first.
  • Conv forward/backward and the oneDNN conv prepare fake-run conv on
    provisional strides only to pick a memory format that callers then require.
    These now run under allow_layout_analysis (a peek; codegen unchanged).

Test Plan (strict on):

python test/inductor/test_cpu_repro.py
python test/inductor/test_mkldnn_pattern_matcher.py
python test/inductor/test_inductor_freezing.py

Authored with Claude Code.

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

As of commit 28b7af5 with merge base 4a03eed (image):
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot

pytorch-bot Bot commented Oct 14, 2026

Copy link
Copy Markdown

This PR needs a release notes: label

If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:.

If not, please add the topic: not user facing label.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "topic: not user facing"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@eellison
eellison requested a review from jansel December 2, 2026 10:02

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant