-
Notifications
You must be signed in to change notification settings - Fork 279
create staticmethod for quantizing weights of QATLinear and QATEmbedding #2079
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🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/2079
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 1 New Failure, 6 Unrelated FailuresAs of commit 7956303 with merge base 0045d88 ( BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D73201409 |
…ing (pytorch#2079) Summary: For saving the quantized weights, we have been using adhoc notebooks with copy-pasted code from the convert method. This had been a source of numerical discrepancies. To avoid this issue, this diff adds separates the weight quantization logic in to a separate staticmethods so that we can reuse it. Reviewed By: jerryzh168 Differential Revision: D73201409
d953902
to
7956303
Compare
This pull request was exported from Phabricator. Differential Revision: D73201409 |
Differential Revision: D73201409 Pull Request resolved: pytorch#2079
This pull request has been reverted by 896f61b. |
Summary:
For saving the quantized weights, we have been using adhoc notebooks with copy-pasted code from the convert method.
This had been a source of numerical discrepancies. To avoid this issue, this diff adds separates the weight quantization logic in to a separate staticmethods so that we can reuse it.
Reviewed By: jerryzh168
Differential Revision: D73201409