Skip to content
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

COVARIATES: unexpected keyword argument 'context_len' #191

Open
ozanbarism opened this issue Nov 24, 2024 · 1 comment
Open

COVARIATES: unexpected keyword argument 'context_len' #191

ozanbarism opened this issue Nov 24, 2024 · 1 comment

Comments

@ozanbarism
Copy link

I run this cell from the covariates.ipynb

timesfm_backend = "cpu" # @param

from jax._src import config
config.update(
"jax_platforms", {"cpu": "cpu", "gpu": "cuda", "tpu": ""}[timesfm_backend]
)

model = timesfm.TimesFm(
context_len=512,
horizon_len=128,
input_patch_len=32,
output_patch_len=128,
num_layers=20,
model_dims=1280,
backend=timesfm_backend,
)
model.load_from_checkpoint(repo_id="google/timesfm-1.0-200m")

It results in this error!

TypeError: TimesFmBase.init() got an unexpected keyword argument 'context_len'

@chenchihwen
Copy link

i have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants