Adapt vLLM requirements changes to fix main CI (#279)

### What this PR does / why we need it?
Adapt vLLM requirements changes:
206e2577fa (diff-01ec17406c969585ed075609a2bbf2f2f4fe3e3def36946694abe6d4eb60a6f2)

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
CI passed

Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
This commit is contained in:
Yikun Jiang
2025-03-09 16:07:45 +08:00
committed by GitHub
parent 268da28961
commit 18bb8d1f52
5 changed files with 5 additions and 5 deletions

View File

@@ -69,7 +69,7 @@ jobs:
- name: Install vllm-project/vllm from source
working-directory: vllm-empty
run: |
pip install -r requirements-build.txt --extra-index-url https://download.pytorch.org/whl/cpu
pip install -r requirements/build.txt --extra-index-url https://download.pytorch.org/whl/cpu
VLLM_TARGET_DEVICE=empty pip install .
- name: Mypy

View File

@@ -52,7 +52,7 @@ Installation from source code:
# https://docs.vllm.ai/en/latest/getting_started/installation/cpu/index.html#build-wheel-from-source
git clone --depth 1 https://github.com/vllm-project/vllm.git
cd vllm
pip install -r requirements-build.txt
pip install -r requirements/build.txt
VLLM_TARGET_DEVICE=empty pip install .
# Install vllm-ascend main branch

View File

@@ -52,7 +52,7 @@ vLLM 昇腾插件 (`vllm-ascend`) 是一个让vLLM在Ascend NPU无缝运行的
# https://docs.vllm.ai/en/latest/getting_started/installation/cpu/index.html#build-wheel-from-source
git clone --depth 1 https://github.com/vllm-project/vllm.git
cd vllm
pip install -r requirements-build.txt
pip install -r requirements/build.txt
VLLM_TARGET_DEVICE=empty pip install .
# 安装vllm-ascend main 分支

View File

@@ -21,7 +21,7 @@ source ./.venv/bin/activate
# Clone vllm code and install
git clone https://github.com/vllm-project/vllm.git
cd vllm
pip install -r requirements-build.txt
pip install -r requirements/build.txt
VLLM_TARGET_DEVICE="empty" pip install .
cd ..

View File

@@ -17,7 +17,7 @@ source ./.venv/bin/activate
# 克隆并安装vllm
git clone https://github.com/vllm-project/vllm.git
cd vllm
pip install -r requirements-build.txt
pip install -r requirements/build.txt
VLLM_TARGET_DEVICE="empty" pip install .
cd ..