-
Notifications
You must be signed in to change notification settings - Fork 881
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
[BUG] TypeError: __init__() got an unexpected keyword argument 'tpus' #808
Comments
Hi @gsamaras, maybe to clarify: what you pass to See the PyTorch Lighnting Trainer parameters here That being said and from the error: PL's Trainer doesn't have a We haven't tested if the models run on TPU, so we don't know yet for sure. Please let us know if/how you get it running :) |
Hi @dennisbader, thanks! So I was able to get it working after reading the PL docs, but I eventually got this:
As a result I used float-32 precision to actually make it run, that was fun! If you think it makes sense, then I could probably write a laconic and compact tutorial about this (+the GPU usage), or maybe extend https://unit8co.github.io/darts/examples/07-NBEATS-examples.html? That way I can contribute in the project and give-back! |
Hey @gsamaras, glad to hear that it worked out! I think this would be a great new user guide (a new .md file for /docs/userguide/). We could also add how to run models on GPU and that by default models run on CPU :) You can take the following user guide as reference: https://unit8co.github.io/darts/userguide/torch_forecasting_models.html). Let us know if you need help |
Describe the bug
Cannot fit N-Beats model to my data with a TPU in Google Colab.
To Reproduce
and then after restarting the runtime:
I get the following error:
Expected behavior
I thought I could use TPU based on this comment.
System:
Additional context
The text was updated successfully, but these errors were encountered: