How to ensure I'm working in 64-bit? #153
-
Hello! I'm getting this termination condition:
Does anyone know how to address this recommendation? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Put the following at the top of your script above all other imports. from jax.config import config
config.update("jax_enable_x64", True) The reason you should put it at the top is because some JAX-based packages inadvertently rely on default dtype behaviour. |
Beta Was this translation helpful? Give feedback.
-
By the way, that termination condition can be totally expected for likelihoods that have plateaus. In these likelihood cases the only way to determine if there is something hidding inside the plateau (like a spike of posterior mass) is to increase |
Beta Was this translation helpful? Give feedback.
Put the following at the top of your script above all other imports.
The reason you should put it at the top is because some JAX-based packages inadvertently rely on default dtype behaviour.