-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[RLlib] ParallelPettingZooEnv TypeError: reset() got an unexpected keyword argument 'return_info' #32889
Comments
@elliottower going to go ahead and close this issue, since we're waiting for the next PettingZoo release to merge in #33470. Thank you for your contribution! |
Yep, sorry for the delay on that, we’re working hard to get it out but it’s taking longer than expected. |
Hi, @elliottower |
Yes I have a PR fixing it here, working on getting it merged asap #34696 |
@Rohan138 this should probably be re-opened |
Hello, I am having the same issue, do you know when it will be patched ? I am trying to get my hands in the field of MARL and wanted to run the RLlib tutorial for PettingZoo but unfortunately I'm stuck... |
Hi, we are waiting on another PR to be merged which fixes gymnasium support. In the meantime I think you can install from my or branch via pip install “ray[rllib] @ git+https://blah.git” |
If you want to incorporate the PettingZoo changes as well that would be awesome (super simple code fix, in this pr #34696, though we are releasing 1.23.2 soon which fixes some issues in the chess environment and some other random things, and I know gymnasium is releasing 0.28.2 soon as well just fyi) |
This is being addressed by this (currently in-review) PR: Will be merged very soon and be part of Ray 2.8. |
With the above PR, this minimal example is confirmed working. After merging the PR, we can close this issue, then:
|
Awesome, thanks. Could you close this when it’s been merged? Will be on the look out for the ray release, exciting to see the work in that PR allowing for more flexibility with action spaces and such as well. |
Sorry, this is still not done. Pushing for the reviewers to give this approval ... |
PR got merged into master. Closing this issue as well. |
Cheers, thanks so much for all the help with this @sven1977 |
What happened + What you expected to happen
I opened an issue with PettingZoo which I believe is the main cause of the problem, but it also may be related to RLlib, posting this here in case someone who's worked on the ParallelPettingZooEnv class could help diagnose the problem: Farama-Foundation/PettingZoo#889
Versions / Dependencies
gym==0.23.1
Gymnasium==0.26.3
numpy==1.23.5
PettingZoo==1.22.3
Pillow==9.4.0
pygame==2.1.2
ray==2.3.0
SuperSuit==3.7.1
tianshou==0.4.11
torch==1.13.1
Reproduction script
Basic working example not using ray (to show that the env works on its own, the pre-processing steps with ss aren't the problem afaik):
rllib_pistonball.py:
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: