Skip to content

Commit 4363641

Browse files
committed
onekit: install without prompts
1 parent 91a984e commit 4363641

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@ RUN if [ "${BUILD_TYPE}" = "cublas" ]; then \
3737
apt-get update && \
3838
apt-get install -y cuda-nvcc-${CUDA_MAJOR_VERSION}-${CUDA_MINOR_VERSION} libcublas-dev-${CUDA_MAJOR_VERSION}-${CUDA_MINOR_VERSION} libcusparse-dev-${CUDA_MAJOR_VERSION}-${CUDA_MINOR_VERSION} libcusolver-dev-${CUDA_MAJOR_VERSION}-${CUDA_MINOR_VERSION} && apt-get clean \
3939
; fi
40+
4041
# oneapi requirements
4142
RUN if [ "${BUILD_TYPE}" = "sycl_f16" ] || [ "${BUILD_TYPE}" = "sycl_f32" ]; then \
4243
wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/163da6e4-56eb-4948-aba3-debcec61c064/l_BaseKit_p_2024.0.1.46_offline.sh && \
43-
sh ./l_BaseKit_p_2024.0.1.46_offline.sh \
44+
sh ./l_BaseKit_p_2024.0.1.46_offline.sh -a -s --eula accept \
4445
; fi
46+
4547
ENV PATH /usr/local/cuda/bin:${PATH}
4648

4749
# OpenBLAS requirements and stable diffusion

0 commit comments

Comments
 (0)