-
Notifications
You must be signed in to change notification settings - Fork 22.6k
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
Fix inconsistent torch.nn.MaxPool1d output on cpu and gpu #99843
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/99843
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New FailuresAs of commit 7025c3d: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Hi @mikaylagawarecki , were you able to take a look at this pr? Apologies for the ping, would just love to get this merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @tfsingh , so sorry for the delay! Could you add a test in test_nn that ensures the inconsistency is fixed please!
Of course, I just added one. I used self.assertRaises to make the CI tests pass, but I'm not sure why assertRaisesrRegex wasn't working in commit e6ae619:
These seem to be the same to me? |
@pytorchbot rebase |
@pytorchbot successfully started a rebase job. Check the current status here |
Successfully rebased |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@pytorchbot merge |
Merge failedReason: This PR needs a label If not, please add the To add a label, you can comment to pytorchbot, for example For more information, see Details for Dev Infra teamRaised by workflow job |
@pytorchbot label "error checking" |
Didn't find following labels among repository labels: error checking |
@pytorchbot label "module: error checking" |
Hi @mikaylagawarecki , could you restart the merge when you get a chance? Thanks! |
@pytorchbot rebase |
@pytorchbot successfully started a rebase job. Check the current status here |
Successfully rebased |
@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 |
Fixes #99412 , correctly raising an error when an output of invalid size is calculated. Would be happy to iterate on this if there are any issues. Pull Request resolved: #99843 Approved by: https://github.com/mikaylagawarecki
Fixes #99412 , correctly raising an error when an output of invalid size is calculated.
Would be happy to iterate on this if there are any issues.
cc @malfet @jbschlosser