Skip to content

Commit 5ab28a3

Browse files
mgoinmzusman
authored andcommitted
[Doc] Recommend uv and python 3.12 for quickstart guide (vllm-project#11849)
Signed-off-by: mgoin <[email protected]>
1 parent 9f9bd42 commit 5ab28a3

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/source/getting_started/quickstart.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,19 @@ This guide will help you quickly get started with vLLM to perform:
1515
## Installation
1616

1717
If you are using NVIDIA GPUs, you can install vLLM using [pip](https://pypi.org/project/vllm/) directly.
18-
It's recommended to use [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html) to create and manage Python environments.
18+
19+
It's recommended to use [uv](https://docs.astral.sh/uv/), a very fast Python environment manager, to create and manage Python environments. Please follow the [documentation](https://docs.astral.sh/uv/#getting-started) to install `uv`. After installing `uv`, you can create a new Python environment and install vLLM using the following commands:
20+
21+
```console
22+
$ uv venv myenv --python 3.12 --seed
23+
$ source myenv/bin/activate
24+
$ uv pip install vllm
25+
```
26+
27+
You can also use [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html) to create and manage Python environments.
1928

2029
```console
21-
$ conda create -n myenv python=3.10 -y
30+
$ conda create -n myenv python=3.12 -y
2231
$ conda activate myenv
2332
$ pip install vllm
2433
```

0 commit comments

Comments
 (0)