[Docs] Add --prerelease=allow to cookbook uv install commands (#35920)

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
zijiexia
2026-08-21 15:51:48 -07:00
committed by GitHub
co-authored by Claude Opus 5
parent 2440820528
commit fe8f9d7457
28 changed files with 36 additions and 32 deletions
@@ -97,7 +97,7 @@ SGLang from the main branch is required for Qwen3.5. You can install from source
```bash Command
# Install from source
uv pip install 'git+https://github.com/sgl-project/sglang.git#subdirectory=python'
uv pip install --prerelease=allow 'git+https://github.com/sgl-project/sglang.git#subdirectory=python'
# Or use Docker (NVIDIA GPUs)
docker pull lmsysorg/sglang:latest
@@ -77,10 +77,10 @@ SGLang `>=0.5.10` is required for Qwen3.6. You can install from PyPI, from sourc
```bash Command
# Install from PyPI
uv pip install sglang
uv pip install --prerelease=allow sglang
# Or install from source
uv pip install 'git+https://github.com/sgl-project/sglang.git#subdirectory=python'
uv pip install --prerelease=allow 'git+https://github.com/sgl-project/sglang.git#subdirectory=python'
# Or use Docker (NVIDIA GPUs; also serves the NVFP4 variants)
docker pull lmsysorg/sglang:latest
@@ -19,14 +19,14 @@ For all methods and hardware platforms, see the [official SGLang installation gu
```bash Command
pip install --upgrade pip
pip install uv
uv pip install sglang
uv pip install --prerelease=allow sglang
# For the DFLASH2 cells only — DFlash2 selector support is newer than the
# latest release, so build from the commit those cells were validated on
# instead of the line above:
# git clone https://github.com/sgl-project/sglang.git && cd sglang
# git checkout 1cf2b8c54d81802abc15dcf23a29b9cc687bc01e # PR #35496
# uv pip install -e "python[all]"
# uv pip install --prerelease=allow -e "python[all]"
```
Then run the **Python** output of the command panel below in that environment.
@@ -18,7 +18,7 @@ For all methods and hardware platforms, see the [official SGLang installation gu
```bash Command
pip install --upgrade pip
pip install uv
uv pip install sglang
uv pip install --prerelease=allow sglang
```
Then run the **Python** output of the command panel below in that environment.