@@ -11,14 +11,14 @@ ARG BASE_ROCM_DEV_CONTAINER=rocm/dev-ubuntu-${UBUNTU_VERSION}:${ROCM_VERSION}-co
1111FROM ${BASE_ROCM_DEV_CONTAINER} AS build
1212
1313# Unless otherwise specified, we make a fat build.
14- # List from https://github.com/ggerganov /llama.cpp/pull/1087#issuecomment-1682807878
14+ # List from https://github.com/ggml-org /llama.cpp/pull/1087#issuecomment-1682807878
1515# This is mostly tied to rocBLAS supported archs.
1616# gfx803, gfx900, gfx1032, gfx1101, gfx1102,not officialy supported
1717# gfx906 is deprecated
1818# check https://rocm.docs.amd.com/projects/install-on-linux/en/docs-6.2.4/reference/system-requirements.html
1919
20- # ARG ROCM_DOCKER_ARCH='gfx803,gfx900,gfx906,gfx908,gfx90a,gfx942,gfx1010,gfx1030,gfx1032,gfx1100,gfx1101,gfx1102'
21- ARG ROCM_DOCKER_ARCH=gfx1100
20+ ARG ROCM_DOCKER_ARCH='gfx803,gfx900,gfx906,gfx908,gfx90a,gfx942,gfx1010,gfx1030,gfx1032,gfx1100,gfx1101,gfx1102'
21+ # ARG ROCM_DOCKER_ARCH=gfx1100
2222
2323# Set nvcc architectured
2424ENV AMDGPU_TARGETS=${ROCM_DOCKER_ARCH}
@@ -40,7 +40,7 @@ WORKDIR /app
4040COPY . .
4141
4242RUN HIPCXX="$(hipconfig -l)/clang" HIP_PATH="$(hipconfig -R)" \
43- cmake -S . -B build -DGGML_HIP=ON -DAMDGPU_TARGETS=$ROCM_DOCKER_ARCH -DCMAKE_BUILD_TYPE=Release -DLLAMA_CURL=ON \
43+ cmake -S . -B build -DGGML_HIP=ON -DAMDGPU_TARGETS=$ROCM_DOCKER_ARCH -DGGML_BACKEND_DL=ON -DGGML_CPU_ALL_VARIANTS=ON - DCMAKE_BUILD_TYPE=Release -DLLAMA_CURL=ON \
4444 && cmake --build build --config Release -j$(nproc)
4545
4646RUN mkdir -p /app/lib \
0 commit comments