google-research / timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
https://research.google/blog/a-decoder-only-foundation-model-for-time-series-forecasting/
Apache License 2.0
3.02k stars 228 forks source link

`import timesfm` failed #42

Closed heroygt closed 1 month ago

heroygt commented 1 month ago

import timesfm Throw an error

RuntimeError: jaxlib version 0.4.28 is newer than and incompatible with jax version 0.4.26. Please update your jax and[/or](https://noam-jl.nioint.com/or) jaxlib packages.

sdmorrey commented 1 month ago

Don't ya love it when they break everything on a point release?

I had this issue. I eventually discovered it was because I had missed a couple of important steps in the README.

rajatsen91 commented 1 month ago

I believe this can be fixed by downgrading the jaxlib version to 0.4.26.

giusparsifal commented 1 month ago

I believe this can be fixed by downgrading the jaxlib version to 0.4.26.

I have this error too and I did as you suggested, but still error persist even if it disinstalled 0.4.28...

Edit: I solved it. As I have two different version of Python, one in A1111 and another on system Windows, it founded the installation done for both jax and jaxlib 0.4.28. So when I tried to upgrade in python A1111 it said was already upgraded. I just copy folder of 0.4.28 from system Python to A1111 Python.