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

A few transfer calls to enable cuda #7

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Mi-Przystupa
Copy link

I noticed your code would error when switching to use_cuda =True, so here's a few changes just to let it run. Tried it on a few of your environments that use those functions and seems to be fine across them.

More long term, the cuda calls need to be optimized because for training the policy it's faster to run it on CPUs at the moment from running it. You're probably familiar with this and focused on the more important parts, but putting things on cuda is expensive, so the less you transfer things between devices the better.

@Mi-Przystupa
Copy link
Author

No idea how this works...just to build confidence in my changes. But I also added stuff related to #8 which was like a 2 line change, and implementing log normal dropout...

@juancamilog
Copy link
Collaborator

can you resolve the merge conflicts? I'll merge it then. Thanks!

@Mi-Przystupa
Copy link
Author

aaand done! hopefully it's fine ...not quite sure if I removed the dividing by sigma when i made this pull request so it might still be there FYI

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

Successfully merging this pull request may close these issues.

2 participants