How K-Quants' Dual-Layer Compression Works

K-Quants employ a hierarchical quantization where initial high-precision weights are grouped into blocks, which are then part of larger super-blocks. Block-specific scaling factors and offsets are calculated and subsequently quantized (e.g., to INT8), while the overarching super-block retains a separate set of higher-precision constants.

Sources

Open the full topic