Skip to content

Commit ba1e3f6

Browse files
authored
update stack for 2.3.110+xpu (#4726)
1 parent 95c9459 commit ba1e3f6

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

docker/Dockerfile.prebuilt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ARG DEBIAN_FRONTEND=noninteractive
2323
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
2424

2525
RUN apt-get update && \
26-
apt-get install -y --no-install-recommends --fix-missing \
26+
apt-get install -y --no-install-recommends \
2727
apt-utils \
2828
build-essential \
2929
ca-certificates \
@@ -40,8 +40,8 @@ RUN apt-get update && \
4040
rm -rf /var/lib/apt/lists/*
4141

4242
RUN wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
43-
gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg
44-
RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy/lts/2350 unified" | \
43+
gpg --dearmor --yes --output /usr/share/keyrings/intel-graphics.gpg
44+
RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy unified" | \
4545
tee /etc/apt/sources.list.d/intel-gpu-jammy.list
4646

4747
ARG ICD_VER
@@ -50,11 +50,11 @@ ARG LEVEL_ZERO_VER
5050
ARG LEVEL_ZERO_DEV_VER
5151

5252
RUN apt-get update && \
53-
apt-get install -y --no-install-recommends --fix-missing \
54-
intel-opencl-icd=${ICD_VER} \
55-
intel-level-zero-gpu=${LEVEL_ZERO_GPU_VER} \
56-
level-zero=${LEVEL_ZERO_VER} \
57-
level-zero-dev=${LEVEL_ZERO_DEV_VER} && \
53+
apt-get install -y --no-install-recommends \
54+
intel-opencl-icd=${ICD_VER} \
55+
intel-level-zero-gpu=${LEVEL_ZERO_GPU_VER} \
56+
libze1=${LEVEL_ZERO_VER} \
57+
libze-dev=${LEVEL_ZERO_DEV_VER} && \
5858
apt-get clean && \
5959
rm -rf /var/lib/apt/lists/*
6060

@@ -68,7 +68,7 @@ ARG MKL_VER
6868
ARG CCL_VER
6969

7070
RUN apt-get update && \
71-
apt-get install -y --no-install-recommends --fix-missing \
71+
apt-get install -y --no-install-recommends \
7272
intel-oneapi-runtime-dpcpp-cpp=${DPCPP_VER} \
7373
intel-oneapi-runtime-mkl=${MKL_VER} \
7474
intel-oneapi-runtime-ccl=${CCL_VER} && \
@@ -80,10 +80,10 @@ RUN apt-get update && apt install -y software-properties-common
8080
RUN add-apt-repository -y ppa:deadsnakes/ppa
8181

8282
RUN apt-cache policy $PYTHON && apt-get update && apt-get install -y \
83-
--no-install-recommends --fix-missing $PYTHON
83+
--no-install-recommends $PYTHON
8484

85-
RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
86-
${PYTHON} lib${PYTHON} python3-pip ${PYTHON}-distutils && \
85+
RUN apt-get update && apt-get install -y --no-install-recommends \
86+
${PYTHON} lib${PYTHON} python3-pip ${PYTHON}-distutils && \
8787
apt-get clean && \
8888
rm -rf /var/lib/apt/lists/*
8989

@@ -107,7 +107,7 @@ ARG TORCHVISION_WHL_URL
107107
ARG TORCHAUDIO_WHL_URL
108108
ARG ONECCL_BIND_PT_WHL_URL
109109

110-
RUN python -m pip install numpy
110+
RUN python -m pip install numpy
111111

112112
RUN python -m pip install torch==${TORCH_VERSION} --extra-index-url ${TORCH_WHL_URL} && \
113113
python -m pip install intel_extension_for_pytorch==${IPEX_VERSION} --extra-index-url ${IPEX_WHL_URL} && \

docker/build.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
#!/bin/bash
22

33
if [[ ${IMAGE_TYPE} = "xpu" ]]; then
4-
IMAGE_NAME=intel/intel-extension-for-pytorch:2.1.30-$IMAGE_TYPE
4+
IMAGE_NAME=intel/intel-extension-for-pytorch:2.3.110-$IMAGE_TYPE
55
docker build --build-arg http_proxy=$http_proxy \
66
--build-arg https_proxy=$https_proxy \
77
--build-arg no_proxy=" " \
88
--build-arg NO_PROXY=" " \
99
--build-arg UBUNTU_VERSION=22.04 \
1010
--build-arg PYTHON=python3.10 \
11-
--build-arg ICD_VER=23.43.27642.40-803~22.04 \
12-
--build-arg LEVEL_ZERO_GPU_VER=1.3.27642.40-803~22.04 \
13-
--build-arg LEVEL_ZERO_VER=1.14.0-744~22.04 \
14-
--build-arg LEVEL_ZERO_DEV_VER=1.14.0-744~22.04 \
11+
--build-arg ICD_VER=24.26.30049.10-950~22.04 \
12+
--build-arg LEVEL_ZERO_GPU_VER=1.3.30049.10-950~22.04 \
13+
--build-arg LEVEL_ZERO_VER=1.17.6-950~22.04 \
14+
--build-arg LEVEL_ZERO_DEV_VER=1.17.6-950~22.04 \
1515
--build-arg DPCPP_VER=2024.1.0-963 \
1616
--build-arg MKL_VER=2024.1.0-691 \
1717
--build-arg CCL_VER=2021.12.0-309 \
18-
--build-arg TORCH_VERSION=2.1.0.post2+cxx11.abi \
19-
--build-arg IPEX_VERSION=2.1.30+xpu \
20-
--build-arg TORCHVISION_VERSION=0.16.0.post2+cxx11.abi \
21-
--build-arg TORCHAUDIO_VERSION=2.1.0.post2+cxx11.abi \
22-
--build-arg ONECCL_BIND_PT_VERSION=2.1.300+xpu \
18+
--build-arg TORCH_VERSION=2.3.1+cxx11.abi \
19+
--build-arg IPEX_VERSION=2.3.110+xpu \
20+
--build-arg TORCHVISION_VERSION=0.18.1+cxx11 \
21+
--build-arg TORCHAUDIO_VERSION=2.3.1+cxx11 \
22+
--build-arg ONECCL_BIND_PT_VERSION=2.3.100+xpu \
2323
--build-arg TORCH_WHL_URL=https://pytorch-extension.intel.com/release-whl/stable/xpu/us/ \
2424
--build-arg IPEX_WHL_URL=https://pytorch-extension.intel.com/release-whl/stable/xpu/us/ \
2525
--build-arg TORCHVISION_WHL_URL=https://pytorch-extension.intel.com/release-whl/stable/xpu/us/ \

0 commit comments

Comments
 (0)