-
Notifications
You must be signed in to change notification settings - Fork 261
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
[Feature Request] Multithreaded env #591
Comments
I don't think written in python is going to achieve that goal, you can give a look at EnvPool, maybe we can consider envpool integration for accelerated env backend. |
Thanks @Benjamin-eecs |
I think because of Python Global Interpreter Lock (GIL), we cannot achieve multi-thread written in Python (only one thread can be running at a time), maybe that's why there's only subproc vecenv written in python on the RL lib market. But maybe it can be faster than |
Hence my "exploration" claim :) |
Sure, 'd love to do that 😄 |
Hey @Benjamin-eecs |
Motivation
We have a version of multiprocessed envs, but not multithreaded.
It would be nice to explore how fast these can be, and/or if that would be a viable solution for executing a list of environments simultaneously.
The text was updated successfully, but these errors were encountered: