mul1

exllamav3's byte-sum codebook: one multiply, a four-byte dot product (dp4a), and one fp16 fused multiply-add.

How it decodes

stepoperation
1x = (state · 0x83DCD12D) mod 2³²
2s = dp4a(x, 0x01010101, 0x6400): 1024 + the byte sum, as fp16 bits
3v = fma(s, 0x1EEE, 0xC931) in fp16

Like 1MAD, mul1 has only about 900 distinct values (913 over all states), and its histogram is a sum of four uniform bytes. That looks worse than mcg's smooth bell, yet through a real encoder mul1 is about as good as mcg at 2 and 3 bits per weight and slightly better at 4. A codebook's histogram is not its quality: what matters is how well the 2K successors of each state spread out (the right panel) over the paths the encoder takes.

On the GPU the byte sum runs on the FMA pipe (IDP.4A), not the ALU pipe that mcg's LOP3 and fp16 unpacking use, which makes mul1 decode slightly faster on GPUs whose ALU pipe is the bottleneck.