You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: backend/Dockerfile.llama-cpp
+23-2Lines changed: 23 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,8 @@ ARG CUDA_MINOR_VERSION
58
58
ARG SKIP_DRIVERS=false
59
59
ENV CUDA_MAJOR_VERSION=${CUDA_MAJOR_VERSION}
60
60
ENV CUDA_MINOR_VERSION=${CUDA_MINOR_VERSION}
61
+
ARG ROCM_MAJOR_VERSION=7
62
+
ARG ROCM_MINOR_VERSION=1.1 # ROCm version to append to the major version, in the format of their apt repo (https://repo.radeon.com/rocm/apt/). Like `0_alpha` or `3.4`.
61
63
ENV DEBIAN_FRONTEND=noninteractive
62
64
ARG TARGETARCH
63
65
ARG TARGETVARIANT
@@ -158,10 +160,29 @@ RUN if [ "${BUILD_TYPE}" = "clblas" ] && [ "${SKIP_DRIVERS}" = "false" ]; then \
158
160
; fi
159
161
160
162
RUN if [ "${BUILD_TYPE}" = "hipblas" ] && [ "${SKIP_DRIVERS}" = "false" ]; then \
163
+
# Setup for specific ROCm version as described here: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/install-methods/package-manager/package-manager-ubuntu.html
0 commit comments