-
Notifications
You must be signed in to change notification settings - Fork 99
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
Does envpool support class environments written according to the gym standard? #184
Labels
question
Further information is requested
Comments
You need to write env with C++ interface. See https://envpool.readthedocs.io/en/latest/content/new_env.html |
Does it not support the environment written in python? |
Current answer is, yes. Every single line of python code requires GIL, which blocks the overall speed of EnvPool. I was trying to propose an API as in #56 but I found it hard to do so. |
I understand. Thanks for your answer. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example, I have an environment called
MyEnv
, and I usetianshou
to run it. Is it correct to call it in the following way?The text was updated successfully, but these errors were encountered: