Skip to content

Commit 9c9fc87

Browse files
fix(backport): Access jax.config from jax (#2423)
* Backport PR #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 51e55f7 commit 9c9fc87

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)