Running Models YourselfLesson 22 of 82

Module 3 · Quantisation and model formats

GPTQ, AWQ and the GPU-side formats

In this lesson

  • 9 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 4 of 9 in this chapter

This chapter’s goalChoose a quantisation format and bit rate for a stated model, machine and task; produce a quantised model yourself from the original weights; and measure the resulting damage with a method that can actually detect it, rather than relying on a perplexity delta that cannot.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

A different design problem

GGUF was designed to run anywhere, including on a CPU, and to support partial offload. The GPU-side formats were designed for one situation: the whole model in VRAM, served to many concurrent users, with kernels tuned for one vendor’s hardware. Those different goals explain every difference between them.

GPTQ

Quantises one layer at a time. For each layer it uses information about the curvature of the layer’s error surface (an approximation to second-order information) to decide the rounding of each weight, and then adjusts the remaining un-quantised weights in that layer to compensate for the error already introduced.

That compensation step is the idea. Rounding weight A up creates an error; the remaining weights are nudged so the layer’s overall output moves back towards where it was. It is a greedy correction and it works well.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Open Model Ecosystem exam.

Stuck on something?Ask Tri, your AI tutor

How to cite: Addaly (2026) ‘GPTQ, AWQ and the GPU-side formats’, in Running Models Yourself. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/running-models-yourself/gpu-quantisation-formats (Accessed: 29 November 2026).