GPTQ
GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
Elias Frantar et al. · ICLR 2023
Use approximate second-order information and error compensation for low-bit post-training quantization.
What you will implement
The single-block GPTQ core with a supplied upper Cholesky factor and fixed quantization grid; Hessian estimation, damping and factorization are supplied externally.
- 162. GPTQ Cholesky Error-Compensated Quantization
Quantize columns in fixed order and compensate remaining columns using the inverse-Hessian Cholesky factor.
The single-block GPTQ core with a supplied upper Cholesky factor and fixed quantization grid; Hessian estimation, damping and factorization are supplied externally.