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

[train] remove RL Trainer, Checkpoint, Predictor #38104

Merged
merged 3 commits into from
Aug 5, 2023
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion doc/source/ray-air/api/predictor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,3 @@ Built-in Predictors for Library Integrations
~torch.TorchPredictor
~huggingface.TransformersPredictor
~sklearn.SklearnPredictor
~rl.RLPredictor
7 changes: 0 additions & 7 deletions doc/source/ray-air/examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ Logging & Observability

.. _air-rl-examples-ref:

RL (RLlib)
----------

- :doc:`/ray-air/examples/rl_online_example`
- :doc:`/ray-air/examples/rl_offline_example`


Advanced
--------

Expand Down
1,474 changes: 0 additions & 1,474 deletions doc/source/ray-air/examples/rl_offline_example.ipynb

This file was deleted.

1,368 changes: 0 additions & 1,368 deletions doc/source/ray-air/examples/rl_online_example.ipynb

This file was deleted.

14 changes: 0 additions & 14 deletions doc/source/ray-overview/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -234,20 +234,6 @@ Ray Examples

How to log results and upload models to Weights and Biases

.. grid-item-card:: :bdg-secondary:`Code example`
:class-item: gallery-item
:link: /ray-air/examples/rl_online_example
:link-type: doc

RL Online Learning with Ray AIR

.. grid-item-card:: :bdg-secondary:`Code example`
:class-item: gallery-item
:link: /ray-air/examples/rl_offline_example
:link-type: doc

RL Offline Learning with Ray AIR

.. grid-item-card:: :bdg-secondary:`Code example`
:class-item: gallery-item pytorch
:link: /ray-air/examples/torch_incremental_learning
Expand Down
10 changes: 0 additions & 10 deletions doc/source/train/api/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,16 +231,6 @@ Mosaic
~train.mosaic.MosaicTrainer


Reinforcement Learning (RLlib)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autosummary::
:toctree: doc/

~train.rl.RLTrainer
~train.rl.RLCheckpoint


.. _trainer-restore:

Ray Train Experiment Restoration
Expand Down
1 change: 0 additions & 1 deletion python/ray/air/_internal/usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"LightGBMTrainer",
"LightningTrainer",
"MosaicTrainer",
"RLTrainer",
"SklearnTrainer",
"TensorflowTrainer",
"TorchTrainer",
Expand Down
1 change: 0 additions & 1 deletion python/ray/air/examples/rl_offline_example.ipynb

This file was deleted.

1 change: 0 additions & 1 deletion python/ray/air/examples/rl_online_example.ipynb

This file was deleted.

16 changes: 0 additions & 16 deletions python/ray/train/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -478,22 +478,6 @@ py_test(
deps = [":train_lib"]
)

py_test(
name = "test_rl_trainer",
size = "medium",
srcs = ["tests/test_rl_trainer.py"],
tags = ["team:ml", "exclusive", "ray_air"],
deps = [":train_lib", ":conftest"]
)

py_test(
name = "test_rl_predictor",
size = "small",
srcs = ["tests/test_rl_predictor.py"],
tags = ["team:ml", "exclusive", "ray_air"],
deps = [":train_lib", ":conftest"]
)

py_test(
name = "test_session",
size = "small",
Expand Down
5 changes: 0 additions & 5 deletions python/ray/train/rl/__init__.py

This file was deleted.

86 changes: 0 additions & 86 deletions python/ray/train/rl/rl_checkpoint.py

This file was deleted.

83 changes: 0 additions & 83 deletions python/ray/train/rl/rl_predictor.py

This file was deleted.

Loading
Loading