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

Tensorflow CPU #12

Open
nikofan18 opened this issue Oct 28, 2020 · 4 comments
Open

Tensorflow CPU #12

nikofan18 opened this issue Oct 28, 2020 · 4 comments

Comments

@nikofan18
Copy link

Hello,

congratulations for your work. Is there any option to use your code at a machine without gpu ? When I am trying to do this, tensorflow uses only one core.

Thank you in advance

@sunzequn
Copy link
Member

sunzequn commented Nov 2, 2020

Hi,

Thanks for your interest in our work. The code can run on a machine with only CPUs. You can use "CUDA_VISIBLE_DEVICES=-1 python xxx.py" to run the code. If you encounter errors, please tell me the details such that I can further fix the code.

@nikofan18
Copy link
Author

Hello, I used CUDA_VISIBLE_DEVICES=-1 to disable the GPU. However, the problem is that your code runs on a single core and my machine has 38 cores.

@sunzequn
Copy link
Member

sunzequn commented Nov 2, 2020

Sorry that the current code is single-process and cannot use multiple CPU cores.

@nikofan18
Copy link
Author

Is there a way to fix it ?

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