From 730e9592e97c643474aa44e9d3dbe6f55c4b9ad9 Mon Sep 17 00:00:00 2001 From: Michael Goin Date: Wed, 8 Jan 2025 22:37:48 -0500 Subject: [PATCH] [Doc] Recommend uv and python 3.12 for quickstart guide (#11849) Signed-off-by: mgoin --- docs/source/getting_started/quickstart.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/source/getting_started/quickstart.md b/docs/source/getting_started/quickstart.md index 2808e1b386801..ea15d9ef065fa 100644 --- a/docs/source/getting_started/quickstart.md +++ b/docs/source/getting_started/quickstart.md @@ -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 ```