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

A question about Log2Quantization when Activations or Weights equal to zeros #13

Closed
youdutaidi opened this issue May 27, 2022 · 1 comment

Comments

@youdutaidi
Copy link

youdutaidi commented May 27, 2022

I appreciate your Log2Quantization methods in FQ-Vit but I have a questions that:
when activations and weights equal to zero, we can not log2(0), and when they are negtive numbers ,we can not opreate it , either. But it seems in the code it did not notice that problem.

@lz02k
Copy link

lz02k commented May 31, 2022

Actually, the "Log2Quantization" method is only used for Softmax activation with a value range of (0, 1).

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

3 participants