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
8 changes: 8 additions & 0 deletions doc/source/serve/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,14 @@ examples:
- natural language processing
link: tutorials/deployment-serve-llm/hybrid-reasoning-llm/README
related_technology: llm applications
- title: Deploy gpt-oss
skill_level: beginner
use_cases:
- generative ai
- large language models
- natural language processing
link: tutorials/deployment-serve-llm/gpt-oss/README
related_technology: llm applications
- title: Serve a Chatbot with Request and Response Streaming
skill_level: intermediate
use_cases:
Expand Down
3 changes: 2 additions & 1 deletion doc/source/serve/llm/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,5 @@ Cache-aware request routing <prefix-aware-request-router>
- {doc}`Deploy a large-sized LLM <../tutorials/deployment-serve-llm/large-size-llm/README>`
- {doc}`Deploy a vision LLM <../tutorials/deployment-serve-llm/vision-llm/README>`
- {doc}`Deploy a reasoning LLM <../tutorials/deployment-serve-llm/reasoning-llm/README>`
- {doc}`Deploy a hybrid reasoning LLM <../tutorials/deployment-serve-llm/hybrid-reasoning-llm/README>`
- {doc}`Deploy a hybrid reasoning LLM <../tutorials/deployment-serve-llm/hybrid-reasoning-llm/README>`
- {doc}`Deploy gpt-oss <../tutorials/deployment-serve-llm/gpt-oss/README>`
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@
"---\n",
"\n",
"**[Deploy a hybrid reasoning LLM](https://docs.ray.io/en/latest/serve/tutorials/deployment-serve-llm/hybrid-reasoning-llm/README.html)** \n",
"Deploy models that can switch between reasoning and non-reasoning modes for flexible usage, such as Qwen-3."
"Deploy models that can switch between reasoning and non-reasoning modes for flexible usage, such as Qwen-3.\n",
"\n",
"---\n",
"\n",
"**[Deploy gpt-oss](https://docs.ray.io/en/latest/ray-overview/examples/deployment-serve-llm/gpt-oss/README.html)** \n",
"Deploy gpt-oss reasoning models for high-reasoning, production-scale workloads, for lower latency (`gpt-oss-20b`) and high-reasoning (`gpt-oss-120b`) use cases."
]
}
],
Expand Down
5 changes: 5 additions & 0 deletions doc/source/serve/tutorials/deployment-serve-llm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,8 @@ Deploy models with reasoning capabilities designed for long-context tasks, codin

**[Deploy a hybrid reasoning LLM](https://docs.ray.io/en/latest/serve/tutorials/deployment-serve-llm/hybrid-reasoning-llm/README.html)**
Deploy models that can switch between reasoning and non-reasoning modes for flexible usage, such as Qwen-3.

---

**[Deploy gpt-oss](https://docs.ray.io/en/latest/ray-overview/examples/deployment-serve-llm/gpt-oss/README.html)**
Deploy gpt-oss reasoning models for high-reasoning, production-scale workloads, for lower latency (`gpt-oss-20b`) and high-reasoning (`gpt-oss-120b`) use cases.
12 changes: 11 additions & 1 deletion doc/source/serve/tutorials/deployment-serve-llm/ci/nb2py.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,17 @@ def convert_notebook(
else:
# Detect any IPython '!' shell commands in code lines
has_bang = any(line.lstrip().startswith("!") for line in lines)
if has_bang:
# Start with "serve run" "serve shutdown" "curl" or "anyscale service" commands
to_ignore_cmd = (
"serve run",
"serve shutdown",
"curl",
"anyscale service",
)
has_ignored_start = any(
line.lstrip().startswith(to_ignore_cmd) for line in lines
)
if has_bang or has_ignored_start:
if ignore_cmds:
continue
out.write("import subprocess\n")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ for nb in \
"large-size-llm/notebook" \
"vision-llm/notebook" \
"reasoning-llm/notebook" \
"hybrid-reasoning-llm/notebook"
"hybrid-reasoning-llm/notebook" \
"gpt-oss/notebook"
do
python ci/nb2py.py "${nb}.ipynb" "${nb}.py" --ignore-cmds
python "${nb}.py"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM anyscale/ray:2.49.0-slim-py312-cu128

# C compiler for Triton’s runtime build step (vLLM V1 engine)
# https://github.com/vllm-project/vllm/issues/2997
RUN sudo apt-get update && \
sudo apt-get install -y --no-install-recommends build-essential
Comment thread
Aydin-ab marked this conversation as resolved.

RUN pip install vllm==0.10.1
Comment thread
Aydin-ab marked this conversation as resolved.
Loading