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

not run CPU #77

Open
akavipno01 opened this issue Nov 23, 2024 · 3 comments
Open

not run CPU #77

akavipno01 opened this issue Nov 23, 2024 · 3 comments

Comments

@akavipno01
Copy link

module 'torch._C' has no attribute '_cuda_setDevice'
I not run in windown10 cpu

@miangoleh miangoleh reopened this Nov 23, 2024
@miangoleh
Copy link
Collaborator

miangoleh commented Nov 23, 2024

You need to modify the code to be able to run it on CPU.
You can start by changing this line to

device = torch.device("cpu")

@miangoleh
Copy link
Collaborator

Alternatively you can use our newer model here. It supports the same boosting and should be runnable on CPU.

@o0ocuchuoio0o
Copy link

Your project is great, thank you very much

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

3 participants