[Docs] Add --prerelease=allow so uv installs the latest sglang (#29676)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
zijiexia
2026-06-29 14:13:34 -07:00
committed by GitHub
co-authored by Claude Opus 4.8
parent 74a197af9d
commit 11b7ed7c9e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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
```
</Tab>
<Tab title="From Source">