-
Notifications
You must be signed in to change notification settings - Fork 24.7k
OpInfo for nn.functional.relu
#62076
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
💊 CI failures summary and remediationsAs of commit 714cc3d (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. |
(()), | ||
((S, )), | ||
((S, S)), | ||
((S, M, S)) |
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.
We probably don't even need this case
@@ -6310,6 +6326,13 @@ def gradcheck_wrapper_triangular_input(op, input, *args, upper=False, **kwargs): | |||
dtypes=all_types_and(torch.float16, torch.bfloat16, torch.bool), | |||
supports_forward_ad=True, | |||
sample_inputs_func=sample_inputs_max_min_binary,), | |||
OpInfo('nn.functional.relu', |
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!
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.
Awesome! Thanks @krshrimali.
@zou3519 would you like to check this, make sure it has the sample inputs you need, and shepherd it through?
@zou3519 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Yup, can do! |
See pytorch/functorch#78 and #54261.
cc: @mruberry