Skip to content

[Data] [Docs] Ray Data doc changes for 2.5 - #36224

Merged
amogkam merged 22 commits into
ray-project:releases/2.5.0from
amogkam:batch-inference-guide
Jun 9, 2023
Merged

amogkam merged 22 commits into
ray-project:releases/2.5.0from
amogkam:batch-inference-guide

Conversation

@amogkam

@amogkam amogkam commented Jun 8, 2023 •

Copy link
Copy Markdown
Contributor

#35749
#35751
#35753
#35755
#35757
#36018
#36105
#36121
#36144
#36145
#36162
#36124

Why are these changes needed?

Related issue number

Checks

bveeramani and others added 13 commits June 8, 2023 13:37
…ject#35751)

The "Custom datasource" guide isn't really a guide -- it's an example of how to implement a specific custom datasource. Accordingly, I've moved the document to the examples section.

---------

Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: Balaji Veeramani <[email protected]>
Co-authored-by: angelinalg <[email protected]>
…ect#35755)

Signed-off-by: Balaji Veeramani <[email protected]>

We shouldn't document APIs that we don't want users to use.
Signed-off-by: Balaji Veeramani <[email protected]>

The libraries listed in "Integrations" such as Dask-on-Ray aren't directly related to Ray Data.
)

Updates batch inference end-to-end guide per offline discussion:

Abridges the guide to make it more consumable
Now that we've decided to keep the guide in the Ray Data docs, removes some of the duplicated information
Cleans up configuration section
Link out to the appropriate examples
Adds more information on competitive analysis and why you should use Ray Data for batch inference.

---------

Signed-off-by: amogkam <[email protected]>
Adds an Overview page for Ray Data, and makes the landing page a navigational tool.
---------
Signed-off-by: amogkam <[email protected]>
The "Consuming data" guide is long and contains several unrelated topics. For better discoverability, this PR splits "Consuming data" into three separate guides:

"Inspecting data"
"Iterating over data"
"Saving data"

---------

Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: amogkam <[email protected]>
The "Loading data" guide contains verbose examples and disorganized subsections. This PR abridges the guide and restructures the content.

---------

Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: Balaji Veeramani <[email protected]>
Co-authored-by: Hao Chen <[email protected]>
Signed-off-by: amogkam <[email protected]>
Signed-off-by: amogkam <[email protected]>
The Data glossary is mostly redundant with Key Concepts. Also, Ray Data is the only library with a standalone glossary. For better consistency and lower maintenance cost, this PR merges the Data glossary into the general Ray glossary.

The Data glossary used to be more valuable. But, after we removed tensor and simple datasets, the glossary didn't contain many terms. The remaining terms are:

Irrelevant (e.g, "Datasource" is an internal abstraction)
Redundant (e.g., "Dataset (object)" and "block" are defined in Key Concepts)
Obsolete (e.g, "record" will be replaced by "row" going forward)

---------

Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: amogkam <[email protected]>
Transforming data is verbose. It also contains information that's irrelevant for most users (for example, the fact repartition is an all-to-all operation). This PR revises the guide for brevity and discoverability.

---------

Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: amogkam <[email protected]>
amogkam and others added 2 commits June 8, 2023 14:50
Removes images from the gallery, since some of them are not very relevant (for example the taxi image doesn't provide much value).
Make the Examples page non collapsable so it's not overloaded with many examples

---------

Signed-off-by: amogkam <[email protected]>
amogkam and others added 3 commits June 8, 2023 16:39
Signed-off-by: amogkam <[email protected]>
Signed-off-by: amogkam <[email protected]>
Fixes a bunch of broken Ray data link references.

---------

Signed-off-by: amogkam <[email protected]>
Signed-off-by: Amog Kamsetty <[email protected]>
Co-authored-by: angelinalg <[email protected]>
amogkam and others added 4 commits June 8, 2023 18:05
Signed-off-by: amogkam <[email protected]>
Signed-off-by: amogkam <[email protected]>

Fixes more broken references in the data docs
Signed-off-by: amogkam <[email protected]>
Signed-off-by: amogkam <[email protected]>
@amogkam
amogkam merged commit 48a6c26 into ray-project:releases/2.5.0 Jun 9, 2023
amogkam added a commit to amogkam/ray that referenced this pull request Jun 9, 2023
@amogkam amogkam mentioned this pull request Jun 9, 2023
8 tasks
amogkam added a commit that referenced this pull request Jun 9, 2023
* [Data] [Docs] Ray Data doc changes for 2.5 (#36224)

#35749
#35751
#35753
#35755
#35757
#36018
#36105
#36121
#36144
#36145
#36162
#36124

---------

Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: amogkam <[email protected]>
Signed-off-by: Amog Kamsetty <[email protected]>
Co-authored-by: Balaji Veeramani <[email protected]>
Co-authored-by: angelinalg <[email protected]>
Co-authored-by: Hao Chen <[email protected]>
angelinalg added a commit to angelinalg/ray that referenced this pull request Jun 9, 2023
maxpumperla added a commit that referenced this pull request Jun 10, 2023
* [Data] [Docs] Ray Data doc changes for 2.5 (#36224)

#35749
#35751
#35753
#35755
#35757
#36018
#36105
#36121
#36144
#36145
#36162
#36124

---------

Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: amogkam <[email protected]>
Signed-off-by: Amog Kamsetty <[email protected]>
Co-authored-by: Balaji Veeramani <[email protected]>
Co-authored-by: angelinalg <[email protected]>
Co-authored-by: Hao Chen <[email protected]>

* [docs] relax kapa loading scheme (#36201)

Signed-off-by: Max Pumperla <[email protected]>

* Revert "[Data] [Docs] Ray Data doc changes for 2.5 (#36224)"

This reverts commit 48a6c26.

---------

Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: amogkam <[email protected]>
Signed-off-by: Amog Kamsetty <[email protected]>
Signed-off-by: Max Pumperla <[email protected]>
Co-authored-by: Amog Kamsetty <[email protected]>
Co-authored-by: Balaji Veeramani <[email protected]>
Co-authored-by: Hao Chen <[email protected]>
Co-authored-by: Max Pumperla <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants