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

installing timesfm on databricks #67

Closed iamyihwa closed 3 weeks ago

iamyihwa commented 3 weeks ago

Hello, I would like to test timesfm on databricks notebook. Since i cannot set up an environment, I simply did (1) git clone, and install by (2) pip install -e . however am getting below error.

ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /databricks/driver/timesfm (A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)

Any ideas how i can install it ??

rajatsen91 commented 3 weeks ago

We went the way of using a .toml file for package setup. For a setup.py route, you would have to write your own setup.py.

iamyihwa commented 3 weeks ago

@rajatsen91 Does this mean it is not possible to test it in google colab either without writing my own setup.py???