-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Port kthvalue
tests to OpInfo
#58654
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 e84d8bd (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. |
Codecov Report
@@ Coverage Diff @@
## master #58654 +/- ##
=======================================
Coverage 76.51% 76.51%
=======================================
Files 1992 1992
Lines 200145 200150 +5
=======================================
+ Hits 153134 153144 +10
+ Misses 47011 47006 -5 |
@@ -61,7 +62,7 @@ inline void _reduction_with_indices_allocate_or_resize_output( | |||
// unsqueeze to preserve passed in noncontiguous tensor in resize | |||
values.unsqueeze_(dim); | |||
} | |||
values.resize_(result_sizes); | |||
resize_output(values, result_sizes); |
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.
Nice fix
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.
Nice port, @ysiraichi!
@mruberry has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Tracking issue #54261