Skip to content

Does NNCF support power-of-two scaling? #1646

Answered by AlexKoff88
V0XNIHILI asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Douwe den Blanken!

Thanks for the interest to NNCF.

NNCF supports log scaling (exponential logarithm). But it can be easily extended to support the power-of-two quantization as well. This is just a matter of how you compute the scale factor internally. Feel free to contribute if you consider this important for you.
Try to search for logarithm_scale in the NNCF code for details.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by V0XNIHILI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants