HumanCompatibleAI / overcooked_ai

A benchmark environment for fully cooperative human-AI performance.
https://arxiv.org/abs/1910.05789
MIT License
683 stars 144 forks source link

Speed up game creation demo #112

Closed micahcarroll closed 1 year ago

micahcarroll commented 1 year ago

Unclear why creating a game takes so long, maybe there is an easy speedup somewhere?

jyan1999 commented 1 year ago

Found a couple of places to improve that could help with the performance and amended the demo_merge pr. From testing locally creating a two-agent game now takes about 12 secs, which is about 6 seconds faster than before. I'll see what else can be done, though from the looks of it most of the time is spent creating a Ray instance, which is outside of our control.