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

Training on single GPU doesn't work #294

Open
skuehn1988 opened this issue Aug 27, 2020 · 1 comment
Open

Training on single GPU doesn't work #294

skuehn1988 opened this issue Aug 27, 2020 · 1 comment

Comments

@skuehn1988
Copy link

I am now training on a VM but it only works on one CPU. When I enter GPU:0 in the config I thought it would train automatically on the GPU. But it works only on the CPU. Tensorflow GPU and CUDA are installed. On the Train File I tried some things, but without success.

My environment looks like this:
Tensorflow GPU: 1.15.0
Tensorflow Estimate: 1.15.1
Python: 3.5.5
Cuda: 11.0

The following CPUs and GPUs are available:
/device:GPU:0 but available devices are [ /job:localhost/replica:0/task:0/device:CPU:0, /job:localhost/replica:0/task:0/device:XLA_CPU:0, /job:localhost/replica:0/task:0/device:XLA_GPU:0 ]

How can I now point to the GPU device?

@skuehn1988 skuehn1988 changed the title Single GPU doesn't work Training on single GPU doesn't work Aug 27, 2020
@gubosd
Copy link

gubosd commented Nov 25, 2020

Try in config.json => "gpus": "0"

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