Ray is a unified framework for scaling AI and Python applications. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.
If you check RLlib docs on the comparison of the old and new stack here, you'll see it uses gym.vector.Env to vectorize environments. So the answer to the future support for VectorEnv is likely no.
What happened + What you expected to happen
I implement a vectorized environment drived from ray.rllib.env.vector_env.VectorEnv.
However, we I use the new API stack, it says
The vectorized environment work as expected when I use the old API stack.
It seems new API stack does not support RLlib's own VectorEnv, will they support it in future?
Versions / Dependencies
Reproduction script
There is no bug when I use following configuration:
However, we I enable the
EnvRunners
, it raise ERROR says object has no attribute 'unwrapped', the configuration is as follows:Issue Severity
Medium: It is a significant difficulty but I can work around it.