Skip to content

[Docs] [Data] Update Batch Inference end-to-end guide - #36018

Merged
amogkam merged 19 commits into
ray-project:masterfrom
amogkam:batch-inference-docs-update
Jun 6, 2023
Merged

amogkam merged 19 commits into
ray-project:masterfrom
amogkam:batch-inference-docs-update

Conversation

@amogkam

@amogkam amogkam commented Jun 2, 2023

Copy link
Copy Markdown
Contributor

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

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

Why are these changes needed?

Related issue number

Checks

@amogkam

amogkam commented Jun 2, 2023

Copy link
Copy Markdown
Contributor Author

Note that in this PR currently, there is also marketing/positioning related material in the page, which is not great.

We either need to find a better place for this information, or move the batch inference section out of user guide and make it more top-level.

Comment thread doc/source/data/user-guide.rst Resolved
.. tip::

Batch inference refers to generating model predictions on a set of input data.
The model can range from a simple Python function to a complex neural network.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all this stuff is info I deeply believe new users want to read.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still there in the first paragraph right?

@maxpumperla maxpumperla left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @amogkam, I see what you're trying to do here. That said, if we're absolutely certain we want to remove literally all the quick start code, all intro passages for new users, all transitions from before to after Ray that we put in for pedagogical reasons etc., let's go ahead and do this.

@amogkam

amogkam commented Jun 2, 2023 •

Copy link
Copy Markdown
Contributor Author

The quickstart code and intro paragraph are still there right?

The moving before -> after is now emphasized in the more detailed examples, allowing us to keep the user guide more condensed.

Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Signed-off-by: amogkam <[email protected]>
@amogkam

amogkam commented Jun 2, 2023

Copy link
Copy Markdown
Contributor Author

thanks @angelinalg, all comments are addressed!

Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/user-guide.rst Resolved
Signed-off-by: amogkam <[email protected]>

@angelinalg angelinalg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm done with my pass for copy editing!

Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Signed-off-by: amogkam <[email protected]>
Comment thread doc/source/data/user-guide.rst Resolved

@bveeramani bveeramani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Mostly a bunch of editorial nits

Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved

@bveeramani bveeramani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Mostly a bunch of editorial nits

@raulchen raulchen self-assigned this Jun 5, 2023
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
Comment thread doc/source/data/batch_inference.rst Resolved
amogkam added 3 commits June 5, 2023 16:35
Signed-off-by: amogkam <[email protected]>
Signed-off-by: amogkam <[email protected]>
Signed-off-by: amogkam <[email protected]>
amogkam added 5 commits June 5, 2023 19:27
Signed-off-by: amogkam <[email protected]>
Signed-off-by: amogkam <[email protected]>
Signed-off-by: amogkam <[email protected]>
Signed-off-by: amogkam <[email protected]>
Signed-off-by: amogkam <[email protected]>
@amogkam
amogkam merged commit a66a0f2 into ray-project:master Jun 6, 2023
@amogkam
amogkam deleted the batch-inference-docs-update branch June 6, 2023 23:57
amogkam added a commit to amogkam/ray that referenced this pull request Jun 8, 2023
)

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]>
amogkam added a commit that referenced this pull request Jun 9, 2023
#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]>
amogkam added a commit to amogkam/ray that referenced this pull request Jun 9, 2023
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]>
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]>
arvind-chandra pushed a commit to lmco/ray that referenced this pull request Aug 31, 2023
)

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]>
Signed-off-by: e428265 <[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.

6 participants