diff --git a/doc/source/ray-air/examples/torch_incremental_learning.ipynb b/doc/source/ray-air/examples/torch_incremental_learning.ipynb index c333bb7a3..28436fb27 100644 --- a/doc/source/ray-air/examples/torch_incremental_learning.ipynb +++ b/doc/source/ray-air/examples/torch_incremental_learning.ipynb @@ -246,7 +246,7 @@ "This will allow us to apply built-in preprocessors to the Ray Dataset and allow Ray Datasets to be used with Ray AIR Predictors.\n", " \n", "\n", - "For this example, since we are just working with MNIST dataset, which is small, we use the [`SimpleTorchDataSource`](https://docs.ray.io/en/master/data/package-ref.html?highlight=SimpleTorchDatasource#ray.data.datasource.SimpleTorchDatasource) which just loads the full MNIST dataset into memory.\n", + "For this example, since we are just working with MNIST dataset, which is small, we use the {py:class}`~ray.data.datasource.SimpleTorchDatasource` which just loads the full MNIST dataset into memory.\n", "\n", "For loading larger datasets in a parallel fashion, you should use [Ray Dataset's additional read APIs](https://docs.ray.io/en/master/data/dataset.html#supported-input-formats) to load data from parquet, csv, image files, and more!" ] diff --git a/python/ray/util/actor_group.py b/python/ray/util/actor_group.py index 6324ee85f..bf964789a 100644 --- a/python/ray/util/actor_group.py +++ b/python/ray/util/actor_group.py @@ -56,7 +56,7 @@ class ActorGroupMethod: f"in https://docs.ray.io/en/{get_ray_doc_version()}/ray-more-libs/multiprocessing.html. " # noqa: E501 "For stateful/actor processing such as batch prediction, use " "Datasets.map_batches(compute=ActorPoolStrategy, ...), see details in " - f"https://docs.ray.io/en/{get_ray_doc_version()}/data/package-ref.html#ray.data.Dataset.map_batches." # noqa: E501 + f"https://docs.ray.io/en/{get_ray_doc_version()}/data/api/dataset.html#ray.data.Dataset.map_batches." # noqa: E501 ) class ActorGroup: """Group of Ray Actors that can execute arbitrary functions. diff --git a/python/ray/util/actor_pool.py b/python/ray/util/actor_pool.py index ed14371ab..1799a71a8 100644 --- a/python/ray/util/actor_pool.py +++ b/python/ray/util/actor_pool.py @@ -10,7 +10,7 @@ from ray._private.utils import get_ray_doc_version f"in https://docs.ray.io/en/{get_ray_doc_version()}/ray-more-libs/multiprocessing.html. " # noqa: E501 "For stateful/actor processing such as batch prediction, use " "Datasets.map_batches(compute=ActorPoolStrategy, ...), see details in " - f"https://docs.ray.io/en/{get_ray_doc_version()}/data/package-ref.html#ray.data.Dataset.map_batches." # noqa: E501 + f"https://docs.ray.io/en/{get_ray_doc_version()}/data/api/dataset.html#ray.data.Dataset.map_batches." # noqa: E501 ) @PublicAPI(stability="beta") class ActorPool: