The Rise of Low Precision Floating Point

(arxiv.org)

34 points | by matt_d 4 days ago

3 comments

  • carra 1 hour ago
    I do wonder if we will be getting specialized hardware support for these, aimed at running quantized models. You could fit many FP8 or FP4 units in the same die space as a single FP32 one. Even more if you remove capabilities other than strictly needed (mainly addition and multiplication).
    • gr_norm 52 minutes ago
      NVFP4 seems like what you're after. It's a hardware supported datatype purpose-built for running quantized models. Inkling 2 mini uses it.
  • gregates 53 minutes ago
    I learned recently that Excel rounds numbers (which it stores as IEEE 754 binary64) as though they were 80-bit extended precision, a la x87. It seems the "we don't actually need that much precision" trend has been going for a long time.
  • xenophonf 2 hours ago
    I'm surprised this doesn't mention posits. I had the pleasure of attending Gustafson's CoNGA-Q@SC26 talk the week before last. Here's a summary of how they work in case you're curious.

    http://www.johngustafson.net/pdfs/BeatingFloatingPoint.pdf

    • Dylan16807 18 minutes ago
      Their ability to extend the exponent range toward infinity at lowered accuracy sounds useful, but the ability to extend the exponent range toward 0 at lowered accuracy sounds less useful to me.

      Though even if it can save a bit or two it's a lot of decoding work if you want to use normal hardware, so I'm not surprised to see limited attention. And in realistic circumstances I don't think it's saving more than a bit or two.