-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #504 from Lnaden/jax-64-warning
Warn about JAX bitsize changes
- Loading branch information
Showing
2 changed files
with
61 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,6 +84,13 @@ where `results` is a dictionary with keys `mu`, `sigma`, and `Theta`, where `mu[ | |
|
||
See the docstring help for these individual methods for more information on exact usage; in Python or IPython, you can view the docstrings with `help()`. | ||
|
||
JAX needs 64-bit mode | ||
--------------------- | ||
PyMBAR needs 64-bit floats to provide reliable answers. JAX by default uses | ||
[32-bit (Single) bitsize](https://jax.readthedocs.io/en/latest/notebooks/Common_Gotchas_in_JAX.html#double-64bit-precision). | ||
PyMBAR will turn on JAX's 64-bit mode, which may cause issues with some separate uses of JAX in the same code as PyMBAR, | ||
such as existing Neural Network (NN) Models for machine learning. | ||
|
||
Authors | ||
------- | ||
* Kyle A. Beauchamp <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters