Skip to content
Discussion options

You must be logged in to vote

NetKet sets jax.config.update('jax_enable_x64', True) when you import it.
setting NETKET_ENABLE_X64=0 before importing netket should disable double precision in jax
or setting jax.config.update('jax_enable_x64', False) AFTER importing netket should address it

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by wlwuphy
Comment options

You must be logged in to vote
1 reply
@wlwuphy
Comment options

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
Converted from issue

This discussion was converted from issue #2169 on November 07, 2025 08:16.