Skip to content

Commit 899d1fd

Browse files
fix: Access jax.config from jax (#2376)
* As of jax and jaxlib v0.4.20 accessing jax.config from the jax.config submodule is deprecated and it should be accessed from the jax top level API instead. ``` >>> from jax.config import config <stdin>:1: DeprecationWarning: Accessing jax.config via the jax.config submodule is deprecated ```
1 parent aa22be9 commit 899d1fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyhf/tensor/jax_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from jax.config import config
1+
from jax import config
22

33
config.update('jax_enable_x64', True)
44

0 commit comments

Comments
 (0)