Zhen-Dong / HAWQ

Quantization library for PyTorch. Support low-precision and mixed-precision quantization, with hardware implementation through TVM.
MIT License
406 stars 83 forks source link

How can I get a weights file of all integers? #35

Open imzongjian opened 2 years ago

imzongjian commented 2 years ago

Any weights outcome is a float-point .pth file. How can I get a .pth file made of integers int4 or int8?

wisdom-miao commented 5 months ago

hello! did you find the solution? #

Any weights outcome is a float-point .pth file. How can I get a .pth file made of integers int4 or int8?

i have same problem.did you finds the solution?