-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[pt1][quant] Add print function for QTensor #19513
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
Differential Revision: D15017168 Differential Version: 80137572
638be5e to
99f8911
Compare
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.
why are we printing both the float values and the int values always? I'm not against it, but would want to hear the reasoning.
Differential Revision: D15017168 Differential Version: 80438721
|
@gchanan can you review again |
Differential Revision: D15017168 Differential Version: 80637260
|
@gchanan for printing both, I don't have a strong reason for it, mostly just assuming user might want to see both of them since they both represents the values that the QTensor contains. |
Differential Revision: D15017168 Differential Version: 80772826
|
@gchanan could you review again? |
Differential Revision: D15017168 Differential Version: 81115670
Differential Revision: D15017168 Differential Version: 81115796
Differential Revision: D15017168 Differential Version: 81115973
Differential Revision: D15017168 Differential Version: 81122150
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.
lgtm.
Differential Revision: D15017168 Differential Version: 81180808
Differential Revision: D15017168 Differential Version: 81199014
Summary: Pull Request resolved: pytorch/pytorch#19513 Add support for printing a QTensor in python frontend Differential Revision: D15017168 fbshipit-source-id: 312d1f18e6ca3c9eb4a5b8bb1c64f7cc8bc1dcf5
|
This pull request has been merged in 17268a9. |
Stack:
:black_circle: #19513 [pt1][quant] Add print function for QTensor 💚
Add support for printing a QTensor in python frontend
Differential Revision: D15017168