Skip to content

Commit

Permalink
[RLlib] Remove rllib_contrib. (#48565)
Browse files Browse the repository at this point in the history
  • Loading branch information
sven1977 authored Nov 5, 2024
1 parent 11aca59 commit d2de983
Show file tree
Hide file tree
Showing 355 changed files with 0 additions and 31,547 deletions.
12 changes: 0 additions & 12 deletions ci/pipeline/determine_tests_to_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ def get_commit_range():
# Whether all RLlib tests should be run.
# Set to 1 only when a source file in `ray/rllib` has been changed.
RAY_CI_RLLIB_DIRECTLY_AFFECTED = 0
# Whether to run all RLlib contrib tests
RAY_CI_RLLIB_CONTRIB_AFFECTED = 0
RAY_CI_SERVE_AFFECTED = 0
RAY_CI_CORE_CPP_AFFECTED = 0
RAY_CI_CPP_AFFECTED = 0
Expand Down Expand Up @@ -167,13 +165,6 @@ def get_commit_range():
RAY_CI_RLLIB_DIRECTLY_AFFECTED = 1
RAY_CI_LINUX_WHEELS_AFFECTED = 1
RAY_CI_MACOS_WHEELS_AFFECTED = 1
elif (
re.match("rllib_contrib/", changed_file)
or changed_file == ".buildkite/rllib_contrib.rayci.yml"
or changed_file == ".buildkite/pipeline.ml.yml"
):
if not changed_file.endswith(".md"):
RAY_CI_RLLIB_CONTRIB_AFFECTED = 1
elif (
changed_file.startswith("python/ray/serve")
or changed_file == ".buildkite/serve.rayci.yml"
Expand Down Expand Up @@ -380,8 +371,6 @@ def get_commit_range():
RAY_CI_TRAIN_AFFECTED = 1
RAY_CI_RLLIB_AFFECTED = 1
RAY_CI_RLLIB_DIRECTLY_AFFECTED = 1
# the rllib contrib ci should only be run on pull requests
RAY_CI_RLLIB_CONTRIB_AFFECTED = 0
RAY_CI_SERVE_AFFECTED = 1
RAY_CI_CPP_AFFECTED = 1
RAY_CI_CORE_CPP_AFFECTED = 1
Expand All @@ -408,7 +397,6 @@ def get_commit_range():
"RAY_CI_RLLIB_AFFECTED={}".format(RAY_CI_RLLIB_AFFECTED),
"RAY_CI_RLLIB_GPU_AFFECTED={}".format(RAY_CI_RLLIB_GPU_AFFECTED),
"RAY_CI_RLLIB_DIRECTLY_AFFECTED={}".format(RAY_CI_RLLIB_DIRECTLY_AFFECTED),
"RAY_CI_RLLIB_CONTRIB_AFFECTED={}".format(RAY_CI_RLLIB_CONTRIB_AFFECTED),
"RAY_CI_SERVE_AFFECTED={}".format(RAY_CI_SERVE_AFFECTED),
"RAY_CI_DASHBOARD_AFFECTED={}".format(RAY_CI_DASHBOARD_AFFECTED),
"RAY_CI_DOC_AFFECTED={}".format(RAY_CI_DOC_AFFECTED),
Expand Down
8 changes: 0 additions & 8 deletions rllib/utils/deprecation.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,3 @@ def _ctor(*args, **kwargs):

# Return the prepared decorator.
return _inner


ALGO_DEPRECATION_WARNING = (
"This algorithm will be removed by ray 2.9 It is being "
"moved to the ray/rllib_contrib dir. See "
"https://github.com/ray-project/enhancements/blob/main/reps/2023-04-28-remove-algorithms-from-rllib.md " # noqa: E501
"for more details. Any associated components (e.g. policies) will also be moved."
)
34 changes: 0 additions & 34 deletions rllib_contrib/README.md

This file was deleted.

30 changes: 0 additions & 30 deletions rllib_contrib/TOC.md

This file was deleted.

51 changes: 0 additions & 51 deletions rllib_contrib/a2c/BUILD

This file was deleted.

17 changes: 0 additions & 17 deletions rllib_contrib/a2c/README.md

This file was deleted.

48 changes: 0 additions & 48 deletions rllib_contrib/a2c/examples/a2c_cartpole_v1.py

This file was deleted.

18 changes: 0 additions & 18 deletions rllib_contrib/a2c/pyproject.toml

This file was deleted.

4 changes: 0 additions & 4 deletions rllib_contrib/a2c/requirements.txt

This file was deleted.

7 changes: 0 additions & 7 deletions rllib_contrib/a2c/src/rllib_a2c/a2c/__init__.py

This file was deleted.

Loading

0 comments on commit d2de983

Please sign in to comment.