mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-14 06:34:58 +08:00
[Doc] Recommend uv and python 3.12 for quickstart guide (#11849)
Signed-off-by: mgoin <michael@neuralmagic.com>
This commit is contained in:
parent
1fe554bac3
commit
730e9592e9
@ -15,10 +15,19 @@ This guide will help you quickly get started with vLLM to perform:
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
If you are using NVIDIA GPUs, you can install vLLM using [pip](https://pypi.org/project/vllm/) directly.
|
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
|
```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
|
$ conda activate myenv
|
||||||
$ pip install vllm
|
$ pip install vllm
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user