File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,10 @@ ARG UBUNTU_VERSION
1616
1717FROM ubuntu:${UBUNTU_VERSION}
1818
19- RUN useradd -s /bin/bash user
20-
2119ENV LANG=C.UTF-8
2220
2321ARG DEBIAN_FRONTEND=noninteractive
2422
25- HEALTHCHECK NONE
26- RUN useradd -d /home/ipex -m -s /bin/bash ipex
27-
2823RUN apt-get update && \
2924 apt-get install -y --no-install-recommends --fix-missing \
3025 apt-utils \
@@ -116,17 +111,17 @@ RUN python -m pip install numpy
116111RUN python -m pip install torch==${TORCH_VERSION} -f ${TORCH_WHL_URL} && \
117112 python -m pip install intel_extension_for_pytorch==${IPEX_VERSION} -f ${IPEX_WHL_URL} && \
118113 python -m pip install torchvision==${TORCHVISION_VERSION} -f ${TORCHVISION_WHL_URL}
114+
119115RUN if [ ${ONECCL_BIND_PT_VERSION} != "N/A" ] && [ ${ONECCL_BIND_PT_WHL_URL} != "N/A" ]; then \
120116 python -m pip install oneccl_bind_pt==${ONECCL_BIND_PT_VERSION} -f ${ONECCL_BIND_PT_WHL_URL}; \
121117 fi
122118
123-
124119ENV LD_LIBRARY_PATH=/opt/intel/oneapi/lib:/opt/intel/oneapi/lib/intel64:$LD_LIBRARY_PATH
125120
126121RUN apt update && \
127122 apt install -y sudo
128- RUN adduser --disabled-password --gecos "" nonroot
129- RUN echo 'nonroot ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
123+ RUN adduser --disabled-password --gecos "" user
124+ RUN echo 'user ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
130125
131126# Set the non-root user as the default user
132127USER user
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ if [[ ${IMAGE_NAME} != "" ]]; then
3535 --build-arg LEVEL_ZERO_GPU_VER=1.3.26241.33-647~22.04 \
3636 --build-arg LEVEL_ZERO_VER=1.11.0-647~22.04 \
3737 --build-arg LEVEL_ZERO_DEV_VER=1.11.0-647~22.04 \
38- --build-arg DPCPP_VER=2023.2.0-49495 \
38+ --build-arg DPCPP_VER=2023.2.1-16 \
3939 --build-arg MKL_VER=2023.2.0-49495 \
4040 --build-arg TORCH_VERSION=2.0.1a0+cxx11.abi \
4141 --build-arg IPEX_VERSION=2.0.110+xpu \
You can’t perform that action at this time.
0 commit comments