From fdcae3216ee93dac1ee210921ec654a3bfe837b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Trifir=C3=B2?= Date: Wed, 14 Aug 2024 19:36:15 +0200 Subject: [PATCH] Dockerfile.openvino: get rid of requirements-build.txt --- Dockerfile.openvino | 3 --- docs/source/getting_started/openvino-installation.rst | 9 +-------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/Dockerfile.openvino b/Dockerfile.openvino index 06ca4638dfeb9..4957dd845a601 100644 --- a/Dockerfile.openvino +++ b/Dockerfile.openvino @@ -8,7 +8,6 @@ RUN apt-get update -y && \ WORKDIR /workspace # copy requirements -COPY requirements-build.txt /workspace/vllm/ COPY requirements-common.txt /workspace/vllm/ COPY requirements-openvino.txt /workspace/vllm/ @@ -18,8 +17,6 @@ COPY cmake/utils.cmake /workspace/vllm/cmake/ COPY CMakeLists.txt /workspace/vllm/ COPY setup.py /workspace/vllm/ -# install build requirements -RUN PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" python3 -m pip install -r /workspace/vllm/requirements-build.txt # build vLLM with OpenVINO backend RUN PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" VLLM_TARGET_DEVICE="openvino" python3 -m pip install /workspace/vllm/ diff --git a/docs/source/getting_started/openvino-installation.rst b/docs/source/getting_started/openvino-installation.rst index d8f27c4328a58..897796973935e 100644 --- a/docs/source/getting_started/openvino-installation.rst +++ b/docs/source/getting_started/openvino-installation.rst @@ -46,14 +46,7 @@ Install from source $ sudo apt-get update -y $ sudo apt-get install python3 -- Second, install prerequisites vLLM OpenVINO backend installation: - - .. code-block:: console - - $ pip install --upgrade pip - $ pip install -r requirements-build.txt --extra-index-url https://download.pytorch.org/whl/cpu - -- Finally, install vLLM with OpenVINO backend: +- Finally, install vLLM with OpenVINO backend: .. code-block:: console