How to access jax.config without warning? #18403
Replies: 2 comments 1 reply
-
Found the fix: import jax
jax.config.update("jax_enable_x64", True)
jax.config.update("jax_platform_name", "cpu") |
Beta Was this translation helpful? Give feedback.
0 replies
-
Importing from jax.config import config You can do this: from jax import config The latter has been the recommended import for a long time, but in JAX 0.4.20 we started raising a deprecation warning for the former pattern, and in a future release the former pattern will no longer be available. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there! Until recently, I used
jax.config
to set the execution to cpu and to use float64:After upgrading JAX, I get the warning:
What is the new recommended way to set the above configurations?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions