r/opencode • • 23d ago

CRAZY things are brewing

Post image
1.4k Upvotes

210 comments sorted by

View all comments

Show parent comment

1

u/FullstackSensei 23d ago

The unsloth quants mainly quantize the engram. The ones which touch the routed expert weights are documented to suffer substantial deviations.

It is very unreasonable to think they may be because further quantization will not yield any substantial gains in speed when you're deploying on Hopper or Blackwell data center GPUs. What little VRAM you save is offset by an increase in compute, which will mostly if not fully negate any gains you might have thought of.

The model doesn't even communicate activations between layers in FP16/BF16. Everything is quantized down to FP8 at each layer's output to further save on bandwidth. The whole model was trained around this. I can tell you from actual personal tests that even quantizing those FP8 activations to int8 (with equal block sized scales) introduced ~9% error at 128 output token length (120 match out of 128), and this is doesn't save a single bit in memory or bandwidth. This isn't theory, I have test fixtures fuzzing for both. I'd love to get the int8 path under 1% for my VNNI-supporting Xeons and my int8-happy P40s, alas that's not possible.

The Unsloth quants make sense for you and me, on a desktop with very limited resources. But in a data center GPU deployment, it makes zero sense because you'll be throwing native hardware support down in the bin.

1

u/Embarrassed_OnionX 22d ago

The unsloth quants mainly quantize the engram

Ohhh, I didn't know that! It all makes sense now. Thank you for the detailed explanation!