Skip to content
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

Closed
wants to merge 2 commits into from

Conversation

Krovatkin
Copy link
Contributor

@Krovatkin Krovatkin commented May 13, 2021

Stack from ghstack:

Differential Revision: D28425629

This was referenced May 13, 2021
@facebook-github-bot facebook-github-bot added cla signed oncall: jit Add this issue/PR to JIT oncall triage queue labels May 13, 2021
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented May 13, 2021

💊 CI failures summary and remediations

As of commit c09092b (more details on the Dr. CI page):


  • 1/1 failures possibly* introduced in this PR
    • 1/1 non-scanned failure(s)

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.

Click here to manually regenerate this comment.

Krovatkin added a commit that referenced this pull request May 13, 2021
ghstack-source-id: 2e2fdb43bbd7e01c9e356fdcbb4fb0f5a9ae0486
Pull Request resolved: #58249
Krovatkin added a commit that referenced this pull request May 13, 2021
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):
Copy link
Contributor

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"]),
Copy link
Contributor

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
Copy link
Contributor Author

@Krovatkin has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

2 similar comments
@Krovatkin
Copy link
Contributor Author

@Krovatkin has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@Krovatkin
Copy link
Contributor Author

@Krovatkin has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@Krovatkin merged this pull request in d304bb0.

facebook-github-bot pushed a commit that referenced this pull request May 14, 2021
Summary: Pull Request resolved: #58249

Test Plan: Imported from OSS

Reviewed By: ejguan

Differential Revision: D28425629

Pulled By: Krovatkin

fbshipit-source-id: 494ab165d548aa76f036344ab1c19c5fd64bae82
@facebook-github-bot facebook-github-bot deleted the gh/krovatkin/5/head branch May 17, 2021 14:17
krshrimali pushed a commit to krshrimali/pytorch that referenced this pull request May 19, 2021
Summary: Pull Request resolved: pytorch#58249

Test Plan: Imported from OSS

Reviewed By: ejguan

Differential Revision: D28425381

Pulled By: Krovatkin

fbshipit-source-id: 21b7ac972220b6c35b285e3b66f05eb392002408
krshrimali pushed a commit to krshrimali/pytorch that referenced this pull request May 19, 2021
Summary: Pull Request resolved: pytorch#58249

Test Plan: Imported from OSS

Reviewed By: ejguan

Differential Revision: D28425629

Pulled By: Krovatkin

fbshipit-source-id: 494ab165d548aa76f036344ab1c19c5fd64bae82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla signed Merged oncall: jit Add this issue/PR to JIT oncall triage queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants