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

Adds multiprocessing support for q_learning experiment. #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Farga83
Copy link

@Farga83 Farga83 commented Apr 9, 2019

This adds a process pool for executing the q_learning parameter
search in parallel. I found that the process pool performed better
than a thread pool which is why I went that route.

This is pretty crude, but I wanted to get it up so others can look at it and use it if they want to
speed up a4 runs.

This adds a process pool for executing the q_learning parameter
search in parallel. I found that the process pool performed better
than a thread pool which is why I went that route.
@Farga83
Copy link
Author

Farga83 commented Apr 9, 2019

@"Jeremy Brown" in ml class if anyone has questions.

@jeremy
Copy link

jeremy commented Apr 9, 2019 via email

@Farga83
Copy link
Author

Farga83 commented Apr 9, 2019

sorry, should have quoted that. Didn't realize it separated first/last in the mention.

@Farga83
Copy link
Author

Farga83 commented Apr 9, 2019

This could cause more harm than good for most folks. It will use all your ram due to q-learner stats collection if you are not careful. For that reason, I'd probably not merge it in as is, but perhaps keep the pr open for folks inclined to work through any issues they find.

Only tested on Ubuntu 18.04 native, 32 GB ram, python 3.6.8

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