[Doc] Recommend uv and python 3.12 for quickstart guide (#11849)

Signed-off-by: mgoin <michael@neuralmagic.com>
This commit is contained in:
Michael Goin 2025-01-08 22:37:48 -05:00 committed by GitHub
parent 1fe554bac3
commit 730e9592e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,10 +15,19 @@ This guide will help you quickly get started with vLLM to perform:
## Installation
If you are using NVIDIA GPUs, you can install vLLM using [pip](https://pypi.org/project/vllm/) directly.
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.
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:
```console
$ conda create -n myenv python=3.10 -y
$ uv venv myenv --python 3.12 --seed
$ source myenv/bin/activate
$ uv pip install vllm
```
You can also use [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html) to create and manage Python environments.
```console
$ conda create -n myenv python=3.12 -y
$ conda activate myenv
$ pip install vllm
```