LESSON 30.06 · 6 STAGES · 3 CONTROLS · 2 CHECKSPRO · PREVIEW
GPTQ
Watch GPTQ round one column of weights and push its error into the next columns.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 2 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 30.06 · QUANT BAY64 WEIGHTS · INT4 · 16 CALIBRATION TOKENS
01
Stage 1 of 6 · The layer
GPTQ turns the 64 weights of W into INT4 codes. It keeps the outputs W x close on 16 calibration tokens.
Explain it simply
The grid holds the 64 weights, and each row makes one output. The second panel shows 16 sample inputs, the calibration tokens. Channel 6 is about 7 times larger, so its column has the strongest shade. GPTQ stores each weight as a small code, and it uses these inputs to pick the codes.
An 8 by 8 grid of weights, and a 16 by 8 grid of calibration inputs. Column 6 of the inputs is much stronger. All 16 tokens are used.
weights, codesinputs, Herror, weights it movedoutlier channel
Toy: the 8 × 8 layer and 16 calibration tokens of 30.C1
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
GPTQ picks codes that keep the outputs on X close.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 2 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.