10000 [inductor] lowering for fractional_max_pool3d by isuruf · Pull Request #148630 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

[inductor] lowering for fractional_max_pool3d #148630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: gh/isuruf/127/base
Choose a base branch
from

Conversation

isuruf
Copy link
Collaborator
@isuruf isuruf commented Mar 6, 2025

[ghstack-poisoned]
Copy link
pytorch-bot bot commented Mar 6, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures, 2 Unrelated Failures

As of commit a1df376 with merge base 48bfe9a (image):

NEW FAILURES - The following jobs have 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.

isuruf added a commit that referenced this pull request Mar 6, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: cb31542
Pull Request resolved: #148630
[ghstack-poisoned]
isuruf added a commit that referenced this pull request Mar 6, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: f095b47
Pull Request resolved: #148630
[ghstack-poisoned]
isuruf added a commit that referenced this pull request Mar 6, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: 411a54b
Pull Request resolved: #148630
[ghstack-poisoned]
isuruf added a commit that referenced this pull request Mar 24, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: 286fa27
Pull Request resolved: #148630
[ghstack-poisoned]
isuruf added a commit that referenced this pull request Mar 24, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: 794b992
Pull Request resolved: #148630
[ghstack-poisoned]
isuruf added a commit that referenced this pull request Mar 24, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: 2ceff00
Pull Request resolved: #148630
[ghstack-poisoned]
isuruf added a commit that referenced this pull request Mar 24, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: 309584a
Pull Request resolved: #148630
[ghstack-poisoned]
isuruf added a commit that referenced this pull request Mar 25, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: 4c4fee9
Pull Request resolved: #148630
@isuruf isuruf requested a review from eellison April 1, 2025 18:10
[ghstack-poisoned]
isuruf added a commit that referenced this pull request Apr 2, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: 8530467
Pull Request resolved: #148630
[ghstack-poisoned]
isuruf added a commit that referenced this pull request Apr 3, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: 28ed6f1
Pull Request resolved: #148630
[ghstack-poisoned]
isuruf added a commit that referenced this pull request Apr 7, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: fca3539
Pull Request resolved: #148630
[ghstack-poisoned]
isuruf added a commit that referenced this pull request Apr 8, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: 4de9cbb
Pull Request resolved: #148630
eellison
eellison previously approved these changes Apr 10, 2025
Copy link
Contributor
@eellison eellison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good ! maybe add a few more tests for sanity checking.

@eellison eellison dismissed their stale review April 10, 2025 16:59

Jk, failing tests

Copy link
Contributor
@eellison eellison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops - failing tests

@isuruf
Copy link
Collaborator Author
isuruf commented Apr 10, 2025

Yes, I can't reproduce the tests locally. I'm retrying in an AVX-512 machine to see if the error happens only on those machines.

[ghstack-poisoned]
isuruf added a commit that referenced this pull request Apr 28, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: ee439f9
Pull Request resolved: #148630
@isuruf
Copy link
Collaborator Author
isuruf commented Apr 28, 2025

Tests fixed by #151887

@isuruf isuruf requested a review from eellison April 28, 2025 16:35
Copy link
Contributor
@eellison eellison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great!

offsets, kernel_size, input_size, stride, padding, dilation
):
# TODO: Generalize to other max pooling flavors
def _pool_offsets_to_indices(offsets, kernel_size, input_size, increments_to_index):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: type annotations

[ghstack-poisoned]
isuruf added a commit that referenced this pull request May 7, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: 8436abe
Pull Request resolved: #148630
@isuruf
Copy link
Collaborator Author
isuruf commented May 8, 2025

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label May 8, 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

[ghstack-poisoned]
isuruf added a commit that referenced this pull request May 8, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: b228249
Pull Request resolved: #148630
@pytorch-bot pytorch-bot bot added the ciflow/mps Run MPS tests (subset of trunk) label May 8, 2025
[ghstack-poisoned]
isuruf added a commit that referenced this pull request May 9, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: 5d7d247
Pull Request resolved: #148630
[ghstack-poisoned]
isuruf added a commit that referenced this pull request May 15, 2025
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d

ghstack-source-id: 9459618
Pull Request resolved: #148630
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/inductor ciflow/mps Run MPS tests (subset of trunk) ciflow/trunk Trigger trunk jobs on your pull request module: inductor open source release notes: inductor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0