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 the GPU-Util when running RL program with RLLab. #252

Open
morantumi opened this issue Nov 13, 2019 · 2 comments
Open

How to improve the GPU-Util when running RL program with RLLab. #252

morantumi opened this issue Nov 13, 2019 · 2 comments

Comments

@morantumi
Copy link

Hi,
I have tried my best to archieve this goal but i failed. I found that theano=0.9.0 pygpu=0.6.5 and theano=1.0.2 pygpu=0.7.5 can pass the test program and the result is showed as follow. I think it can prove that theano can work correctly.
image
However, when I run python program in rllab with the setting use_gpu=True, I still have the bad result like following:
image
I think the config of theano is ok because the test program is running correctly. And ~/.theanorc is setted with device=cuda0.
When I run program with setting use_gpu=False, everything is ok. So I think the problem is about the Theano with GPU. So I'm really confused and please tell me how to use thean with GPU to accelerate rllab.
Thank you very much.

@morantumi
Copy link
Author

I solve the problem.
However, the GPU-Util is too low
I use the command watch -n 0.1 nvidia-smi and find the GPU-Util is about 3%~5%. And most of time is 0%. I don't know how to deal with it. could you give me some advice?

@morantumi morantumi changed the title If rllab support the theano with GPU and how to do it? How to improve the GPU-Util when running RL program with RLLab. Nov 14, 2019
@qxtian
Copy link

qxtian commented Aug 15, 2020

can you tell me the solution for the problem- "you are tring to use the old GPU back-end'? 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