ahrefs / ocannl

OCANNL: OCaml Compiles Algorithms for Neural Networks Learning
BSD 2-Clause "Simplified" License
67 stars 2 forks source link

Support bfloat16 #204

Open lukstafi opened 1 year ago

lukstafi commented 1 year ago

OCaml 5.2 will have float16, we will still need bfloat16...

lukstafi commented 1 year ago

We can also support other precisions, see Wikipedia Bfloat16.

lukstafi commented 2 months ago

There's interest in fixed precision numbers, that would also be great in tests for reproducibility across machines.