remove manual application of RPC performance PR (this is merged into master now)
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
# build stage
|
||||
FROM registry.fedoraproject.org/fedora:43 AS builder
|
||||
# Toggle llama.cpp PR 15405 (RPC perf for large models)
|
||||
ARG APPLY_LLAMA_PR_15405=1
|
||||
|
||||
# rocm 6.4.3 repo
|
||||
RUN <<'EOF'
|
||||
@@ -40,15 +38,6 @@ RUN git clone --recursive https://github.com/ggerganov/llama.cpp.git .
|
||||
|
||||
# build
|
||||
RUN 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 \
|
||||
&& cmake -S . -B build \
|
||||
-DGGML_HIP=ON \
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
# build stage
|
||||
FROM registry.fedoraproject.org/fedora:43 AS builder
|
||||
# Toggle llama.cpp PR 15405 (RPC perf for large models)
|
||||
ARG APPLY_LLAMA_PR_15405=1
|
||||
|
||||
# rocm 6.4.4 repo
|
||||
RUN <<'EOF'
|
||||
@@ -44,15 +42,6 @@ WORKDIR /opt/llama.cpp
|
||||
RUN git clone --recursive https://github.com/ggerganov/llama.cpp.git .
|
||||
|
||||
RUN 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
|
||||
|
||||
# overwrite upstream header with our local fixed version
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
# build stage
|
||||
FROM registry.fedoraproject.org/fedora:43 AS builder
|
||||
# Toggle llama.cpp PR 15405 (RPC perf for large models)
|
||||
ARG APPLY_LLAMA_PR_15405=1
|
||||
|
||||
# rocm 7.1 repo
|
||||
RUN <<'EOF'
|
||||
@@ -40,15 +38,6 @@ RUN git clone --recursive https://github.com/ggerganov/llama.cpp.git .
|
||||
|
||||
# build
|
||||
RUN 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 \
|
||||
&& cmake -S . -B build \
|
||||
-DGGML_HIP=ON \
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
# build stage
|
||||
FROM registry.fedoraproject.org/fedora:43 AS builder
|
||||
# Toggle llama.cpp PR 15405 (RPC perf for large models)
|
||||
ARG APPLY_LLAMA_PR_15405=1
|
||||
|
||||
# rocm 7.1 repo
|
||||
RUN <<'EOF'
|
||||
@@ -49,15 +47,6 @@ RUN chmod +x /opt/apply-rocwmma-fix.sh && /opt/apply-rocwmma-fix.sh /opt/llama.c
|
||||
|
||||
# build
|
||||
RUN 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 \
|
||||
&& cmake -S . -B build \
|
||||
-DGGML_HIP=ON \
|
||||
|
||||
@@ -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=1
|
||||
|
||||
RUN dnf -y --nodocs --setopt=install_weak_deps=False install \
|
||||
make gcc cmake lld clang clang-devel compiler-rt libcurl-devel \
|
||||
@@ -58,15 +56,6 @@ RUN printf '%s\n' \
|
||||
WORKDIR /opt/llama.cpp
|
||||
RUN git clone --recursive https://github.com/ggerganov/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
|
||||
|
||||
RUN cmake -S . -B build \
|
||||
|
||||
@@ -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=1
|
||||
|
||||
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/ggerganov/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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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=1
|
||||
|
||||
RUN dnf -y --nodocs --setopt=install_weak_deps=False install \
|
||||
make gcc cmake lld clang clang-devel compiler-rt libcurl-devel \
|
||||
@@ -57,15 +55,6 @@ RUN printf '%s\n' \
|
||||
WORKDIR /opt/llama.cpp
|
||||
RUN git clone --recursive https://github.com/ggerganov/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
|
||||
|
||||
RUN cmake -S . -B build \
|
||||
|
||||
@@ -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=1
|
||||
|
||||
RUN dnf -y --nodocs --setopt=install_weak_deps=False install \
|
||||
make gcc cmake lld clang clang-devel compiler-rt libcurl-devel \
|
||||
@@ -61,15 +59,6 @@ RUN chmod +x build-rocwmma.sh && ./build-rocwmma.sh
|
||||
WORKDIR /opt/llama.cpp
|
||||
RUN git clone --recursive https://github.com/ggerganov/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
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
# build stage
|
||||
FROM registry.fedoraproject.org/fedora:43 AS builder
|
||||
# Toggle llama.cpp PR 15405 (RPC perf for large models)
|
||||
ARG APPLY_LLAMA_PR_15405=1
|
||||
|
||||
# deps
|
||||
RUN dnf -y --nodocs --setopt=install_weak_deps=False install \
|
||||
@@ -23,15 +21,6 @@ RUN git clone --recursive https://github.com/ggerganov/llama.cpp.git .
|
||||
|
||||
# build
|
||||
RUN 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 \
|
||||
&& cmake -S . -B build -G Ninja \
|
||||
-DGGML_VULKAN=ON \
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
# build stage
|
||||
FROM registry.fedoraproject.org/fedora:43 AS builder
|
||||
# Toggle llama.cpp PR 15405 (RPC perf for large models)
|
||||
ARG APPLY_LLAMA_PR_15405=1
|
||||
|
||||
# deps
|
||||
RUN dnf -y --nodocs --setopt=install_weak_deps=False install \
|
||||
@@ -17,15 +15,6 @@ RUN git clone --recursive https://github.com/ggerganov/llama.cpp.git .
|
||||
|
||||
# build
|
||||
RUN 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 \
|
||||
&& cmake -S . -B build -G Ninja \
|
||||
-DGGML_VULKAN=ON \
|
||||
|
||||
Reference in New Issue
Block a user