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

How to improve GPU usage? #3

Open
toushi68 opened this issue Apr 13, 2018 · 1 comment
Open

How to improve GPU usage? #3

toushi68 opened this issue Apr 13, 2018 · 1 comment

Comments

@toushi68
Copy link

toushi68 commented Apr 13, 2018

Hi,

This code somehow can only take ~20% GPU usage.
Noticed there are several spots in the code that
"with tf.device("/cpu:0"):"
Modify this condition (delete or replace it to "/gpu0") doesn't effect the speed.
Any further optimizations?

Thank you in advance!
Toushi68

@toushi68 toushi68 changed the title with tf.device("/cpu:0"): hard coded How to improve GPU usage? Jun 10, 2018
@xuzhang5788
Copy link

I installed tensorflow-gpu, but it ran still using CPU. I don't know how to change it to using GPU at the beginning. 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