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

GPU vs CPU Performance #72

Closed
Mom0aut opened this issue Mar 31, 2020 · 2 comments
Closed

GPU vs CPU Performance #72

Mom0aut opened this issue Mar 31, 2020 · 2 comments
Labels
duplicate This issue or pull request already exists question Further information is requested

Comments

@Mom0aut
Copy link

Mom0aut commented Mar 31, 2020

Hello,

first of all i wanna say thank you for this great Framework and those tuned Hyper parameters.

Now to my question:
I tested the performance with my own gym/baselines examples and there were only 5-10 seconds difference.
I also tested your implementation and the difference vs CPU and GPU is really small (about 5 sec.).
Is this an normal behavior or must be the difference much higher (maybe i installed the nvidia-docker wrong with the wrong nvidia-runtime settings) ?

I hope maybe you can help me out

Thanks!!!

Regards Mom0

@araffin araffin added duplicate This issue or pull request already exists question Further information is requested labels Mar 31, 2020
@araffin
Copy link
Owner

araffin commented Mar 31, 2020

Duplicate of hill-a/stable-baselines#308

Also related: hill-a/stable-baselines#367

So for short, for small networks, there won't be any difference between of communication delay and also passing data from cpu to gpu back and forth. For bigger architecture and especially CNN, you should see a boost when using GPU.

@Mom0aut
Copy link
Author

Mom0aut commented Mar 31, 2020

Ok thank you for your fast response.

I didn´t know that, i will try so test bigger networks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants