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
What is the CUDA version supported? #19
Comments
the tests will not run on gpu by default. |
Hi Castro,
Thanks for the reply.
I've tried both the tests and training binary, and it still does not use GPU.
Attached please find the screen shot showing the training is running however no process is running on GPU.
Best Regards,
Terry YIN
…________________________________
From: Pablo Samuel Castro <notifications@github.com>
Sent: Friday, September 7, 2018 2:45 AM
To: google/dopamine
Cc: jxyin; Author
Subject: Re: [google/dopamine] What is the CUDA version supported? (#19)
the tests will not run on gpu by default.
did you try running the training binary to see if it uses your gpu?
CUDA support is coming from tensorflow and is not specific to dopamine.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#19 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ARGrZodW1lcopqo_O1MRYFnSRPVxlU6Uks5uYW1RgaJpZM4WbOBQ>.
|
when you run it, you should get a printout of the arguments passed to dqn, one should look like and again, tensorflow is what's handling device usage (see, e.g. https://github.com/google/dopamine/blob/master/dopamine/agents/dqn/dqn_agent.py#L145) are you able to run other tensorflow programs successfully using your gpu? |
Works fine out of the box for me. Here's the output I get when I run
|
The instructions in the README for creating the virtualenv have the line |
thanks for the feedback! i've just updated the instructions in our README to reflect this. |
Fix thread pool for to run iterations in async runner.
I tried to run dopamine on my GPU machine w/ Ubuntu 16.04.4 and CUDA 9.0. I was following the testing and training instruction in the provided Readme file under virtualenv. The testing and training was running fine but all on CPU only (high CPU utilization and Zero GPU utilization all the way after one iteration is finished). I'm running using "dopamine/agents/dqn/configs/dqn.gin" and the configuration uses GPU:0 as tf_device by default. Does any body have any pointer on such kind of situation?
The text was updated successfully, but these errors were encountered: