-
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
builtins.AssertionError: Unresolvable type None #1269
Comments
/assigntome |
The .py file was replaced with the .rst file in the repo: https://github.com/pytorch/tutorials/blob/main/advanced_source/static_quantization_tutorial.rst. Please fix the issue in the .rst file rather than in the .py file. Please test locally that your solution works before submitting. |
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. |
/assigntome |
This issue has been unassigned due to inactivity. If you are working on this issue, assign it to yourself and send a PR ASAP. |
/assigntome |
The model must be in eval mode to fuse and in train mode to prepare_qat. After this fix, the tutorial runs to completion on a linux x86 system. Fixes pytorch#1269 Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
We need to use the qat variant of the fuse_modules method. After this fix, the tutorial runs to completion on a linux x86 system. Fixes pytorch#1269 Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
We need to use the qat variant of the fuse_modules method. After this fix, the tutorial runs to completion on a linux x86 system. Fixes #1269 Signed-off-by: BJ Hargrave <hargrave@us.ibm.com> Co-authored-by: Svetlana Karslioglu <svekars@meta.com>
hi,
when i run static_quantization_tutorial.py, it assert error at:
tutorials/advanced_source/static_quantization_tutorial.py
Line 522 in ce58d59
the error message is:
assert base is not None, "Unresolvable type {}".format(expr[:i])
builtins.AssertionError: Unresolvable type None
cc @jerryzh168 @jianyuh @sekyondaMeta @svekars @carljparker @NicolasHug @kit1980 @subramen
The text was updated successfully, but these errors were encountered: