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

Error in the forecast #5

Open
dafmdev opened this issue Oct 8, 2024 · 1 comment
Open

Error in the forecast #5

dafmdev opened this issue Oct 8, 2024 · 1 comment

Comments

@dafmdev
Copy link

dafmdev commented Oct 8, 2024

Thank you so much for this great work!

Using the model in ckpt the following error appears:

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper_CUDA__index_select)

It is possible that it is because of the .to('cuda').

@tangh18
Copy link
Owner

tangh18 commented Oct 9, 2024

It may raise this error since this repo is built mainly for my own research purpose where I assume all the operations is running on a cuda device. I believe it's convenient to adjust the codes in this repo to fit other devices like cpu and the correctness remains.

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