Post

This is a fantastic approach! But I was really surprised to learn the quantizations are just linear. Do any of the following perform better? - linear in the middle with bookends for outliers - Gaussian-like - "control points" fit to a curve between them

There are non-linear ones! Google’s TurboQuant for example is based off of a Lloyd-Max quantizer, which adapts the bucket sizes to the data it’s fitting. I kept it simple for the post, partly to make it accessible and partly to make it not too long. The method I cover is used in GGUF and MLX.

0 reposts2 likes

No replies yet.