SmoothQuant
SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
Guangxuan Xiao et al. · ICML 2023
Apply equivalent per-channel scaling to shift the quantization difficulty of activation outliers into weights.
What you will implement
Calibration maxima, offline scales and differentiable equivalent transforms; the experiment simulates symmetric INT8 without integer GEMM or LayerNorm fusion.
- 163. SmoothQuant Equivalent Activation and Weight Smoothing
Compute input-channel smoothing factors and preserve linear-layer outputs and gradients under reciprocal scaling.
Calibration maxima, offline scales and differentiable equivalent transforms; the experiment simulates symmetric INT8 without integer GEMM or LayerNorm fusion.