FP64 Is All You Want, INT8 Is All You Need, FP4/6/8 Is All You Have (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
Simple implementations of the FP64 operations with FP32 will result in a speed of up to 4 times greater than that of the hardware, for correct implementations that also implement the FP64 exponent range and the behaviors for special FP values.
By using the GPU "tensor" units, higher speedups should be achievable, like claimed in this paper.
Nonetheless, the 83x speedup from the paper is most likely bogus and not reachable in most applications. The real speedup might be 2 or 3 times less than that.
After a quick skimming through the paper, I could not find any mention about how they handle exponents and floating-point exceptions.
If they do not implement the standard FP64 exponent range, underflows and overflows would be extremely frequent. Depending on how they handle exceptions, this would either produce incorrect results or slow down the computation dramatically.
Replies (2)
Replies (1)
This would achieve maximum computational efficiency, but the higher level layers of the software would have to be modified from problem to problem.
Nonetheless, it might be possible for such a rewriting of the higher level layers to become simpler than in the past, when using an LLM assistant.
Edit: apparently paper is exactly about this (I started reading it after comments...)