Repository navigation
Conversation
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/182898
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 646fc86 with merge base 333b108 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. [ghstack-poisoned]
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. ghstack-source-id: 3848a6f Pull Request resolved: #182898
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. [ghstack-poisoned]
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. ghstack-source-id: 433728f Pull Request resolved: #182898
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. [ghstack-poisoned]
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. ghstack-source-id: 138e071 Pull Request resolved: #182898
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. [ghstack-poisoned]
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. ghstack-source-id: 607aa06 Pull Request resolved: #182898
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. ghstack-source-id: a6013b1 Pull Request resolved: #182898
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. ghstack-source-id: 6a66787 Pull Request resolved: #182898
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. ghstack-source-id: e344a54 Pull Request resolved: #182898
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. ghstack-source-id: 816c4fc Pull Request resolved: #182898
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. ghstack-source-id: 83847c7 Pull Request resolved: #182898
|
Claude finished @PaulZhang12's task in 2m 0s —— View job Review: XBLOCK Nested Grouped Reductions
This PR extends the nested reduction fusion from only handling the "group-in-R" case (split parent R tile) to also handling "group-in-X" (split parent X tile). The change is well-structured: Overall this is a clean extension of an existing pattern. The approval from @jansel and green CI give confidence the approach is sound. A few observations: 1. Potential redundant divisibility check (
|
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 1 checks: inductor / unit-test / linux-jammy-cpu-py3.12-gcc11-inductor-triton-cpu / test (inductor-triton-cpu, 1, 1, linux.8xlarge.amx) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@pytorchbot merge -f "unrelated failures / taking too long" |
|
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 |
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 |
Merge failedReason: Command Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 1 checks: inductor / unit-test / inductor-triton-cpu-build / build Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. Pull Request resolved: pytorch#182898 Approved by: https://github.com/jansel
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. Pull Request resolved: pytorch#182898 Approved by: https://github.com/jansel
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence. Authored with Claude. Pull Request resolved: pytorch#182898 Approved by: https://github.com/jansel
Stack from ghstack (oldest at bottom):
Extend nested reduction fusion to the complementary case where the grouped local reduction splits the parent X tile instead of the R tile. The scheduler classifies pointwise nodes against grouped-body and parent-tile domains, then regular fusion legality decides which follow-up consumers are admitted. Codegen maps each admitted full-resolution pointwise node using the domain matching its actual ranges, so degenerate collapsed shapes such as B=1 lower correctly without adding generic broadcast-dependency equivalence.
Authored with Claude.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @jataylo @mlazos