# Group-wise Quantization

- **Canonical URL:** https://getaimath.com/dictionary/group-wise-quantization/
- **Topics:** [Quantization & Model Compression](https://getaimath.com/dictionary/category/quantization-and-model-compression/)
- **Last updated:** 2026-11-25

## What is Group-wise Quantization?

**In one sentence:** Group-wise quantization splits weights into small groups, like 32 or 128 numbers, and gives each group its own scale.

Small groups mean each scale fits its numbers closely, which keeps errors low even at 4 bits. The extra scales take a little memory.

![Quantization: Vacuum-Packing a Giant AI into a Carry-On Bag — Simple cartoon showing a huge 16 GB AI model with long fussy decimals (3.14159265) squeezed by a vacuum-seal press into a compact 4 GB model with rounded numbers (3.1) that fits on a laptop.](https://getaimath.com/diagrams/quantization-and-model-compression.png)
*Napkin Diagram (Quantization & Model Compression): By rounding long fussy decimals to neat short numbers, quantization shrinks a model about 4× with only a small loss in smarts.*

## What is an example of Group-wise Quantization?

A GPTQ model with "group size 128" stores one scale for every 128 weights.

## Why does Group-wise Quantization matter?

Group-wise quantization is a big reason 4-bit models work so well.

## Related Concepts

- [Per-Tensor Quantization](https://getaimath.com/dictionary/per-tensor-quantization/): Per-tensor quantization uses one single scale for an entire block of weights, called a tensor.
- [Block-wise Quantization](https://getaimath.com/dictionary/block-wise-quantization/): Block-wise quantization divides weights into fixed-size blocks, each with its own scale, much like group-wise quantization.
- [Per-Channel Quantization](https://getaimath.com/dictionary/per-channel-quantization/): Per-channel quantization gives each row or column of a weight matrix its own scale, instead of one scale for the whole matrix.
- [Lossy Compression](https://getaimath.com/dictionary/lossy-compression/): Lossy compression makes data smaller by throwing away some detail that cannot be perfectly recovered.
- [Quantization Error](https://getaimath.com/dictionary/quantization-error/): Quantization error is the difference between the original number and its compressed version.
- [Lossless Compression](https://getaimath.com/dictionary/lossless-compression/): Lossless compression makes data smaller in a way that can be perfectly reversed, with no detail lost.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/group-wise-quantization/)
