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
Tiny numbers (float64 ~1e-313) compare as equal to zero. When added to an actual zero, they become zero.
I could reproduce this on CPU, but not on GPU.
Thanks for the report: this is expected behavior. JAX operations will generally flush denormals to zero, although this behavior is backend-dependent. We should probably add this to the Sharp Bits doc, but it's mentioned in a few places (e.g. https://docs.jax.dev/en/latest/_autosummary/jax.lax.nextafter.html).
Description
Tiny numbers (float64 ~1e-313) compare as equal to zero. When added to an actual zero, they become zero.
I could reproduce this on CPU, but not on GPU.
System info (python version, jaxlib version, accelerator, etc.)
##pixi.lock:
The text was updated successfully, but these errors were encountered: