You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi folks,
The flax binding (flax.py) depends on
np.asarray
to convert JAX tensors to NumPy here.NumPy does not support bfloat16 (https://numpy.org/doc/stable/user/basics.types.html) but somehow the
np.asarray
call passes and give us the impression that we can go from JAX -> Numpy at bfloat16.I haven't run any tests yet of numerical impacts of this but wanted to raise this gotcha and see if folks think this could be a silent bug.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions