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

Last layer quantization #21

Open
ibar2711 opened this issue Oct 7, 2021 · 0 comments
Open

Last layer quantization #21

ibar2711 opened this issue Oct 7, 2021 · 0 comments

Comments

@ibar2711
Copy link

ibar2711 commented Oct 7, 2021

Hi,
Very impressive coding.

Last layer bit-width setting, especially restoring to 8-bit, seems strange:

module_list[-1].weight_quantizer.bitwidth_refactor(8)
module_list[-2].act_quantizer.bitwidth_refactor(8)

The weights of the last, usually dense, layer are set to 8-bits.
However, the activations of the preceeding layer are also set to 8-bit.

Was this your intention or is it a bug?

Thanks,
Ilan.

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

1 participant