Move requirements into their own directory (#12547)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2025-03-08 17:44:35 +01:00
committed by GitHub
parent e02883c400
commit 206e2577fa
50 changed files with 125 additions and 128 deletions

View File

@@ -148,7 +148,7 @@ To build vLLM using an existing PyTorch installation:
git clone https://github.com/vllm-project/vllm.git
cd vllm
python use_existing_torch.py
pip install -r requirements-build.txt
pip install -r requirements/build.txt
pip install -e . --no-build-isolation
```

View File

@@ -84,7 +84,7 @@ Currently, there are no pre-built ROCm wheels.
# Install dependencies
$ pip install --upgrade numba scipy huggingface-hub[cli,hf_transfer] setuptools_scm
$ pip install "numpy<2"
$ pip install -r requirements-rocm.txt
$ pip install -r requirements/rocm.txt
# Build vLLM for MI210/MI250/MI300.
$ export PYTORCH_ROCM_ARCH="gfx90a;gfx942"

View File

@@ -25,7 +25,7 @@ Currently, there are no pre-built XPU wheels.
```console
source /opt/intel/oneapi/setvars.sh
pip install --upgrade pip
pip install -v -r requirements-xpu.txt
pip install -v -r requirements/xpu.txt
```
- Finally, build and install vLLM XPU backend: