Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RLlib] Remove rllib_contrib. #48565

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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
Loading