Replies: 3 comments 1 reply
-
Of course we should wait for there to be a standard. |
Beta Was this translation helpful? Give feedback.
-
@tannergooding expressed a heavy opinion on this type in the Discord yesterday. |
Beta Was this translation helpful? Give feedback.
-
The That being said, I don't particularly expect that Given the IEEE 754 format, 1-bit is taken up for the sign and at least 2-bits are taken up for the mantissa (significand). This means that the possible layout for a theoretical
Compare to
NOTE: These values can be computed manually using the algorithm: When the exponent is What this basically comes down to is that A theoretical These types "work" for the ML scenarios because the models they are used in are effectively designed to work around the lack of precision. Such a type would really only be suited for use in those domain specific scenarios and should not be part of the BCL. The fact that |
Beta Was this translation helpful? Give feedback.
-
.NET adapts FP16 as System.Half.
There is a plan for FP8.
My suggestion is to add System.Quarter.
https://www.nextplatform.com/2022/07/07/chip-makers-press-for-standardized-fp8-format-for-ai/
Beta Was this translation helpful? Give feedback.
All reactions