Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/188219
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 32 Pending, 6 Unrelated FailuresAs of commit 28b13dd with merge base a9fb86c ( NEW FAILURE - The following job has 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. |
This reverts commit b35bc89. PR #184075 reworked Inductor's temporary generalized scatter form to use private OpOverload targets (a torch.library FRAGMENT registering generalized_scatter / inplace_generalized_scatter_ with flattened, encoded view-op arguments) and added matching Piecewise support in the z3 validator. This revert restores the prior representation that passes view ops as a list of ViewOp dataclasses directly as call_function args. The revert was applied on top of current main; three hunks in reinplace.py conflicted only because later commits had refactored the PR-introduced code (assert -> raise AssertionError). All conflicts were resolved to the pre-PR form, fully removing the encode/decode machinery, the torch.library registration, and the validator additions. Test Plan: ``` python -c "import ast; ast.parse(open('torch/_inductor/fx_passes/reinplace.py').read())" python test/inductor/test_inplacing_pass.py ``` This PR was authored with the assistance of an AI agent. ghstack-source-id: 71af8ae Pull-Request: #188219
This reverts commit b35bc89. PR #184075 reworked Inductor's temporary generalized scatter form to use private OpOverload targets (a torch.library FRAGMENT registering generalized_scatter / inplace_generalized_scatter_ with flattened, encoded view-op arguments) and added matching Piecewise support in the z3 validator. This revert restores the prior representation that passes view ops as a list of ViewOp dataclasses directly as call_function args. The revert was applied on top of current main; three hunks in reinplace.py conflicted only because later commits had refactored the PR-introduced code (assert -> raise AssertionError). All conflicts were resolved to the pre-PR form, fully removing the encode/decode machinery, the torch.library registration, and the validator additions. Test Plan: ``` python -c "import ast; ast.parse(open('torch/_inductor/fx_passes/reinplace.py').read())" python test/inductor/test_inplacing_pass.py ``` This PR was authored with the assistance of an AI agent. ghstack-source-id: af9ab73 Pull-Request: #188219
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 jobs have failed, first few of them are: inductor / inductor-test / test-osdc (inductor_torchbench, 2, 2, mt-l-x86aavx2-29-113-a10g) Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot rebase |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
This reverts commit b35bc89. PR #184075 reworked Inductor's temporary generalized scatter form to use private OpOverload targets (a torch.library FRAGMENT registering generalized_scatter / inplace_generalized_scatter_ with flattened, encoded view-op arguments) and added matching Piecewise support in the z3 validator. This revert restores the prior representation that passes view ops as a list of ViewOp dataclasses directly as call_function args. The revert was applied on top of current main; three hunks in reinplace.py conflicted only because later commits had refactored the PR-introduced code (assert -> raise AssertionError). All conflicts were resolved to the pre-PR form, fully removing the encode/decode machinery, the torch.library registration, and the validator additions. Test Plan: ``` python -c "import ast; ast.parse(open('torch/_inductor/fx_passes/reinplace.py').read())" python test/inductor/test_inplacing_pass.py ``` This PR was authored with the assistance of an AI agent. ghstack-source-id: a985ff5 Pull-Request: #188219
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 jobs have failed, first few of them are: trunk / linux-jammy-rocm-py3.10-mi350 / test (distributed, 3, 3, amd-do-linux.rocm.gpu.gfx950.2) Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot merge -f "all looks good. Lets merge" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@pytorchbot cherry-pick --onto release/2.13 -c critical |
Cherry picking #188219Command Details for Dev Infra teamRaised by workflow job |
)" (#188277) This reverts commit b35bc89 on the release/2.13 branch. It is the release-branch counterpart of the main-branch revert (#188219). PR #184075 reworked Inductor's temporary generalized scatter form to use private OpOverload targets (a torch.library FRAGMENT registering generalized_scatter / inplace_generalized_scatter_ with flattened, encoded view-op arguments) and added matching Piecewise support in the z3 validator. This revert restores the prior representation that passes view ops as a list of ViewOp dataclasses directly as call_function args. The reinplace.py hunks conflicted against the release branch; all were resolved to the pre-PR form with bare asserts (torch/_inductor/** is still S101-exempt on this branch, so no noqa is added), fully removing the encode/decode machinery, the torch.library registration, and the z3 validator additions. Test Plan: ``` lintrunner torch/_inductor/fx_passes/reinplace.py ``` This PR was authored with the assistance of an AI agent.
|
@pytorchbot merge -f "All 7 failures verified unrelated to this revert (which only touches the inductor reinplace generalized-scatter pass and the z3 validator): inductor_timm (1,2)/(2,2) and inductor_torchbench (2,2) are eager-nondeterminism broken-trunk failures tracked in #187951 (fix #187954); rocm-mi350 distributed (3,3) is an RCCL pre-flight infra flake (bad KFD/HSA topology on the pod); macos mps (1,1) is a SIGSEGV at test_metal_capture teardown after the test itself passed; unit-test inductor (1,2)/(2,2) fail only AOTInductorLoggingTest::test_shape_env_reuse* (pt2 logger handler-count flake)." |
|
Can't merge closed PR #188219 |
…ytorch#188219) This reverts commit b35bc89. PR pytorch#184075 reworked Inductor's temporary generalized scatter form to use private OpOverload targets (a torch.library FRAGMENT registering generalized_scatter / inplace_generalized_scatter_ with flattened, encoded view-op arguments) and added matching Piecewise support in the z3 validator. This revert restores the prior representation that passes view ops as a list of ViewOp dataclasses directly as call_function args. The revert was applied on top of current main; three hunks in reinplace.py conflicted only because later commits had refactored the PR-introduced code (assert -> raise AssertionError). All conflicts were resolved to the pre-PR form, fully removing the encode/decode machinery, the torch.library registration, and the validator additions. Test Plan: ``` python -c "import ast; ast.parse(open('torch/_inductor/fx_passes/reinplace.py').read())" python test/inductor/test_inplacing_pass.py ``` This PR was authored with the assistance of an AI agent. Pull Request resolved: pytorch#188219 Approved by: https://github.com/atalman, https://github.com/zou3519
…ytorch#188219) This reverts commit b35bc89. PR pytorch#184075 reworked Inductor's temporary generalized scatter form to use private OpOverload targets (a torch.library FRAGMENT registering generalized_scatter / inplace_generalized_scatter_ with flattened, encoded view-op arguments) and added matching Piecewise support in the z3 validator. This revert restores the prior representation that passes view ops as a list of ViewOp dataclasses directly as call_function args. The revert was applied on top of current main; three hunks in reinplace.py conflicted only because later commits had refactored the PR-introduced code (assert -> raise AssertionError). All conflicts were resolved to the pre-PR form, fully removing the encode/decode machinery, the torch.library registration, and the validator additions. Test Plan: ``` python -c "import ast; ast.parse(open('torch/_inductor/fx_passes/reinplace.py').read())" python test/inductor/test_inplacing_pass.py ``` This PR was authored with the assistance of an AI agent. Pull Request resolved: pytorch#188219 Approved by: https://github.com/atalman, https://github.com/zou3519
…ytorch#188219) This reverts commit b35bc89. PR pytorch#184075 reworked Inductor's temporary generalized scatter form to use private OpOverload targets (a torch.library FRAGMENT registering generalized_scatter / inplace_generalized_scatter_ with flattened, encoded view-op arguments) and added matching Piecewise support in the z3 validator. This revert restores the prior representation that passes view ops as a list of ViewOp dataclasses directly as call_function args. The revert was applied on top of current main; three hunks in reinplace.py conflicted only because later commits had refactored the PR-introduced code (assert -> raise AssertionError). All conflicts were resolved to the pre-PR form, fully removing the encode/decode machinery, the torch.library registration, and the validator additions. Test Plan: ``` python -c "import ast; ast.parse(open('torch/_inductor/fx_passes/reinplace.py').read())" python test/inductor/test_inplacing_pass.py ``` This PR was authored with the assistance of an AI agent. Pull Request resolved: pytorch#188219 Approved by: https://github.com/atalman, https://github.com/zou3519
Stack from ghstack (oldest at bottom):
This reverts commit b35bc89.
PR #184075 reworked Inductor's temporary generalized scatter form to use
private OpOverload targets (a torch.library FRAGMENT registering
generalized_scatter / inplace_generalized_scatter_ with flattened,
encoded view-op arguments) and added matching Piecewise support in the
z3 validator. This revert restores the prior representation that passes
view ops as a list of ViewOp dataclasses directly as call_function args.
The revert was applied on top of current main; three hunks in
reinplace.py conflicted only because later commits had refactored the
PR-introduced code (assert -> raise AssertionError). All conflicts were
resolved to the pre-PR form, fully removing the encode/decode machinery,
the torch.library registration, and the validator additions.
Test Plan:
This PR was authored with the assistance of an AI agent.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @jataylo