-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
[ReduceOp] ameliorate custom __eq__
#90088
Conversation
Needs to achieve the associativity of ReduceOp.__eq__ and RedOpType.__eq__ Signed-off-by: Masaki Kozuki <mkozuki@nvidia.com>
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/90088
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit f50e4ff: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
The failure doesn't look related.
|
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 for the fix and for adding the tests. LGTM.
Signed-off-by: Masaki Kozuki <mkozuki@nvidia.com>
@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 |
Improve the completeness of `ReduceOp.__eq__`. Should support the equal operator with the first argument of `RedOpType` and the second of `ReduceOp` in a follow-up. Fixes pytorch#90072 Pull Request resolved: pytorch#90088 Approved by: https://github.com/kwen2501
Improve the completeness of
ReduceOp.__eq__
.Should support the equal operator with the first argument of
RedOpType
and the second ofReduceOp
in a follow-up.Fixes #90072
cc @kwen2501 @pritamdamania87