Skip to content

Commit

Permalink
[Data] [Docs] Docs for working with PyTorch (ray-project#36880)
Browse files Browse the repository at this point in the history
Adds a guide for how PyTorch users can use Ray Data. This includes a migration guide from Torch Dataset/DataLoader to Ray Data. Closes ray-project#31418

---------

Signed-off-by: amogkam <[email protected]>
  • Loading branch information
amogkam authored Jun 30, 2023
1 parent eb07a52 commit 80e458c
Show file tree
Hide file tree
Showing 6 changed files with 511 additions and 3 deletions.
6 changes: 6 additions & 0 deletions doc/source/data/api/from_other_data_libs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,9 @@ For PyArrow Users
- :meth:`ds.groupby() <ray.data.Dataset.groupby>`
* - pa.Table.sort_by()
- :meth:`ds.sort() <ray.data.Dataset.sort>`


For PyTorch Dataset & DataLoader Users
--------------------------------------

For more details, see the :ref:`Migrating from PyTorch to Ray Data <migrate_pytorch>`.
2 changes: 2 additions & 0 deletions doc/source/data/user-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ show you how achieve several tasks.
working-with-images
working-with-text
working-with-tensors
working-with-pytorch
batch_inference
data-internals
performance-tips
Loading

0 comments on commit 80e458c

Please sign in to comment.