|
When I convert to 4bit quntised, i want to know, Which quantization algo is used under the hood in GGML? Is it GPTQ or simple weight conversion? |
Answered by
cmp-nct
Jul 20, 2023
Replies: 1 comment
|
GGML has an own wide range of quantization options, gptq is pytorch only For falcon 7B I currently only support Q type, for 40B Q and QK type |
0 replies
Answer selected by
cmp-nct
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GGML has an own wide range of quantization options, gptq is pytorch only
The K type quantizers available outperform it from what I've in memory of benchmarks, the 4_1 should be lower quality than gptq but you can always go up to 5 or 6 bit or down to 2.5 bit.
q4_0 is a quite simple conversion with a delta value, q4_1 has additional scaling q4_k has a 256 bit superblock on top
For falcon 7B I currently only support Q type, for 40B Q and QK type