-
Notifications
You must be signed in to change notification settings - Fork 26.3k
reflection_pad1: port to structured kernel
#55531
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
💊 CI failures summary and remediationsAs of commit 0dc2f5d (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. |
|
This pull request was exported from Phabricator. Differential Revision: D27628059 |
|
This pull request was exported from Phabricator. Differential Revision: D27628059 |
|
This pull request was exported from Phabricator. Differential Revision: D27628059 |
|
This pull request was exported from Phabricator. Differential Revision: D27628059 |
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.
This will "work" but it will be better to inline reflection_pad1d_out_template into the IMPL_FUNC and then delete the unnecessary shape checking code.
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.
Ditto here
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.
reflection_pad1d_out_template is still used in reflection_pad1d_cpu for reflection_pad1d to dispatch QuantizedCPU.
ezyang
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.
This is a good start but it would be better to now remove the redundant checks.
|
This pull request was exported from Phabricator. Differential Revision: D27628059 |
|
This pull request was exported from Phabricator. Differential Revision: D27628059 |
Codecov Report
@@ Coverage Diff @@
## master #55531 +/- ##
==========================================
+ Coverage 74.66% 77.40% +2.73%
==========================================
Files 1896 1902 +6
Lines 187857 188386 +529
==========================================
+ Hits 140268 145814 +5546
+ Misses 47589 42572 -5017 |
|
This pull request was exported from Phabricator. Differential Revision: D27628059 |
Summary: Pull Request resolved: pytorch#55531 Following https://github.com/pytorch/rfcs/blob/rfc-0005/RFC-0005-structured-kernel-definitions.md Test Plan: unittests Reviewed By: ezyang Differential Revision: D27628059 fbshipit-source-id: 3c314e6263313d13daa08da81f76eed29b390de6
|
This pull request was exported from Phabricator. Differential Revision: D27628059 |
|
This pull request has been merged in a61d91e. |
Summary: Pull Request resolved: pytorch#55531 Following https://github.com/pytorch/rfcs/blob/rfc-0005/RFC-0005-structured-kernel-definitions.md Test Plan: unittests Reviewed By: ezyang Differential Revision: D27628059 fbshipit-source-id: 885a10b766db39f8f8df4dcaaf0769fcf2ff9751
reflection_pad1: port to structured kernel
Following https://github.com/pytorch/rfcs/blob/rfc-0005/RFC-0005-structured-kernel-definitions.md
Tracking issue #55070
Differential Revision: D27628059