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

Hello! May I inquire if the LayerNorm module has not been quantized in this model? #1

Open
GoatWu opened this issue Aug 15, 2023 · 3 comments

Comments

@GoatWu
Copy link

GoatWu commented Aug 15, 2023

No description provided.

@zkkli
Copy link
Owner

zkkli commented Aug 15, 2023

Hi,

In this work, the output (activation) of LayerNorm is quantized, while retaining the floating-point computation of LayerNorm itself.

@GoatWu
Copy link
Author

GoatWu commented Aug 15, 2023

Thank you! And I have another question. In FQ-ViT, both the softmax and LayerNorm layers are computed in integer form. So, would it be unfair to compare the accuracy of the method in this paper with FQ-ViT?

@zkkli
Copy link
Owner

zkkli commented Aug 16, 2023

Our method follows the settings of the previous PTQ4ViT and APQ-ViT, so comparisons with the PTQ4ViT and APQ-ViT are exactly fair.

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