From 11b7ed7c9e1386102bf56a98925b8ab3f88c4a8b Mon Sep 17 00:00:00 2001 From: zijiexia <37504505+zijiexia@users.noreply.github.com> Date: Mon, 29 Jun 2026 14:13:34 -0700 Subject: [PATCH] [Docs] Add --prerelease=allow so uv installs the latest sglang (#29676) Co-authored-by: Claude Opus 4.8 --- docs_new/docs/get-started/install.mdx | 4 ++-- docs_new/docs/get-started/quickstart.mdx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs_new/docs/get-started/install.mdx b/docs_new/docs/get-started/install.mdx index e334eb718..075517e49 100644 --- a/docs_new/docs/get-started/install.mdx +++ b/docs_new/docs/get-started/install.mdx @@ -22,14 +22,14 @@ It is recommended to use uv for faster installation: ```bash Command pip install --upgrade pip pip install uv -uv pip install sglang +uv pip install --prerelease=allow sglang ``` The major version of Cuda is 13 by default. To install sglang under Cuda 12 with pip or uv, please try the following commands: ```bash Command pip install --upgrade pip pip install uv -uv pip install sglang +uv pip install --prerelease=allow sglang uv pip install --force-reinstall torch==2.11.0 torchaudio==2.11.0 torchvision --index-url https://download.pytorch.org/whl/cu129 uv pip install --force-reinstall sglang-kernel --index-url https://docs.sglang.ai/whl/cu129/ uv pip install --force-reinstall sgl-deep-gemm --index-url https://docs.sglang.ai/whl/cu129/ --no-deps diff --git a/docs_new/docs/get-started/quickstart.mdx b/docs_new/docs/get-started/quickstart.mdx index a80ef9b00..f3f5f4eba 100644 --- a/docs_new/docs/get-started/quickstart.mdx +++ b/docs_new/docs/get-started/quickstart.mdx @@ -36,7 +36,7 @@ For other platforms, see the dedicated guides for [AMD GPUs](../hardware-platfor ```bash pip install --upgrade pip pip install uv -uv pip install sglang +uv pip install --prerelease=allow sglang ```