Skip to content

Commit aa19120

Browse files
committed
update ver requirement for jax
1 parent c37078b commit aa19120

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

dmff/settings.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
from jax.config import config
1+
try:
2+
# jax < 0.4.20
3+
from jax.config import config
4+
except:
5+
# jax >= 0.4.20
6+
from jax import config
27

38
PRECISION = 'double' # 'double'
49

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mkdocs-literate-nav>=0.4.1
66
mkdocstrings>=0.19.0
77
mkdocstrings-python>=0.7.0
88
pygments>=2.12
9-
jax>=0.4.1, <=0.4.20
9+
jax>=0.4.1
1010
jaxlib>=0.4.1
1111
pymbar>=4.0.0
1212
tqdm

0 commit comments

Comments
 (0)