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

Gathering environmental data in parallel on a GPU #90

Open
Jin58857 opened this issue Jun 26, 2024 · 4 comments
Open

Gathering environmental data in parallel on a GPU #90

Jin58857 opened this issue Jun 26, 2024 · 4 comments

Comments

@Jin58857
Copy link

Could you please let me know if the Harfang reinforcement learning platform is capable of running entirely on a GPU? This would enable it to handle multiple environments concurrently for gathering training data, potentially speeding up the training process.

@muraatozbek
Copy link
Contributor

yes, it can run on a GPU. But i suggest to use on ubuntu.

@Jin58857
Copy link
Author

Jin58857 commented Jul 2, 2024

Thank you for your response. Could the entire program possibly be run on a GPU, thereby enabling the initiation of multiple independent environments on the GPU for parallel reinforcement learning training?

@Jin58857
Copy link
Author

Jin58857 commented Jul 2, 2024

yes, it can run on a GPU. But i suggest to use on ubuntu.

Could you please advise which parts of the program need to be modified in order to support running environments in parallel on a GPU for data collection?

@muraatozbek
Copy link
Contributor

Check the line

nwport = int(sys.argv[i+1])

try to give your port number, run first script. after change port to another number and run again script. now you have 2 simulation runs parallel

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