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.03k stars 227 forks source link

Unable to run timesfm due to dependency issue #19

Open Satyajit-Chaudhuri opened 1 month ago

Satyajit-Chaudhuri commented 1 month ago

When I am trying to run timesfm on my cpu device, I am unable to install lingvo package. Getting this error: Could not find a version that satisfies the requirement lingvo while using pip.

Any idea on how to resolve this.

skdhod commented 1 month ago

hmmmm,it seems that gup device cannot install lingvo too

nxfi777 commented 1 month ago

Duplicate of #1

blackcat1402 commented 1 month ago

the same issue

ChengEast commented 2 weeks ago

pip install -e. Obtaining file:///home/zd/timesfm Installing build dependencies ... done Checking if build backend supports build_editable ... done Getting requirements to build editable ... done Preparing editable metadata (pyproject.toml) ... done Collecting einshape>=1.0.0 (from timesfm==0.0.1) Using cached einshape-1.0-py3-none-any.whl.metadata (706 bytes) Collecting paxml>=1.4.0 (from timesfm==0.0.1) Using cached paxml-1.4.0-py3-none-any.whl.metadata (1.3 kB) Collecting praxis>=1.4.0 (from timesfm==0.0.1) Using cached praxis-1.4.0-py3-none-any.whl.metadata (1.2 kB) Collecting jax>=0.4.26 (from timesfm==0.0.1) Using cached jax-0.4.30-py3-none-any.whl.metadata (22 kB) Requirement already satisfied: numpy>=1.26.4 in /home/zd/anaconda3/lib/python3.11/site-packages (from timesfm==0.0.1) (1.26.4) Requirement already satisfied: pandas>=2.1.4 in /home/zd/anaconda3/lib/python3.11/site-packages (from timesfm==0.0.1) (2.1.4) Collecting absl-py (from einshape>=1.0.0->timesfm==0.0.1) Using cached absl_py-2.1.0-py3-none-any.whl.metadata (2.3 kB) Collecting jaxlib<=0.4.30,>=0.4.27 (from jax>=0.4.26->timesfm==0.0.1) Using cached jaxlib-0.4.30-cp311-cp311-manylinux2014_x86_64.whl.metadata (1.0 kB) Collecting ml-dtypes>=0.2.0 (from jax>=0.4.26->timesfm==0.0.1) Using cached ml_dtypes-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (20 kB) Collecting opt-einsum (from jax>=0.4.26->timesfm==0.0.1) Using cached opt_einsum-3.3.0-py3-none-any.whl.metadata (6.5 kB) Requirement already satisfied: scipy>=1.9 in /home/zd/anaconda3/lib/python3.11/site-packages (from jax>=0.4.26->timesfm==0.0.1) (1.11.4) Requirement already satisfied: python-dateutil>=2.8.2 in /home/zd/anaconda3/lib/python3.11/site-packages (from pandas>=2.1.4->timesfm==0.0.1) (2.8.2) Requirement already satisfied: pytz>=2020.1 in /home/zd/anaconda3/lib/python3.11/site-packages (from pandas>=2.1.4->timesfm==0.0.1) (2023.3.post1) Requirement already satisfied: tzdata>=2022.1 in /home/zd/anaconda3/lib/python3.11/site-packages (from pandas>=2.1.4->timesfm==0.0.1) (2023.3) Collecting absl-py (from einshape>=1.0.0->timesfm==0.0.1) Using cached absl_py-1.4.0-py3-none-any.whl.metadata (2.3 kB) Collecting clu==0.0.11 (from paxml>=1.4.0->timesfm==0.0.1) Using cached clu-0.0.11-py3-none-any.whl.metadata (1.9 kB) Collecting etils==1.7.0 (from paxml>=1.4.0->timesfm==0.0.1) Using cached etils-1.7.0-py3-none-any.whl.metadata (6.4 kB) Collecting flax==0.8.2 (from paxml>=1.4.0->timesfm==0.0.1) Using cached flax-0.8.2-py3-none-any.whl.metadata (10 kB) Collecting graphviz==0.20.1 (from paxml>=1.4.0->timesfm==0.0.1) Using cached graphviz-0.20.1-py3-none-any.whl.metadata (12 kB) Collecting jax>=0.4.26 (from timesfm==0.0.1) Using cached jax-0.4.26-py3-none-any.whl.metadata (23 kB) INFO: pip is looking at multiple versions of paxml to determine which version is compatible with other requirements. This could take a while. ERROR: Could not find a version that satisfies the requirement lingvo==0.12.7 (from paxml) (from versions: none) ERROR: No matching distribution found for lingvo==0.12.7

lingvo 0.12.7没有release,装不了