ray/release/golden_notebook_tests/workloads
Kai Fricke 753f5feaf4
[tune] Remove TrialCheckpoint class (#25406)
The old user-facing TrialCheckpoint class has been deprecated in favor of `ray.ml.Checkpoint` and will be removed with this PR.

The main change in this PR is to delete the old `TrialCheckpoint` class and replace remaining API calls (e.g. `checkpoint.local_path`) with the correct AIR equivalents.

One issue that comes up is that with Ray client usage, checkpoint directories are not available on the local node (the client). Thus, we can't construct `Checkpoint` objects easily. (Previously, the TrialCheckpoint object held a reference to the location, even if it is not locally available). There are ongoing discussions on how to resolve this in the future. For now, we print an error when such a checkpoint is requested.

Depends on #25805

Signed-off-by: Kai Fricke <kai@anyscale.com>
2022-07-11 20:08:10 +01:00
..
dask_xgboost_test.py [ci/release] Migrate golden notebook tests (#22949) 2022-03-13 21:39:41 +00:00
modin_xgboost_test.py [ci/release] Migrate golden notebook tests (#22949) 2022-03-13 21:39:41 +00:00
torch_tune_serve_test.py [tune] Remove TrialCheckpoint class (#25406) 2022-07-11 20:08:10 +01:00
util.py [ci/release] Migrate golden notebook tests (#22949) 2022-03-13 21:39:41 +00:00