-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[MPS] Add MPS implementation for constant_pad_nd() (#75) #82366
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
Conversation
🔗 Helpful links
❌ 1 New Failures, 1 Base FailuresAs of commit 0b1fdc3 (more details on the Dr. CI page): Expand to see more
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages
|
razarmehr
left a comment
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.
Looks good.
There seems to be a NestedTensor regression. |
|
@pytorchbot rebase |
|
@pytorchbot successfully started a rebase job. Check the current status here |
This should improve the performance in several benchmarks
|
Successfully rebased |
7af0d0b to
0b1fdc3
Compare
|
@pytorchbot merge -f "Unrelated issue." |
|
@pytorchbot successfully started a merge job. Check the current status here |
|
Hey @kulinseth. |
…2366) Summary: MPS has a native implementation of the constant pad nd. Adding that instead of going through the view ops helps improve performance in several benchmarks in torchbench. Pull Request resolved: #82366 Approved by: https://github.com/malfet, https://github.com/razarmehr Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/38b4114278bcab35f4221945b2777c8c1fff37a0 Reviewed By: osalpekar Differential Revision: D38306822 Pulled By: osalpekar fbshipit-source-id: 36880d4d638fd85bd9ed987c11103fdf1fc48279
MPS has a native implementation of the constant pad nd. Adding that instead of going through the view ops helps improve performance in several benchmarks in torchbench.