absmax
A symmetric quantization method that uses the maximum absolute value in a weight tensor to determine the scaling factor, mapping floating-point weights onto an integer range.
Timeline (last 90 days)
In absmax quantization, if the maximum weight is 10.8 and is mapped to the 8-bit integer upper limit of 127, the scaling factor is approximately 11.76.
The weight 5.47 is stored as 64 in absmax quantization and yields 5.44 after dequantization, with a rounding error of 0.03.
Two close weights, 3.08 and 3.02, both become 36 after 8-bit absmax quantization, causing the model to be unable to distinguish them.
When most weights are below 0.6 but a single outlier of 256 appears, the absmax quantization step is stretched to about 2, causing all small weights to be rounded to 0.
All Facts (4)
In absmax quantization, if the maximum weight is 10.8 and is mapped to the 8-bit integer upper limit of 127, the scaling factor is approximately 11.76.
50%UnverifiedThe weight 5.47 is stored as 64 in absmax quantization and yields 5.44 after dequantization, with a rounding error of 0.03.
50%UnverifiedTwo close weights, 3.08 and 3.02, both become 36 after 8-bit absmax quantization, causing the model to be unable to distinguish them.
50%UnverifiedWhen most weights are below 0.6 but a single outlier of 256 appears, the absmax quantization step is stretched to about 2, causing all small weights to be rounded to 0.
50%