corl-team / xland-minigrid

JAX-accelerated Meta-Reinforcement Learning Environments Inspired by XLand and MiniGrid 🏎️
Apache License 2.0
195 stars 15 forks source link

Do you support single thread for a single environment? #22

Closed alexxchen closed 4 months ago

alexxchen commented 4 months ago

I need to evaluation different hyperparameters on the same environment. So I drop your xland-minigrid into different process. However, I found that there are multi-thread in the process by using "top -Hp ". How can I use only one thread in each process, because I believe the multi-threading have caused the the job hitting the thread limit with an LLVM error: pthread_create failed

alexxchen commented 4 months ago

I have fix this problem. Sorry for disturbing.