-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENH] Add support for TimesFM #6408
Comments
added it to the list here: #6177 One of these days, we should perhaps create our own? |
I have a question: What is the right way to implement this interface?
|
I would prefer option 1 if possible. If this is not possible we can discuss in more detailed how to proceed |
@julian-fong did you start working on this? I was also planning to do so. If you are busy with something else as well, I can take this up. |
@fkiraly There are a few things with TimesFM
|
You mean, as mandatory arg?
No context or fine-tuning? That is odd for an FM, but if it is so, then fit is simply empty.
Why not? |
I have tried this on linux and things are working fine - but I have seen people raise issues and also discussed this with @julian-fong that there can be possible failures on windows and mac, especially when device is set to "gpu"
sure, I'll look into that |
@fkiraly this might be blocking - |
From my understanding - the package |
It works on colab but when I try to debug locally (ubuntu) I run from one error to another On installation, gives this error if python>=3.11
On python<=3.10 when you try to debug or try creating completely new conda env from .yml file and running the code gives these different errors 1
2
3
|
I start wondering whether anyone anywhere has succeeded in getting this to run? |
well it works with no error, no warning on google colab - I have tried to mimic the library versions of jax, jaxlib and tf from colab, all in vain. It seems to really depend on the hardware other than just libraries |
maybe that's just google's way to try getting everyone to use colab 😁 |
Extending the above comment #6408 (comment) Once the library is installed on import timesfm
tfm = timesfm.TimesFm(
context_len=<context>,
horizon_len=<horizon>,
input_patch_len=32,
output_patch_len=128,
num_layers=20,
model_dims=1280,
backend=<backend>,
)
tfm.load_from_checkpoint(repo_id="google/timesfm-1.0-200m") |
Support for TimesFM, the time series foundation model from google research:
The text was updated successfully, but these errors were encountered: