-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[OpInfo] Added ReductionOpInfo subclass of OpInfo and ported sum test #62737
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
[OpInfo] Added ReductionOpInfo subclass of OpInfo and ported sum test #62737
Conversation
[ghstack-poisoned]
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit e0c2b92 (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. |
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
…ed sum test" [ghstack-poisoned]
…ed sum test" [ghstack-poisoned]
…ed sum test" [ghstack-poisoned]
…ed sum test" [ghstack-poisoned]
…ed sum test" [ghstack-poisoned]
…ed sum test" [ghstack-poisoned]
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.
A few small suggestions inline for you to consider, but overall things look good. Hurray ReductionInfos!
…ed sum test" ReductionOpInfo is a specialization of OpInfo for reduction operators. For now, it is designed to work with reductions that return a single tensor and that reduce all elements along one or more dimensions to a single value. In particular this excludes operators such as `max` and `min` that return multiple tensors and `quantile` that can return multiple values. fixes #49746 [ghstack-poisoned]
|
@heitorschueroff has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…ed sum test" ReductionOpInfo is a specialization of OpInfo for reduction operators. For now, it is designed to work with reductions that return a single tensor and that reduce all elements along one or more dimensions to a single value. In particular this excludes operators such as `max` and `min` that return multiple tensors and `quantile` that can return multiple values. fixes #49746 Differential Revision: [D30406568](https://our.internmc.facebook.com/intern/diff/D30406568) [ghstack-poisoned]
|
@heitorschueroff has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…ed sum test" ReductionOpInfo is a specialization of OpInfo for reduction operators. For now, it is designed to work with reductions that return a single tensor and that reduce all elements along one or more dimensions to a single value. In particular this excludes operators such as `max` and `min` that return multiple tensors and `quantile` that can return multiple values. fixes #49746 Differential Revision: [D30406568](https://our.internmc.facebook.com/intern/diff/D30406568) [ghstack-poisoned]
|
@heitorschueroff has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…ed sum test" ReductionOpInfo is a specialization of OpInfo for reduction operators. For now, it is designed to work with reductions that return a single tensor and that reduce all elements along one or more dimensions to a single value. In particular this excludes operators such as `max` and `min` that return multiple tensors and `quantile` that can return multiple values. fixes #49746 Differential Revision: [D30406568](https://our.internmc.facebook.com/intern/diff/D30406568) [ghstack-poisoned]
|
@heitorschueroff has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…ed sum test" ReductionOpInfo is a specialization of OpInfo for reduction operators. For now, it is designed to work with reductions that return a single tensor and that reduce all elements along one or more dimensions to a single value. In particular this excludes operators such as `max` and `min` that return multiple tensors and `quantile` that can return multiple values. fixes #49746 Differential Revision: [D30406568](https://our.internmc.facebook.com/intern/diff/D30406568) [ghstack-poisoned]
|
@heitorschueroff has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…ed sum test" ReductionOpInfo is a specialization of OpInfo for reduction operators. For now, it is designed to work with reductions that return a single tensor and that reduce all elements along one or more dimensions to a single value. In particular this excludes operators such as `max` and `min` that return multiple tensors and `quantile` that can return multiple values. fixes #49746 Differential Revision: [D30406568](https://our.internmc.facebook.com/intern/diff/D30406568) [ghstack-poisoned]
|
@heitorschueroff has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…ed sum test" ReductionOpInfo is a specialization of OpInfo for reduction operators. For now, it is designed to work with reductions that return a single tensor and that reduce all elements along one or more dimensions to a single value. In particular this excludes operators such as `max` and `min` that return multiple tensors and `quantile` that can return multiple values. fixes #49746 Differential Revision: [D30406568](https://our.internmc.facebook.com/intern/diff/D30406568) [ghstack-poisoned]
|
@heitorschueroff has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
@heitorschueroff merged this pull request in 774ae08. |
Stack from ghstack:
ReductionOpInfo is a specialization of OpInfo for reduction operators. For now, it is designed to work with reductions that return a single tensor and that reduce all elements along one or more dimensions to a single value. In particular this excludes operators such as
maxandminthat return multiple tensors andquantilethat can return multiple values.fixes #49746
Differential Revision: D30406568