Closed pdemarti closed 2 years ago
There is some info on jax/jaxlib version compatibility here: https://jax.readthedocs.io/en/latest/design_notes/jax_versioning.html#how-are-jax-and-jaxlib-versioned. A new policy was implemented recently.
Starting with version 0.3.0 of both packages the requirements are as follows:
jax.__version__
must be greater than or equal to jaxlib.__version__
jaxlib.__version__
must be greater than or equal to jax.version._minimum_jaxlib_version
Solution to issue cannot be found in the documentation.
Issue
Overview
After updating
jax
to the current latest onconda-forge
(0.3.0
), we get aRuntimeError
during import. Indeed,jax=0.3.3
depends onjaxlib>=0.3.0
but this feedstock doesn't say so in theconda
requirements.Steps to reproduce:
But now:
Post-scriptum
It looks like a similar situation existed in previous versions. As far as
conda search -c conda-forge jax --info
can tell, there was never a minimum version imposed onjaxlib
. Case in point, when I just try to installjax=0.3.0
on a freshpython3.9
miniconda environment, I getjaxlib=0.1.69
, which is below the required0.1.74
for that version.Installed packages
Environment info