@@ -19,7 +19,12 @@ RUN npm ci
1919COPY tools/ui/ ./
2020RUN LLAMA_BUILD_NUMBER="$APP_VERSION" npm run build
2121
22- FROM docker.io/intel/oneapi-toolkit:$ONEAPI_VERSION AS build
22+ FROM docker.io/intel/deep-learning-essentials:$ONEAPI_VERSION AS build
23+
24+ RUN echo "Download oneDNN installation package" && \
25+ wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/94c3dbac-0852-45be-a57d-21c204cada3e/intel-onednn-2026.0.2.46_offline.sh -O intel-onednn_offline.sh && \
26+ echo "Install oneDNN components" && \
27+ bash intel-onednn_offline.sh -s -a --silent --eula accept
2328
2429ARG GGML_SYCL_F16=ON
2530ARG LEVEL_ZERO_VERSION=1.28.2
@@ -45,7 +50,7 @@ RUN if [ "${GGML_SYCL_F16}" = "ON" ]; then \
4550 fi && \
4651 echo "Building with dynamic libs" && \
4752 cmake -B build -DGGML_NATIVE=OFF -DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DGGML_BACKEND_DL=ON -DGGML_CPU_ALL_VARIANTS=ON -DLLAMA_BUILD_TESTS=OFF ${OPT_SYCL_F16} && \
48- cmake --build build --config Release -j$(nproc)
53+ cmake --build build --config Release -j$((($( nproc)+1)/2) )
4954
5055RUN mkdir -p /app/lib && \
5156 find build -name "*.so*" -exec cp -P {} /app/lib \;
@@ -102,7 +107,7 @@ RUN mkdir /tmp/neo/ && cd /tmp/neo/ \
102107 && dpkg --install *.deb
103108
104109RUN apt-get update \
105- && apt-get install -y libgomp1 curl ffmpeg \
110+ && apt-get install -y libgomp1 curl ffmpeg openssl libssl-dev \
106111 && apt autoremove -y \
107112 && apt clean -y \
108113 && rm -rf /tmp/* /var/tmp/* \
@@ -141,7 +146,7 @@ ENTRYPOINT ["/app/tools.sh"]
141146FROM base AS light
142147
143148COPY --from=build /app/lib/ /app
144- COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app
149+ COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app/
145150
146151WORKDIR /app
147152
@@ -154,7 +159,7 @@ ENV LLAMA_ARG_HOST=0.0.0.0
154159ENV LLAMA_ARG_PORT=8080
155160
156161COPY --from=build /app/lib/ /app
157- COPY --from=build /app/full/llama /app/full/llama-server /app
162+ COPY --from=build /app/full/llama /app/full/llama-server /app/
158163
159164WORKDIR /app
160165
0 commit comments