Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -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",
" <!-- and also means that any transformations done to the images can be done in a zero-copy fashion. -->\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!"
]
Expand Down
2 changes: 1 addition & 1 deletion python/ray/util/actor_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def remote(self, *args, **kwargs):
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.
Expand Down
2 changes: 1 addition & 1 deletion python/ray/util/actor_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
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:
Expand Down