The mixed scheme
Specifically, GPTQ adopts a mixed int4/fp16 quantization scheme where weights are quantized as int4 while activations remain in float16. [1]
What happens at inference
During inference, weights are dequantized on the fly and the actual compute is performed in float16. [2]
Sources
- The Hugging Face source says: Specifically, GPTQ adopts a mixed int4/fp16 quantization scheme where weights are quantized as int4 while activations remain in float16. Making LLMs lighter with AutoGPTQ and transformers
- The Hugging Face source says: During inference, weights are dequantized on the fly and the actual compute is performed in float16. Making LLMs lighter with AutoGPTQ and transformers