From 2e9ea4da70cb93ce61aad1c0e1cc3359c9c57e33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Belli?= Date: Wed, 29 Oct 2025 11:25:15 +0100 Subject: [PATCH] fix: use rocm-wmma-tune directly --- toolboxes/Dockerfile.rocm-7alpha-rocwmma-improved | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/toolboxes/Dockerfile.rocm-7alpha-rocwmma-improved b/toolboxes/Dockerfile.rocm-7alpha-rocwmma-improved index 49bd48d..9f0b64e 100644 --- a/toolboxes/Dockerfile.rocm-7alpha-rocwmma-improved +++ b/toolboxes/Dockerfile.rocm-7alpha-rocwmma-improved @@ -58,18 +58,12 @@ COPY ./build-rocwmma.sh . RUN chmod +x build-rocwmma.sh && ./build-rocwmma.sh WORKDIR /opt/llama.cpp -RUN git clone --recursive https://github.com/ggerganov/llama.cpp.git . \ +RUN git clone --recursive -b rocm-wmma-tune https://github.com/lhl/llama.cpp.git . \ && git clean -xdf \ && git submodule update --recursive COPY ./apply-rocwmma-fix.sh /opt/apply-rocwmma-fix.sh RUN chmod +x /opt/apply-rocwmma-fix.sh && /opt/apply-rocwmma-fix.sh /opt/llama.cpp -# Download and apply the PR 16827 patch -RUN aria2c -x 16 -s 16 -j 16 --file-allocation=none \ - "https://github.com/ggml-org/llama.cpp/pull/16827.patch?full_index=1" \ - -o 16827.patch -RUN git apply 16827.patch - RUN cmake -S . -B build \ -DGGML_HIP=ON \ -DAMDGPU_TARGETS=gfx1151 \