-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[RLlib] New API Stack: Action masking example issues in release 2.34 - 'super' object has no attribute '_compute_values' #47361
Comments
Same rooted error message occurs at a different level:
|
Occurs also in nightly built, downloaded at 08:30 p.m. CEST. @simonsays1980 , @sven1977 : Happens for both the trainer API (i.e. |
Also happens if |
modify youy class' |
@grizzlybearg : Sounds easy to implement for my own custom RLModules, but it should also be changed in the central repo managed by ray team. |
I had de same problem with action masking in new api stack with RLlib 2.35, solution proposed by @grizzlybearg is working for me too. Thanks!
in examples/rl_modules/classes/action_masking_rlm.py |
@PhilippWillms Nice catch! Thanks a ton! Fixed in the related PR - waiting for tests to pass. |
What happened + What you expected to happen
As per my best knowledge, the repro script covers the version of
action_masking_rlm.py
example file which was shipped in release 2.34. However, I adjusted theresources
,learners
andenv_runners
config as per my requirement.My assumption is that the config did not properly recognize that I want to use the GPU of the "main" / local cluster.
Complete error stack trace:
Versions / Dependencies
ray==2.34
torch==2.3.1+cu118
gynmasium==0.28.1
Windows 11
Reproduction script
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: