Skip to content
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

plz help #6

Closed
1gzcdestiny1 opened this issue Jun 29, 2020 · 1 comment
Closed

plz help #6

1gzcdestiny1 opened this issue Jun 29, 2020 · 1 comment

Comments

@1gzcdestiny1
Copy link

hi,i appreciate the code you provided,but could you tell me what the method you did to show the model size after the quantification?i could't find the corresponding part in your code,thanks

@hossein1387
Copy link
Owner

Hi,

The quantization that I used is categorized under fake quantization. Meaning that I store 2/3/4 bit tensors into 32-bit float torch tensors. Hence, there is no real way to store the model after quantization. What I and many people do in such scenario is to guesstimate which more or less is accurate IF sub-eight bit quantization was fully supported by ML frameworks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants