Half_float for Dense vector field

Hi,
Currently, Dense vector field is restricted to float (32bit) or byte (int8).
Is there any plan to add half_float option?
Thanks

Mwon, we 100% want to support half float (aka bfloat16), but the java support for fast vector operations is not where we need it to be (currently it can actually be slower than float32).

As soon as this changes, we want to add support. Some CPU architectures have nice f16 intrinsics that can make vector ops pretty dang fast.

Ok, thanks. You should consider go, even if it goes slower. Yes, it is true that it can get slower (I also see the same behaviour in quantized models to fp16 ), but a factor of 2 in memory saving is a huge gain.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.