Skip to content

handle multiple reductions in node splits & read/write normalization#168013

Closed
eellison wants to merge 4 commits intogh/eellison/872/basefrom
gh/eellison/872/head
Closed

handle multiple reductions in node splits & read/write normalization#168013
eellison wants to merge 4 commits intogh/eellison/872/basefrom
gh/eellison/872/head

Conversation

@eellison
Copy link
Contributor

@eellison eellison commented Nov 17, 2025

Stack from ghstack (oldest at bottom):

Another partial fix to #166653:

We had not yet handled multiple reduction vars in tiling splits, which led to the coalesce analysis not seeing the vars as coalesced. See, updated P2043574063, which shows the kernel with correct coalescing by rblock (private link bc private model).

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @jataylo @chenyang78

[ghstack-poisoned]
eellison added a commit that referenced this pull request Nov 17, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 17, 2025

🔗 Helpful Links

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

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

✅ You can merge normally! (9 Unrelated Failures)

As of commit 9a2a344 with merge base 015826f (image):

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

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

@eellison eellison requested a review from shunting314 November 17, 2025 17:32
@eellison eellison added the topic: not user facing topic category label Nov 17, 2025
[ghstack-poisoned]
@eellison eellison mentioned this pull request Nov 17, 2025
eellison added a commit that referenced this pull request Nov 17, 2025
@eellison
Copy link
Contributor Author

@pytorchbot rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot
Copy link
Collaborator

Rebase failed due to Command git -C /home/runner/work/pytorch/pytorch rebase refs/remotes/origin/viable/strict gh/eellison/872/orig returned non-zero exit code 1

Rebasing (1/2)
Auto-merging test/inductor/test_loop_ordering.py
CONFLICT (content): Merge conflict in test/inductor/test_loop_ordering.py
Auto-merging torch/_inductor/codegen/simd.py
Auto-merging torch/_inductor/tiling_utils.py
error: could not apply b9c7ba9a01c... Tiling bug fix
hint: Resolve all conflicts manually, mark them as resolved with
hint: "git add/rm <conflicted_files>", then run "git rebase --continue".
hint: You can instead skip this commit: run "git rebase --skip".
hint: To abort and get back to the state before "git rebase", run "git rebase --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Could not apply b9c7ba9a01c... # Tiling bug fix

Raised by https://github.com/pytorch/pytorch/actions/runs/19477738026

[ghstack-poisoned]
eellison added a commit that referenced this pull request Nov 19, 2025
@eellison
Copy link
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 19, 2025
@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: inductor / inductor-test / test (inductor_timm, 1, 2, linux.g5.4xlarge.nvidia.gpu)

Details for Dev Infra team Raised by workflow job

tiendatngcs pushed a commit to tiendatngcs/pytorch-Dec25 that referenced this pull request Dec 10, 2025
[ghstack-poisoned]
eellison added a commit that referenced this pull request Dec 11, 2025
@eellison
Copy link
Contributor Author

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 2 jobs have failed, first few of them are: trunk / linux-jammy-rocm-py3.10 / test (default, 3, 6, linux.rocm.gpu.gfx942.1), trunk / linux-jammy-rocm-py3.10 / test (default, 1, 6, linux.rocm.gpu.gfx942.1)

Details for Dev Infra team Raised by workflow job

@eellison
Copy link
Contributor Author

@pytorchbot merge -i

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged while ignoring the following 2 checks: trunk / linux-jammy-rocm-py3.10 / test (default, 3, 6, linux.rocm.gpu.gfx942.1), trunk / linux-jammy-rocm-py3.10 / test (default, 1, 6, linux.rocm.gpu.gfx942.1)

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@eellison
Copy link
Contributor Author

@pytorchbot merge -i "rocm tests failing"

@pytorch-bot
Copy link

pytorch-bot bot commented Dec 12, 2025

❌ 🤖 pytorchbot command failed:

@pytorchbot: error: unrecognized arguments: rocm tests failing

usage: @pytorchbot [-h] {merge,revert,rebase,label,drci,cherry-pick} ...

Try @pytorchbot --help for more info.

@eellison
Copy link
Contributor Author

@pytorchbot merge -i "all rocm tests failing, unrelated"

@pytorch-bot
Copy link

pytorch-bot bot commented Dec 12, 2025

❌ 🤖 pytorchbot command failed:

@pytorchbot: error: unrecognized arguments: all rocm tests failing, unrelated

usage: @pytorchbot [-h] {merge,revert,rebase,label,drci,cherry-pick} ...

Try @pytorchbot --help for more info.

@eellison
Copy link
Contributor Author

@pytorchbot merge -i

vishalgoyal316 pushed a commit to vishalgoyal316/pytorch that referenced this pull request Dec 17, 2025
…ytorch#168013)

Another partial fix to pytorch#166653:

We had not yet handled multiple reduction vars in tiling splits, which led to the coalesce analysis not seeing the vars as coalesced. See, updated P2043574063, which shows the kernel with correct coalescing by rblock (private link bc private model).

Pull Request resolved: pytorch#168013
Approved by: https://github.com/shunting314
krastogi-in pushed a commit to krastogi-in/pytorch that referenced this pull request Jan 9, 2026
…ytorch#168013)

Another partial fix to pytorch#166653:

We had not yet handled multiple reduction vars in tiling splits, which led to the coalesce analysis not seeing the vars as coalesced. See, updated P2043574063, which shows the kernel with correct coalescing by rblock (private link bc private model).

Pull Request resolved: pytorch#168013
Approved by: https://github.com/shunting314
@github-actions github-actions bot deleted the gh/eellison/872/head branch January 12, 2026 02:22
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.

3 participants