[RLlib] KeyError: 'infos'
in _process_observations
when Using Custom Multi-Agent Environment
#45291
Labels
bug
Something that is supposed to be working; but isn't
P2
Important issue, but not time-critical
rllib
RLlib related issues
rllib-newstack
What happened + What you expected to happen
I am experiencing a persistent issue with my custom multi-agent environment in RLlib, where the
infos
dictionary is not being found, leading to aKeyError: 'infos'
. This error arises during the processing of observations in the_process_observations
function inenv_runner_v2.py
.The error occurs consistently across different configurations and even after ensuring the environment complies with the expected structures for observations, rewards, terminations, truncations, and
infos
.Versions / Dependencies
Reproduction script
Steps to Reproduce
infos
are handled per agent.KeyError: 'infos'
occurs in_process_observations
.Code Snippets
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: