Skip to content

Commit 80cbe10

Browse files
[OpenVINO] migrate to latest dependencies versions (vllm-project#7251)
1 parent b764547 commit 80cbe10

File tree

4 files changed

+6
-33
lines changed

4 files changed

+6
-33
lines changed

Dockerfile.openvino

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ COPY setup.py /workspace/vllm/
2121
# install build requirements
2222
RUN PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" python3 -m pip install -r /workspace/vllm/requirements-build.txt
2323
# build vLLM with OpenVINO backend
24-
RUN PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu https://storage.openvinotoolkit.org/simple/wheels/pre-release" VLLM_TARGET_DEVICE="openvino" python3 -m pip install /workspace/vllm/
24+
RUN PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" VLLM_TARGET_DEVICE="openvino" python3 -m pip install /workspace/vllm/
2525

2626
COPY examples/ /workspace/vllm/examples
2727
COPY benchmarks/ /workspace/vllm/benchmarks

docs/source/getting_started/openvino-installation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Install from source
5757

5858
.. code-block:: console
5959
60-
$ PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu https://storage.openvinotoolkit.org/simple/wheels/pre-release" VLLM_TARGET_DEVICE=openvino python -m pip install -v .
60+
$ PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" VLLM_TARGET_DEVICE=openvino python -m pip install -v .
6161
6262
.. _openvino_backend_performance_tips:
6363

requirements-openvino.txt

+3-30
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,7 @@
11
# Common dependencies
2-
# -r requirements-common.txt
3-
# TODO: remove temporary copy of all common dependencies once Optimum Intel will support Transformers >= 4.43.2
4-
cmake >= 3.21
5-
ninja # For faster builds.
6-
psutil
7-
sentencepiece # Required for LLaMA tokenizer.
8-
numpy < 2.0.0
9-
requests
10-
tqdm
11-
py-cpuinfo
12-
transformers < 4.43
13-
tokenizers >= 0.19.1 # Required for Llama 3.
14-
fastapi
15-
aiohttp
16-
openai
17-
uvicorn[standard]
18-
pydantic >= 2.0 # Required for OpenAI server.
19-
pillow # Required for image processing
20-
prometheus_client >= 0.18.0
21-
prometheus-fastapi-instrumentator >= 7.0.0
22-
tiktoken >= 0.6.0 # Required for DBRX tokenizer
23-
lm-format-enforcer == 0.10.3
24-
outlines >= 0.0.43, < 0.1 # Requires torch >= 2.1.0
25-
typing_extensions
26-
filelock >= 3.10.4 # filelock starts to support `mode` argument from 3.10.4
27-
pyzmq
28-
gguf == 0.9.1
2+
-r requirements-common.txt
293

304
# OpenVINO dependencies
315
torch >= 2.1.2
32-
openvino ~= 2024.3.0.dev
33-
openvino-tokenizers[transformers] ~= 2024.3.0.0.dev
34-
optimum-intel[openvino] >= 1.18.1
6+
openvino ~= 2024.3.0
7+
optimum-intel[openvino] >= 1.18.2

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def _build_custom_ops() -> bool:
272272

273273

274274
def _build_core_ext() -> bool:
275-
return not _is_neuron() and not _is_tpu()
275+
return not _is_neuron() and not _is_tpu() and not _is_openvino()
276276

277277

278278
def get_hipcc_rocm_version():

0 commit comments

Comments
 (0)