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
[pytorch][quantization] adding jit state for QuantizedLeakyReLU #47660
Conversation
This pull request was exported from Phabricator. Differential Revision: D24757522 |
💊 CI failures summary and remediationsAs of commit 6ac4d3d (more details on the Dr. CI page): ✅ None of the CI failures appear to be your fault 💚
❄️ 1 failure tentatively classified as flakybut reruns have not yet been triggered to confirm: pytorch_windows_vs2019_py36_cpu_build (1/1)Step: "Checkout code" (full log | diagnosis details | 🔁 rerun) ❄️
|
This pull request was exported from Phabricator. Differential Revision: D24757522 |
db9b6e3
to
8c7da56
Compare
Codecov Report
@@ Coverage Diff @@
## master #47660 +/- ##
==========================================
- Coverage 81.26% 81.25% -0.01%
==========================================
Files 1838 1838
Lines 198237 198237
==========================================
- Hits 161090 161087 -3
- Misses 37147 37150 +3 |
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!
This pull request was exported from Phabricator. Differential Revision: D24757522 |
8c7da56
to
331c9ef
Compare
…rch#47660) Summary: Pull Request resolved: pytorch#47660 Currently, `QuantizedLeakyReLU` doesn't have any items in the `state_dict`. However, this operator needs to store the `scale` and `zero_point` in its state dictionary or the loading state dict for a quantized model with LeakyReLUs that have non-default quantization params would break. Test Plan: Originally the issue was found here: https://www.internalfb.com/intern/anp/view/?id=390362&revision_id=2510709822565735 In the latest version, I fixed this issue: https://www.internalfb.com/intern/anp/view/?id=390362 Reviewed By: jerryzh168 Differential Revision: D24757522 fbshipit-source-id: ba26c03307cf542bfbd490e44609762514e8c437
This pull request was exported from Phabricator. Differential Revision: D24757522 |
331c9ef
to
6ac4d3d
Compare
This pull request has been merged in f86ec08. |
Summary: Currently,
QuantizedLeakyReLU
doesn't have any items in thestate_dict
. However, this operator needs to store thescale
andzero_point
in its state dictionary or the loading state dict for a quantized model with LeakyReLUs that have non-default quantization params would break.Differential Revision: D24757522