LLM.int8()
A mixed-precision quantization method that addresses quantization accuracy problems caused by outliers by computing outliers in 16-bit floating point while computing the remainder in 8-bit integers.
Timeline (last 90 days)
Dettmers et al. (2022) found a small number of large-magnitude outliers in real LLMs.
LLM.int8() employs mixed-precision decomposition: most weights use 8-bit matrix multiplication, while outlier feature dimensions whose magnitude exceeds a threshold are computed separately in 16-bit floating point.
LLM.int8() observed that outliers tend to concentrate in a few fixed channels and become more pronounced as model scale increases.
LLM.int8() found that the activation values of certain channels in Transformers far exceed those of other channels, directly affecting the precision of integer quantization.
All Facts (4)
Dettmers et al. (2022) found a small number of large-magnitude outliers in real LLMs.
50%UnverifiedLLM.int8() employs mixed-precision decomposition: most weights use 8-bit matrix multiplication, while outlier feature dimensions whose magnitude exceeds a threshold are computed separately in 16-bit floating point.
50%UnverifiedLLM.int8() observed that outliers tend to concentrate in a few fixed channels and become more pronounced as model scale increases.
50%UnverifiedLLM.int8() found that the activation values of certain channels in Transformers far exceed those of other channels, directly affecting the precision of integer quantization.
50%