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
Gelu Backward, Contribution from Kevin Stephano #58249
Conversation
[ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit c09092b (more details on the Dr. CI page):
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-source-id: 2e2fdb43bbd7e01c9e356fdcbb4fb0f5a9ae0486 Pull Request resolved: #58249
[ghstack-poisoned]
ghstack-source-id: e5653a25eaca660de5495159cc0098824322788e Pull Request resolved: #58249
@@ -1543,6 +1543,12 @@ def sample_inputs_hardswish(self, device, dtype, requires_grad): | |||
requires_grad=requires_grad, low=-5, high=5)) for _ in range(1, N)] | |||
return tensors | |||
|
|||
def sample_inputs_gelu(self, device, dtype, requires_grad): |
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.
again, dont think this is actually needed but can be removed in a follow up
dtypesIfCUDA=floating_types_and(torch.half, torch.bfloat16), | ||
supports_gradgrad=True, | ||
supports_out=False, | ||
autodiff_nonfusible_nodes=["aten::gelu"]), |
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.
same with this, lets remove this in follow up
@Krovatkin has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
2 similar comments
@Krovatkin has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@Krovatkin has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@Krovatkin merged this pull request in d304bb0. |
Summary: Pull Request resolved: #58249 Test Plan: Imported from OSS Reviewed By: ejguan Differential Revision: D28425629 Pulled By: Krovatkin fbshipit-source-id: 494ab165d548aa76f036344ab1c19c5fd64bae82
Summary: Pull Request resolved: pytorch#58249 Test Plan: Imported from OSS Reviewed By: ejguan Differential Revision: D28425381 Pulled By: Krovatkin fbshipit-source-id: 21b7ac972220b6c35b285e3b66f05eb392002408
Summary: Pull Request resolved: pytorch#58249 Test Plan: Imported from OSS Reviewed By: ejguan Differential Revision: D28425629 Pulled By: Krovatkin fbshipit-source-id: 494ab165d548aa76f036344ab1c19c5fd64bae82
Stack from ghstack:
Differential Revision: D28425629