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

ChangePointDetectionRuLSIF does not work on GPU #25

Open
avnikitin opened this issue Jul 31, 2023 · 1 comment
Open

ChangePointDetectionRuLSIF does not work on GPU #25

avnikitin opened this issue Jul 31, 2023 · 1 comment

Comments

@avnikitin
Copy link
Contributor

The following code

from roerich.change_point import ChangePointDetectionRuLSIF

alg = ChangePointDetectionRuLSIF()
alg.predict(np.zeros((500, 3))) # just for example

throws an error:
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 mat1 in method wrapper_CUDA_addmm)

It works well on CPU, but when CUDA is available, the error appears.

@Mercury03
Copy link

I'm having the same problem.Did you solve this problem?

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