You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---------------------------------------------------------------------------ImportErrorTraceback (mostrecentcalllast)
CellIn[1], line1---->1fromoryx.core.pplimportrandom_variableFile/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/oryx/__init__.py:161# Copyright 2020 The TensorFlow Probability Authors.2#3# Licensed under the Apache License, Version 2.0 (the "License");
(...)
13# limitations under the License.14# ============================================================================15"""Oryx is a neural network mini-library built on top of Jax."""--->16fromoryximportbijectors17fromoryximportcore18fromoryximportdistributionsFile/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/oryx/bijectors/__init__.py:1916importinspect18fromtensorflow_probability.python.experimental.substratesimportjaxastfp--->19fromoryx.bijectorsimportbijector_extensions21tfb=tfp.bijectors23_bijectors= {}
File/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/oryx/bijectors/bijector_extensions.py:2826fromsix.movesimportzip27fromtensorflow_probability.python.experimental.substratesimportjaxastfp--->28fromoryximportcore29fromoryx.core.interpretersimportinverse31safe_map=jax_util.safe_mapFile/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/oryx/core/__init__.py:161# Copyright 2020 The TensorFlow Probability Authors.2#3# Licensed under the Apache License, Version 2.0 (the "License");
(...)
13# limitations under the License.14# ============================================================================15"""Contains core logic for Oryx classes."""--->16fromoryx.coreimportppl17fromoryx.core.interpreters.inverseimportildj18fromoryx.core.interpreters.inverseimportildj_registryFile/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/oryx/core/ppl/__init__.py:171# Copyright 2020 The TensorFlow Probability Authors.2#3# Licensed under the Apache License, Version 2.0 (the "License");
(...)
14# ============================================================================15# Lint as: python316"""Module for probabilistic programming features."""--->17fromoryx.core.ppl.transformationsimportconditional18fromoryx.core.ppl.transformationsimportgraph_replace19fromoryx.core.ppl.transformationsimportinterveneFile/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/oryx/core/ppl/transformations.py:204201fromjaximportutilasjax_util203fromoryx.coreimportprimitive-->204fromoryx.core.interpretersimportharvest205fromoryx.core.interpretersimportlog_probaslp207Program=Callable[..., Any]
File/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/oryx/core/interpreters/harvest.py:136134fromjax.interpretersimportad135fromjax.interpretersimportbatching-->136fromjax.interpretersimportmasking137fromjax.interpretersimportxla138fromjax.lib.xla_bridgeimportxla_clientasxcImportError: cannotimportname'masking'from'jax.interpreters' (/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/jax/interpreters/__init__.py)
In [2]: importoryx---------------------------------------------------------------------------ImportErrorTraceback (mostrecentcalllast)
CellIn[2], line1---->1importoryxFile/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/oryx/__init__.py:161# Copyright 2020 The TensorFlow Probability Authors.2#3# Licensed under the Apache License, Version 2.0 (the "License");
(...)
13# limitations under the License.14# ============================================================================15"""Oryx is a neural network mini-library built on top of Jax."""--->16fromoryximportbijectors17fromoryximportcore18fromoryximportdistributionsFile/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/oryx/bijectors/__init__.py:1916importinspect18fromtensorflow_probability.python.experimental.substratesimportjaxastfp--->19fromoryx.bijectorsimportbijector_extensions21tfb=tfp.bijectors23_bijectors= {}
File/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/oryx/bijectors/bijector_extensions.py:2826fromsix.movesimportzip27fromtensorflow_probability.python.experimental.substratesimportjaxastfp--->28fromoryximportcore29fromoryx.core.interpretersimportinverse31safe_map=jax_util.safe_mapFile/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/oryx/core/__init__.py:161# Copyright 2020 The TensorFlow Probability Authors.2#3# Licensed under the Apache License, Version 2.0 (the "License");
(...)
13# limitations under the License.14# ============================================================================15"""Contains core logic for Oryx classes."""--->16fromoryx.coreimportppl17fromoryx.core.interpreters.inverseimportildj18fromoryx.core.interpreters.inverseimportildj_registryFile/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/oryx/core/ppl/__init__.py:171# Copyright 2020 The TensorFlow Probability Authors.2#3# Licensed under the Apache License, Version 2.0 (the "License");
(...)
14# ============================================================================15# Lint as: python316"""Module for probabilistic programming features."""--->17fromoryx.core.ppl.transformationsimportconditional18fromoryx.core.ppl.transformationsimportgraph_replace19fromoryx.core.ppl.transformationsimportinterveneFile/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/oryx/core/ppl/transformations.py:204201fromjaximportutilasjax_util203fromoryx.coreimportprimitive-->204fromoryx.core.interpretersimportharvest205fromoryx.core.interpretersimportlog_probaslp207Program=Callable[..., Any]
File/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/oryx/core/interpreters/harvest.py:136134fromjax.interpretersimportad135fromjax.interpretersimportbatching-->136fromjax.interpretersimportmasking137fromjax.interpretersimportxla138fromjax.lib.xla_bridgeimportxla_clientasxcImportError: cannotimportname'masking'from'jax.interpreters' (/opt/miniconda3/envs/blackjax/lib/python3.10/site-packages/jax/interpreters/__init__.py)
The text was updated successfully, but these errors were encountered:
junpenglao
added a commit
to junpenglao/blackjax
that referenced
this issue
Dec 17, 2022
Version: jax-0.4.1 jaxlib-0.4.1
The text was updated successfully, but these errors were encountered: