-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Static quantization tutorial missing a step #1235
Comments
/assigntome |
Can you please close one of the PRs for this issue? |
Done |
This issue has been unassigned due to inactivity. If you are still planning to work on this, you can still send a PR referencing this issue. |
In the current version of tutorials this python file has been replaced with a |
/assigntome |
You can still add to the .rst file but with the updated backend, like |
@svekars this change has already been made to the rst This issue is pointing to a stale branch. |
tutorials/advanced_source/static_quantization_tutorial.py
Line 514 in 7bd0315
If I understand correctly, one needs to also set
torch.backends.quantized.engine = "fbgemm"
I tried to quantize a model without the missing step and got strange errors about certain operations not being supported on the FBGEMM backend. They go away with this step added.
cc @jerryzh168 @jianyuh @sekyondaMeta @svekars @carljparker @NicolasHug @kit1980 @subramen
The text was updated successfully, but these errors were encountered: