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:
2
.github/workflows/mypy.yaml
vendored
2
.github/workflows/mypy.yaml
vendored
@@ -69,7 +69,7 @@ jobs:
|
|||||||
- name: Install vllm-project/vllm from source
|
- name: Install vllm-project/vllm from source
|
||||||
working-directory: vllm-empty
|
working-directory: vllm-empty
|
||||||
run: |
|
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 .
|
VLLM_TARGET_DEVICE=empty pip install .
|
||||||
|
|
||||||
- name: Mypy
|
- name: Mypy
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ Installation from source code:
|
|||||||
# https://docs.vllm.ai/en/latest/getting_started/installation/cpu/index.html#build-wheel-from-source
|
# 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
|
git clone --depth 1 https://github.com/vllm-project/vllm.git
|
||||||
cd vllm
|
cd vllm
|
||||||
pip install -r requirements-build.txt
|
pip install -r requirements/build.txt
|
||||||
VLLM_TARGET_DEVICE=empty pip install .
|
VLLM_TARGET_DEVICE=empty pip install .
|
||||||
|
|
||||||
# Install vllm-ascend main branch
|
# Install vllm-ascend main branch
|
||||||
|
|||||||
@@ -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
|
# 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
|
git clone --depth 1 https://github.com/vllm-project/vllm.git
|
||||||
cd vllm
|
cd vllm
|
||||||
pip install -r requirements-build.txt
|
pip install -r requirements/build.txt
|
||||||
VLLM_TARGET_DEVICE=empty pip install .
|
VLLM_TARGET_DEVICE=empty pip install .
|
||||||
|
|
||||||
# 安装vllm-ascend main 分支
|
# 安装vllm-ascend main 分支
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ source ./.venv/bin/activate
|
|||||||
# Clone vllm code and install
|
# Clone vllm code and install
|
||||||
git clone https://github.com/vllm-project/vllm.git
|
git clone https://github.com/vllm-project/vllm.git
|
||||||
cd vllm
|
cd vllm
|
||||||
pip install -r requirements-build.txt
|
pip install -r requirements/build.txt
|
||||||
VLLM_TARGET_DEVICE="empty" pip install .
|
VLLM_TARGET_DEVICE="empty" pip install .
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ source ./.venv/bin/activate
|
|||||||
# 克隆并安装vllm
|
# 克隆并安装vllm
|
||||||
git clone https://github.com/vllm-project/vllm.git
|
git clone https://github.com/vllm-project/vllm.git
|
||||||
cd vllm
|
cd vllm
|
||||||
pip install -r requirements-build.txt
|
pip install -r requirements/build.txt
|
||||||
VLLM_TARGET_DEVICE="empty" pip install .
|
VLLM_TARGET_DEVICE="empty" pip install .
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user