remove manual application of RPC performance PR (this is merged into master now)

This commit is contained in:
Donato Capitella
2025-11-28 14:20:03 +00:00
parent cbfa74b25b
commit df54882433
12 changed files with 3 additions and 166 deletions
@@ -1,7 +1,5 @@
# build
FROM registry.fedoraproject.org/fedora:43 AS builder
# Toggle llama.cpp PR 15405 (RPC perf for large models)
ARG APPLY_LLAMA_PR_15405=0
RUN dnf -y --nodocs --setopt=install_weak_deps=False install \
make gcc cmake lld clang clang-devel compiler-rt libcurl-devel \
@@ -62,15 +60,6 @@ RUN chmod +x build-rocwmma.sh && ./build-rocwmma.sh
WORKDIR /opt/llama.cpp
RUN git clone --recursive https://github.com/hjc4869/llama.cpp.git . \
&& git clean -xdf \
&& if [ "${APPLY_LLAMA_PR_15405}" = "1" ]; then \
echo "Applying llama.cpp PR 15405"; \
git config user.email "builder@localhost"; \
git config user.name "Container Builder"; \
git fetch origin pull/15405/head:pr-15405; \
git merge --no-edit pr-15405; \
else \
echo "Skipping llama.cpp PR 15405"; \
fi \
&& 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