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
{{ message }}
Repository navigation
Incompatible jax or jaxlib version in tools/inference/inference_pipeline.ipynb #330
pip install jaxlib==0.3.25 -f https://storage.googleapis.com/jax-releases/jax_releases.html will solve your problem.
Basically jax and jaxlib version mismatch.
pip install jaxlib==0.3.25 -f https://storage.googleapis.com/jax-releases/jax_releases.html will solve your problem. Basically jax and jaxlib version mismatch.
I had the same issue, I tried to install jaxlib with version=0.3.25. However, new issue shows up saying orbax 0.1.7 and chex 0.1.7 has requirement jax>= 0.4.6.
@saeyrjac565 : Looks like orbax and chex need latest jax. Do you need this for running inference using dalle-mini ?
Both jax and jax lib should be at 0.3.25. That is what i understood.
For me jax was 0.3.25, only lib was still at 0.4.7, which i solved using the other comment i mentioned.
Also, I have only single GPU with 12GB RAM, so i can't leverage GPU for inference. So, I did pure CPU version.
Activity
ahmad88me commentedon May 3, 2023
I got the following error with jax.
AttributeError: partially initialized module 'jax' has no attribute 'version' (most likely due to a circular import)kartikpodugu commentedon May 10, 2023
pip install jaxlib==0.3.25 -f https://storage.googleapis.com/jax-releases/jax_releases.htmlwill solve your problem.Basically jax and jaxlib version mismatch.
saeyrjac565 commentedon May 11, 2023
I had the same issue, I tried to install jaxlib with version=0.3.25. However, new issue shows up saying orbax 0.1.7 and chex 0.1.7 has requirement jax>= 0.4.6.

kartikpodugu commentedon May 12, 2023
@saeyrjac565 : Looks like orbax and chex need latest jax. Do you need this for running inference using dalle-mini ?
Both jax and jax lib should be at 0.3.25. That is what i understood.
For me jax was 0.3.25, only lib was still at 0.4.7, which i solved using the other comment i mentioned.
Also, I have only single GPU with 12GB RAM, so i can't leverage GPU for inference. So, I did pure CPU version.
borisdayma commentedon May 23, 2023
Maybe just need to pin orbax and chex to older versions as well?
thejohnhoffer commentedon Jul 29, 2023
I believe @fang2020shu has resolved this issue on their fork! https://github.com/fang2020shu/dalle-mini
borisdayma commentedon Aug 22, 2023
There was an issue with orbax so I pinned it. This should resolve this issue.