Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/200996
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit cde8135 with merge base 4a03eed ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
This was referenced Oct 14, 2026
Draft
eellison
added a commit
that referenced
this pull request
Oct 15, 2026
## AI-generated description (draft, not yet reviewed by the author) Last PR of the FlexibleLayout freeze-discipline stack. With every area fixed, the per-file opt-in list in `torch/_inductor/test_case.py` is replaced by turning `strict_flexible_layout_strides` on for all inductor tests (unless `TORCHINDUCTOR_STRICT_FLEXIBLE_LAYOUT_STRIDES` is set explicitly), and CI exports the env var so tests that compile through other `TestCase` classes are checked too. Production stays off. New violations now fail at compile time in CI, at the line that read the provisional stride, instead of becoming silent wrong results. For example, the conv backward lowering added weeks before the check was first run (fixed earlier in this stack) would have been caught in its own PR. Validated: the full CI matrix (default, inductor, dynamo_wrapped, benchmarks, ROCm, MPS, aarch64) was green with the check on everywhere at #193860 e77db71; the only failure, torchtitan, was failing on main. Test Plan: Run on B200 against main e972a0a, with strict mode on for these files: ``` python test/inductor/test_layout_freezing.py # 31 passed python test/inductor/test_torchinductor.py # 2717 passed, 3 failed (also fail on main) ``` plus full CI on this PR. Authored with Claude Code. ghstack-source-id: b69d4d4 Pull-Request: #200996
eellison
added a commit
that referenced
this pull request
Nov 2, 2026
## AI-generated description (draft, not yet reviewed by the author) Last PR of the FlexibleLayout freeze-discipline stack. With every area fixed, the per-file opt-in list in `torch/_inductor/test_case.py` is replaced by turning `strict_flexible_layout_strides` on for all inductor tests (unless `TORCHINDUCTOR_STRICT_FLEXIBLE_LAYOUT_STRIDES` is set explicitly), and CI exports the env var so tests that compile through other `TestCase` classes are checked too. Production stays off. New violations now fail at compile time in CI, at the line that read the provisional stride, instead of becoming silent wrong results. For example, the conv backward lowering added weeks before the check was first run (fixed earlier in this stack) would have been caught in its own PR. Validated: the full CI matrix (default, inductor, dynamo_wrapped, benchmarks, ROCm, MPS, aarch64) was green with the check on everywhere at #193860 e77db71; the only failure, torchtitan, was failing on main. Test Plan: Run on B200 against main a67a74d, with strict mode on for these files: ``` python test/inductor/test_layout_freezing.py # 34 passed python test/inductor/test_torchinductor.py # 2790 passed, 3 failed (also fail on main) ``` plus full CI on this PR. Authored with Claude Code. ghstack-source-id: 8a776a5 Pull-Request: #200996
eellison
added a commit
that referenced
this pull request
Nov 2, 2026
## AI-generated description (draft, not yet reviewed by the author) Last PR of the FlexibleLayout freeze-discipline stack. With every area fixed, the per-file opt-in list in `torch/_inductor/test_case.py` is replaced by turning `strict_flexible_layout_strides` on for all inductor tests (unless `TORCHINDUCTOR_STRICT_FLEXIBLE_LAYOUT_STRIDES` is set explicitly), and CI exports the env var so tests that compile through other `TestCase` classes are checked too. Production stays off. New violations now fail at compile time in CI, at the line that read the provisional stride, instead of becoming silent wrong results. For example, the conv backward lowering added weeks before the check was first run (fixed earlier in this stack) would have been caught in its own PR. Validated: the full CI matrix (default, inductor, dynamo_wrapped, benchmarks, ROCm, MPS, aarch64) was green with the check on everywhere at #193860 e77db71; the only failure, torchtitan, was failing on main. Test Plan: Run on B200 against main a67a74d, with strict mode on for these files: ``` python test/inductor/test_layout_freezing.py # 34 passed python test/inductor/test_torchinductor.py # 2790 passed, 3 failed (also fail on main) ``` plus full CI on this PR. Authored with Claude Code. ghstack-source-id: e976c8a Pull-Request: #200996
eellison
added a commit
that referenced
this pull request
Nov 3, 2026
## AI-generated description (draft, not yet reviewed by the author) Last PR of the FlexibleLayout freeze-discipline stack. With every area fixed, the per-file opt-in list in `torch/_inductor/test_case.py` is replaced by turning `strict_flexible_layout_strides` on for all inductor tests (unless `TORCHINDUCTOR_STRICT_FLEXIBLE_LAYOUT_STRIDES` is set explicitly), and CI exports the env var so tests that compile through other `TestCase` classes are checked too. Production stays off. New violations now fail at compile time in CI, at the line that read the provisional stride, instead of becoming silent wrong results. For example, the conv backward lowering added weeks before the check was first run (fixed earlier in this stack) would have been caught in its own PR. Validated: the full CI matrix (default, inductor, dynamo_wrapped, benchmarks, ROCm, MPS, aarch64) was green with the check on everywhere at #193860 e77db71; the only failure, torchtitan, was failing on main. Test Plan: Run on B200 against main a67a74d, with strict mode on for these files: ``` python test/inductor/test_layout_freezing.py # 34 passed python test/inductor/test_torchinductor.py # 2790 passed, 3 failed (also fail on main) ``` plus full CI on this PR. Authored with Claude Code. ghstack-source-id: f001aad Pull-Request: #200996
eellison
added a commit
that referenced
this pull request
Nov 3, 2026
## AI-generated description (draft, not yet reviewed by the author) Last PR of the FlexibleLayout freeze-discipline stack. With every area fixed, the per-file opt-in list in `torch/_inductor/test_case.py` is replaced by turning `strict_flexible_layout_strides` on for all inductor tests (unless `TORCHINDUCTOR_STRICT_FLEXIBLE_LAYOUT_STRIDES` is set explicitly), and CI exports the env var so tests that compile through other `TestCase` classes are checked too. Production stays off. New violations now fail at compile time in CI, at the line that read the provisional stride, instead of becoming silent wrong results. For example, the conv backward lowering added weeks before the check was first run (fixed earlier in this stack) would have been caught in its own PR. Validated: the full CI matrix (default, inductor, dynamo_wrapped, benchmarks, ROCm, MPS, aarch64) was green with the check on everywhere at #193860 e77db71; the only failure, torchtitan, was failing on main. Test Plan: Run on B200 against main a67a74d, with strict mode on for these files: ``` python test/inductor/test_layout_freezing.py # 34 passed python test/inductor/test_torchinductor.py # 2790 passed, 3 failed (also fail on main) ``` plus full CI on this PR. Authored with Claude Code. ghstack-source-id: 86647c5 Pull-Request: #200996
eellison
added a commit
that referenced
this pull request
Nov 3, 2026
## AI-generated description (draft, not yet reviewed by the author) Last PR of the FlexibleLayout freeze-discipline stack. With every area fixed, the per-file opt-in list in `torch/_inductor/test_case.py` is replaced by turning `strict_flexible_layout_strides` on for all inductor tests (unless `TORCHINDUCTOR_STRICT_FLEXIBLE_LAYOUT_STRIDES` is set explicitly), and CI exports the env var so tests that compile through other `TestCase` classes are checked too. Production stays off. New violations now fail at compile time in CI, at the line that read the provisional stride, instead of becoming silent wrong results. For example, the conv backward lowering added weeks before the check was first run (fixed earlier in this stack) would have been caught in its own PR. Validated: the full CI matrix (default, inductor, dynamo_wrapped, benchmarks, ROCm, MPS, aarch64) was green with the check on everywhere at #193860 e77db71; the only failure, torchtitan, was failing on main. Test Plan: Run on B200 against main a67a74d, with strict mode on for these files: ``` python test/inductor/test_layout_freezing.py # 34 passed python test/inductor/test_torchinductor.py # 2790 passed, 3 failed (also fail on main) ``` plus full CI on this PR. Authored with Claude Code. ghstack-source-id: c742cd3 Pull-Request: #200996
eellison
added a commit
that referenced
this pull request
Nov 3, 2026
## AI-generated description (draft, not yet reviewed by the author) Last PR of the FlexibleLayout freeze-discipline stack. With every area fixed, the per-file opt-in list in `torch/_inductor/test_case.py` is replaced by turning `strict_flexible_layout_strides` on for all inductor tests (unless `TORCHINDUCTOR_STRICT_FLEXIBLE_LAYOUT_STRIDES` is set explicitly), and CI exports the env var so tests that compile through other `TestCase` classes are checked too. Production stays off. New violations now fail at compile time in CI, at the line that read the provisional stride, instead of becoming silent wrong results. For example, the conv backward lowering added weeks before the check was first run (fixed earlier in this stack) would have been caught in its own PR. Validated: the full CI matrix (default, inductor, dynamo_wrapped, benchmarks, ROCm, MPS, aarch64) was green with the check on everywhere at #193860 e77db71; the only failure, torchtitan, was failing on main. Test Plan: Run on B200 against main a67a74d, with strict mode on for these files: ``` python test/inductor/test_layout_freezing.py # 34 passed python test/inductor/test_torchinductor.py # 2790 passed, 3 failed (also fail on main) ``` plus full CI on this PR. Authored with Claude Code. ghstack-source-id: 2464ec1 Pull-Request: #200996
eellison
added a commit
that referenced
this pull request
Nov 3, 2026
## AI-generated description (unreviewed) Turns `strict_flexible_layout_strides` on for all inductor tests (replacing the per-file opt-in list) and exports it in `.ci/pytorch/test.sh` for the rest. Production stays off. The full CI matrix is green with it on. Test Plan: ``` python test/inductor/test_layout_freezing.py ``` plus CI. Authored with Claude Code. ghstack-source-id: 2464ec1 Pull-Request: #200996
eellison
added a commit
that referenced
this pull request
Nov 24, 2026
Turns `strict_flexible_layout_strides` on for all inductor tests (replacing the per-file opt-in list) and exports it in `.ci/pytorch/test.sh` for the rest. Production stays off. The full CI matrix is green with it on. Test Plan: ``` python test/inductor/test_layout_freezing.py ``` plus CI. Authored with Claude Code. ghstack-source-id: 8f3b7e2 Pull-Request: #200996
eellison
added a commit
that referenced
this pull request
Nov 25, 2026
Turns `strict_flexible_layout_strides` on for all inductor tests (replacing the per-file opt-in list) and exports it in `.ci/pytorch/test.sh` for the rest. Production stays off. The full CI matrix is green with it on. Test Plan: ``` python test/inductor/test_layout_freezing.py ``` plus CI. Authored with Claude Code. ghstack-source-id: ad71edc Pull-Request: #200996
eellison
added a commit
that referenced
this pull request
Dec 1, 2026
Turns `strict_flexible_layout_strides` on for all inductor tests (replacing the per-file opt-in list) and exports it in `.ci/pytorch/test.sh` for the rest. Production stays off. The full CI matrix is green with it on. Test Plan: ``` python test/inductor/test_layout_freezing.py ``` plus CI. Authored with Claude Code. ghstack-source-id: 95ab5b6 Pull-Request: #200996
eellison
added a commit
that referenced
this pull request
Dec 1, 2026
Turns `strict_flexible_layout_strides` on for all inductor tests (replacing the per-file opt-in list) and exports it in `.ci/pytorch/test.sh` for the rest. Production stays off. The full CI matrix is green with it on. Test Plan: ``` python test/inductor/test_layout_freezing.py ``` plus CI. Authored with Claude Code. ghstack-source-id: dfcb3e9 Pull-Request: #200996
eellison
added a commit
that referenced
this pull request
Dec 2, 2026
Turns `strict_flexible_layout_strides` on for all inductor tests (replacing the per-file opt-in list) and exports it in `.ci/pytorch/test.sh` for the rest. Production stays off. The full CI matrix is green with it on. Test Plan: ``` python test/inductor/test_layout_freezing.py ``` plus CI. Authored with Claude Code. ghstack-source-id: 4ef46b5 Pull-Request: #200996
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack (oldest at bottom):
AI-generated description (unreviewed)
Turns
strict_flexible_layout_strideson for all inductor tests (replacing theper-file opt-in list) and exports it in
.ci/pytorch/test.shfor the rest.Production stays off. The full CI matrix is green with it on.
Test Plan:
plus CI.
Authored with Claude Code.