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 ..