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

to_cpu isn't switching #813

Open
etdapt opened this issue Apr 28, 2024 · 1 comment
Open

to_cpu isn't switching #813

etdapt opened this issue Apr 28, 2024 · 1 comment

Comments

@etdapt
Copy link

etdapt commented Apr 28, 2024

to_cpu = self.model.device == "cuda" and len(self.model.device_index) > 1

I don't have CUDA, and when this line was encountered, to_cpu stays False

@trungkienbkhn
Copy link
Collaborator

to_cpu=False will have no effect on CPU usage. If you want to run on GPU, you will have to additionally install cuBLAS and cuDNN for CUDA.

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