Activation-Aware Weight Quantisation (AWQ)

hard
Unit 26 · Vector Search0/0 to milestone

Quantising weights to 4 bits hurts most where the inputs are large: a few activation channels carry outliers. AWQ (Lin et al., 2024) scales those weight columns up before quantising and divides the activations by the same factor, which is mathematically a no-op in full precision but protects the important weights from rounding error.

Pro problem

Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.

Start 7-day free trial
solution.py · Python 3.13
Run your code to see results. ⌘↵ to run · ⌘⇧↵ to submit
Activation-Aware Weight Quantisation (AWQ) · TechGradify