-
Notifications
You must be signed in to change notification settings - Fork 25.6k
graph mode: round out relu support #37592
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
Summary: Makes sure that all the standalone relu flavors are tested in graph mode. Test Plan: ``` python test/test_quantization.py TestQuantizeScriptPTSQOps.test_swap_dequantize ``` Reviewers: Subscribers: Tasks: Tags: [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.
Thanks!
x = F.elu(x) | ||
x = self.hardsigmoid(x) | ||
x = F.hardsigmoid(x) | ||
x = self.relu(x) |
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.
btw, please add inplace versions as well
Summary: Makes sure that all the standalone relu flavors are tested in graph mode. Test Plan: ``` python test/test_quantization.py TestQuantizeScriptPTSQOps.test_swap_dequantize ``` Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: Makes sure that all the standalone relu flavors are tested in graph mode. Test Plan: ``` python test/test_quantization.py TestQuantizeScriptPTSQOps.test_swap_dequantize ``` Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: Makes sure that all the standalone relu flavors are tested in graph mode. Test Plan: ``` python test/test_quantization.py TestQuantizeScriptPTSQOps.test_swap_dequantize ``` Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D21366597](https://our.internmc.facebook.com/intern/diff/D21366597) [ghstack-poisoned]
💊 Build failures summary and remediationsAs of commit 3194893 (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 on the GitHub issue tracker. This comment has been revised 7 times. |
Summary: Makes sure that all the standalone relu flavors are tested in graph mode. Test Plan: ``` python test/test_quantization.py TestQuantizeScriptPTSQOps.test_swap_dequantize ``` Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D21366597](https://our.internmc.facebook.com/intern/diff/D21366597) [ghstack-poisoned]
Summary: Pull Request resolved: pytorch#37592 Makes sure that all the standalone relu flavors are tested in graph mode. Test Plan: ``` python test/test_quantization.py TestQuantizeScriptPTSQOps.test_swap_dequantize ``` Imported from OSS Differential Revision: D21366597 fbshipit-source-id: 103848b76a0c65b9adac5bae98b545aa1d30a9e2
This pull request has been merged in b354700. |
Stack from ghstack:
Summary:
Makes sure that all the standalone relu flavors are tested in
graph mode.
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
Differential Revision: D21366597