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

Cannot use GPU for training.. #20

Open
lamhk opened this issue May 6, 2019 · 1 comment
Open

Cannot use GPU for training.. #20

lamhk opened this issue May 6, 2019 · 1 comment

Comments

@lamhk
Copy link

lamhk commented May 6, 2019

Hi, i installed tensorflow-gpu and are able to use GPU for training on other reinforcement training projects (GPU has about 80% or above). However, I tried to specify the GPU but still the utilization of the GPU is still around 5-10%. Does anyone have experience? Thanks in advance.

import os
os.environ["CUDA_DEVICE_ORDER"]="PCI_BUS_ID"
os.environ["CUDA_VISIBLE_DEVICES"]="0"
import keras

Regards,
Lam

@rui-ren
Copy link

rui-ren commented Oct 4, 2019

You can use this to update the gpu and Cuda:

pip install tf-nightly-gpu-2.0-preview==2.0.0.dev20191002

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