From 18bb8d1f52a5995a670bccdfa529d526a3273b46 Mon Sep 17 00:00:00 2001 From: Yikun Jiang Date: Sun, 9 Mar 2025 16:07:45 +0800 Subject: [PATCH] Adapt vLLM requirements changes to fix main CI (#279) ### What this PR does / why we need it? Adapt vLLM requirements changes: https://github.com/vllm-project/vllm/commit/206e2577fa9c73f0d8019210e36905ba970fe036#diff-01ec17406c969585ed075609a2bbf2f2f4fe3e3def36946694abe6d4eb60a6f2 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? CI passed Signed-off-by: Yikun Jiang --- .github/workflows/mypy.yaml | 2 +- README.md | 2 +- README.zh.md | 2 +- docs/source/developer_guide/contributing.md | 2 +- docs/source/developer_guide/contributing.zh.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/mypy.yaml b/.github/workflows/mypy.yaml index fd88dd9..34b7731 100644 --- a/.github/workflows/mypy.yaml +++ b/.github/workflows/mypy.yaml @@ -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 diff --git a/README.md b/README.md index c5b0021..643d1f4 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README.zh.md b/README.zh.md index 0dc003d..2f3a5d8 100644 --- a/README.zh.md +++ b/README.zh.md @@ -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 分支 diff --git a/docs/source/developer_guide/contributing.md b/docs/source/developer_guide/contributing.md index 953550b..c42d658 100644 --- a/docs/source/developer_guide/contributing.md +++ b/docs/source/developer_guide/contributing.md @@ -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 .. diff --git a/docs/source/developer_guide/contributing.zh.md b/docs/source/developer_guide/contributing.zh.md index 144ff35..3eb03c5 100644 --- a/docs/source/developer_guide/contributing.zh.md +++ b/docs/source/developer_guide/contributing.zh.md @@ -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 ..