ray-project / ray

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.
https://ray.io
Apache License 2.0
33.12k stars 5.61k forks source link

[<Ray component: RLlib>] undocumented deprecation warning, how to fix? #41486

Open dominiquegarmier opened 9 months ago

dominiquegarmier commented 9 months ago

What happened + What you expected to happen

>>> from ray.rllib.algorithms import ppo
2023-11-29 17:22:20,097 WARNING __init__.py:10 -- PG has/have been moved to `rllib_contrib` and will no longer be maintained by the RLlib team. You can still use it/them normally inside RLlib util Ray 2.8, but from Ray 2.9 on, all `rllib_contrib` algorithms will no longer be part of the core repo, and will therefore have to be installed separately with pinned dependencies for e.g. ray[rllib] and other packages! See https://github.com/ray-project/ray/tree/master/rllib_contrib#rllib-contrib for more information on the RLlib contrib effort.

Versions / Dependencies

ray==2.8.0

Reproduction script

>>> from ray.rllib.algorithms import ppo

Issue Severity

Low: It annoys or frustrates me.

dominiquegarmier commented 9 months ago

https://github.com/ray-project/ray/issues/24107#issuecomment-1251075255 is related

jakecyr commented 8 months ago

We're on version 2.9.0 and now getting a deprecation error. It doesn't seem that rllib_contrib comes withs the package. How can it be installed?

misiekzap commented 3 weeks ago

having same issue, any solutions?