Skip to content

[Doc] Added ray-serve llm doc - #52832

Merged
jjyao merged 20 commits into
ray-project:masterfrom
Blaze-DSP:ray-serve/llm
Jun 12, 2025
Merged

jjyao merged 20 commits into
ray-project:masterfrom
Blaze-DSP:ray-serve/llm

Conversation

@Blaze-DSP

@Blaze-DSP Blaze-DSP commented May 7, 2025 •

Copy link
Copy Markdown
Contributor

Why are these changes needed?

Add example of serving a Large Language Model using Ray Serve LLM on Kubernetes

Related issue number

Checks

@kevin85421

Copy link
Copy Markdown
Member

Can you fix the CI error? In addition, each commit needs to commit with git commit .... -s to avoid "DCO" failing.

@Blaze-DSP
Blaze-DSP force-pushed the ray-serve/llm branch 2 times, most recently from 1ff1edc to b49a3e0 Compare May 8, 2025 17:19

@pcmoritz pcmoritz 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 a lot for contributing this, it looks good to me. Before merging this, we first need to merge kuberay-project/kuberay#3517 :)

@kevin85421 Can you drive that PR forward?

DPatel_7 added 6 commits May 12, 2025 20:26
Signed-off-by: DPatel_7 <[email protected]>
Signed-off-by: DPatel_7 <[email protected]>
DPatel_7
fix
Signed-off-by: DPatel_7 <[email protected]>
Signed-off-by: DPatel_7 <[email protected]>
Signed-off-by: DPatel_7 <[email protected]>
@Blaze-DSP

Copy link
Copy Markdown
Contributor Author

made updates. @kevin85421

DPatel_7
fix
Signed-off-by: DPatel_7 <[email protected]>
@mascharkh mascharkh added serve Ray Serve Related Issue docs An issue or change related to documentation labels May 12, 2025
Signed-off-by: DPatel_7 <[email protected]>

@kevin85421 kevin85421 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.

Would you mind verifying whether the YAML (kuberay-project/kuberay#3517 (review)) still works or not? This doc has removed the step of creating a namespace, but the YAML still uses the namespace.

Signed-off-by: DPatel_7 <[email protected]>
DPatel_7 added 2 commits May 28, 2025 12:38
Signed-off-by: DPatel_7 <[email protected]>
Signed-off-by: DPatel_7 <[email protected]>
@eicherseiji eicherseiji self-assigned this Jun 5, 2025

@eicherseiji eicherseiji 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.

Taking a closer look this afternoon; might push some edits

Signed-off-by: Seiji Eicher <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
@eicherseiji

Copy link
Copy Markdown
Contributor

@kevin85421 Ready to merge when green

@eicherseiji eicherseiji added the go add ONLY when ready to merge, run all tests label Jun 9, 2025
eicherseiji and others added 5 commits June 10, 2025 12:54
Co-authored-by: angelinalg <[email protected]>
Co-authored-by: Kai-Hsun Chen <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>

@kevin85421 kevin85421 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.

Looks great!

For additional security, instead of passing the HF Access Token directly as an environment variable, create a Kubernetes Secret containing your Hugging Face access token. Download the Ray Serve LLM service config .yaml file using the following command:

```sh
curl -o ray-service.llm-serve.yaml https://raw.githubusercontent.com/ray-project/kuberay/master/ray-operator/config/samples/ray-service.llm-serve.yaml

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.

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.

@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.

Just have some style nits. I'd appreciate you fixing prior to merge to decrease tech debt. Thanks!

@kevin85421

Copy link
Copy Markdown
Member

cc @jjyao @edoakes would you mind merging this PR? Thanks!

@jjyao jjyao changed the title added ray-serve llm doc [Doc] added ray-serve llm doc Jun 12, 2025
@jjyao jjyao changed the title [Doc] added ray-serve llm doc [Doc] Added ray-serve llm doc Jun 12, 2025
@jjyao
jjyao merged commit d3c025c into ray-project:master Jun 12, 2025
elliot-barn pushed a commit that referenced this pull request Jun 18, 2025
Add example of serving a Large Language Model using Ray Serve LLM on Kubernetes

Signed-off-by: DPatel_7 <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
Co-authored-by: DPatel_7 <[email protected]>
Co-authored-by: Seiji Eicher <[email protected]>
Co-authored-by: Seiji Eicher <[email protected]>
Co-authored-by: angelinalg <[email protected]>
Co-authored-by: Kai-Hsun Chen <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
elliot-barn pushed a commit that referenced this pull request Jul 2, 2025
Add example of serving a Large Language Model using Ray Serve LLM on Kubernetes

Signed-off-by: DPatel_7 <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
Co-authored-by: DPatel_7 <[email protected]>
Co-authored-by: Seiji Eicher <[email protected]>
Co-authored-by: Seiji Eicher <[email protected]>
Co-authored-by: angelinalg <[email protected]>
Co-authored-by: Kai-Hsun Chen <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community docs An issue or change related to documentation go add ONLY when ready to merge, run all tests llm serve Ray Serve Related Issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants