llm-compressor

4 posts

QUANTIZATION · 05

GPTQ, Explained and Run

How GPTQ trades weight error for output error, in 30 lines of PyTorch on a real layer, then how to run it with llm-compressor and serve it with vLLM, and which settings actually change the result on Qwen3-8B.

QUANTIZATION · 06INPUT SIZEWEIGHT COLUMNSSCALED UP BY s1% OF CHANNELS, CHOSEN BY THEIR INPUTS

AWQ: Protecting the Weights That Matter

Which 1% of weights matter, why scaling them protects them, and the search behind AWQ, in a few lines of PyTorch on a real layer, then AWQ on Qwen3-8B with llm-compressor and vLLM against plain rounding, GPTQ and a published checkpoint.

QUANTIZATION · 07ACTIVATIONS÷ sSMOOTHEDMAX 17.5 → 1.32, PRODUCT UNCHANGED

SmoothQuant and W8A8: Quantizing Activations Too

Why activation outliers break INT8, how SmoothQuant moves them into the weights, and what it changes for FP8 W8A8, measured on Qwen3-8B with vLLM.

QUANTIZATION · 08ONE TOKEN× QROTATEDOUTLIER 29.8× → 2.1×, PRODUCT UNCHANGED

Rotations for 4-Bit Activations: QuaRot, SpinQuant, and Friends

A rotation flattens activation outliers and, on real layers, rescues INT4 activations. On Qwen3-8B in NVFP4, it cost 5 GSM8K points instead.