[Doc] Make sure to update vLLM when installing latest code (#16781)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung 2025-04-17 20:53:31 +08:00 committed by GitHub
parent c69bf4ee06
commit dbe7f07001
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@ LLM inference is a fast-evolving field, and the latest code may contain bug fixe
##### Install the latest code using `pip`
```console
pip install vllm --pre --extra-index-url https://wheels.vllm.ai/nightly
pip install -U vllm --pre --extra-index-url https://wheels.vllm.ai/nightly
```
`--pre` is required for `pip` to consider pre-released versions.
@ -65,9 +65,11 @@ Note that the wheels are built with Python 3.8 ABI (see [PEP 425](https://peps.p
Another way to install the latest code is to use `uv`:
```console
uv pip install vllm --extra-index-url https://wheels.vllm.ai/nightly
uv pip install -U vllm --extra-index-url https://wheels.vllm.ai/nightly
```
##### Install specific revisions using `uv`
If you want to access the wheels for previous commits (e.g. to bisect the behavior change, performance regression), you can specify the commit hash in the URL:
```console