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

I run it on win10 successfully, but it always use cpu not GPU #66

Open
Hewentao123 opened this issue Oct 21, 2020 · 2 comments
Open

I run it on win10 successfully, but it always use cpu not GPU #66

Hewentao123 opened this issue Oct 21, 2020 · 2 comments

Comments

@Hewentao123
Copy link

On my virtual environment , I used the code to test CUDA-GPU successfully and I set the gpu-ids=0, but it still use cpu. I don't know the reason. could you help me?

@piaozhx
Copy link
Member

piaozhx commented Oct 23, 2020

that's impossible because we do not have cpu version. if you run the code successfully, it will definitely use gpu.

@Hewentao123
Copy link
Author

Thanks for your revision. Maybe, I need to set the availiable num_workers and increase the batsize as the GPU has been in idle waiting state. Thanks!

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