Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit d23679e

Browse files
authored
[Bugfix] fix docker build for xpu (vllm-project#8652)
1 parent 57a0702 commit d23679e

File tree

3 files changed

+6
-14
lines changed

3 files changed

+6
-14
lines changed

Dockerfile.xpu

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,11 @@ RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRO
1010
RUN apt-get update -y \
1111
&& apt-get install -y curl libicu70 lsb-release git wget vim numactl python3 python3-pip ffmpeg libsm6 libxext6 libgl1
1212

13-
RUN git clone https://github.com/intel/pti-gpu && \
14-
cd pti-gpu/sdk && \
15-
mkdir build && \
16-
cd build && \
17-
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/icpx_toolchain.cmake -DBUILD_TESTING=OFF .. && \
18-
make -j && \
19-
cmake --install . --config Release --prefix "/usr/local"
20-
2113
COPY ./ /workspace/vllm
2214

2315
WORKDIR /workspace/vllm
2416

25-
RUN pip install -v -r requirements-xpu.txt
17+
RUN pip install -v -r requirements-xpu.txt --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/
2618

2719
RUN VLLM_TARGET_DEVICE=xpu python3 setup.py install
2820

docs/source/getting_started/xpu-installation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Requirements
1717
------------
1818

1919
* OS: Linux
20-
* Supported Hardware: Intel Data Center GPU (Intel ARC GPU WIP)
21-
* OneAPI requirements: oneAPI 2024.1
20+
* Supported Hardware: Intel Data Center GPU, Intel ARC GPU
21+
* OneAPI requirements: oneAPI 2024.2
2222

2323
.. _xpu_backend_quick_start_dockerfile:
2424

@@ -40,7 +40,7 @@ Quick start using Dockerfile
4040
Build from source
4141
-----------------
4242

43-
- First, install required driver and intel OneAPI 2024.1 or later.
43+
- First, install required driver and intel OneAPI 2024.2 or later.
4444

4545
- Second, install Python packages for vLLM XPU backend building:
4646

requirements-xpu.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
setuptools < 70.0.0 # IPEX's torch have some dependency. to be removed.
55

6+
ray >= 2.9
7+
# Following pkgs retrieved from https://pytorch-extension.intel.com/release-whl/stable/xpu/us/
68
torch == 2.3.1+cxx11.abi
79
intel-extension-for-pytorch == 2.3.110+xpu
810
oneccl_bind_pt == 2.3.100+xpu
911

1012
triton-xpu == 3.0.0b2
11-
12-
--extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/

0 commit comments

Comments
 (0)