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

How to quantization INT8 / FP16 #37

Closed
Jeremy-J-J opened this issue Jul 21, 2021 · 1 comment
Closed

How to quantization INT8 / FP16 #37

Jeremy-J-J opened this issue Jul 21, 2021 · 1 comment

Comments

@Jeremy-J-J
Copy link

How to quantization INT8 / FP16?

Define_string_opt("--quantization", g_flag_quantization, "", "declare **json file** saved quantization information");

what does the json file look like?

@Si-XU
Copy link
Contributor

Si-XU commented Jul 21, 2021

Hi, OpenPPL for cuda only supports fp16 right now. We will support int8 ASAP.
When you input a fp32 data file, OpenPPL will automatically transfer to fp16.
"--quantization" is designed for int8, so you don't need to use it.

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