Skip to content
Discussion options

You must be logged in to vote

Unfortunately, that's not really possible. jax_enable_x64 is a global setting for the Python runtime. But with jax_enable_x64=True, there's nothing to stop you from doing float32 computations: just make sure to set the dtypes of your arrays explicitly. We've done a lot of work to ensure that for 32-bit inputs you'll get 32-bit computations and 32-bit outputs, even when X64 is enabled.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Binbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants