Skip to content

Commit dbe7f07

Browse files
[Doc] Make sure to update vLLM when installing latest code (vllm-project#16781)
Signed-off-by: DarkLight1337 <[email protected]>
1 parent c69bf4e commit dbe7f07

File tree

1 file changed

+4
-2
lines changed
  • docs/source/getting_started/installation/gpu

1 file changed

+4
-2
lines changed

docs/source/getting_started/installation/gpu/cuda.inc.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ LLM inference is a fast-evolving field, and the latest code may contain bug fixe
4646
##### Install the latest code using `pip`
4747

4848
```console
49-
pip install vllm --pre --extra-index-url https://wheels.vllm.ai/nightly
49+
pip install -U vllm --pre --extra-index-url https://wheels.vllm.ai/nightly
5050
```
5151

5252
`--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
6565
Another way to install the latest code is to use `uv`:
6666

6767
```console
68-
uv pip install vllm --extra-index-url https://wheels.vllm.ai/nightly
68+
uv pip install -U vllm --extra-index-url https://wheels.vllm.ai/nightly
6969
```
7070

71+
##### Install specific revisions using `uv`
72+
7173
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:
7274

7375
```console

0 commit comments

Comments
 (0)