dan

llama-cpp-rocm-beellama-fork (v0.4.9-swap)

Published 2026-10-31 06:15:25 +00:00 by dan

Installation

docker pull forge.coffee-anon.com/dan/llama-cpp-rocm-beellama-fork:v0.4.9-swap
sha256:f08b081a5d403c850324ddec37bbd9553eaa1006ced5756aee6a48ae13c43c11

About this package

BeeLlama.cpp GGUF inference with upstream DFlash and KVarN KV-cache support

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:3f78aa860931e0853077f09eb31eddbeeef8a9dd70977305b4876aa176770721 in /
CMD ["/bin/bash"]
LABEL maintainer=dl.mlsedevops@amd.com
ARG ROCM_VERSION=5.3
ARG AMDGPU_VERSION=5.3
ARG APT_PREF
RUN |3 ROCM_VERSION=7.2.1 AMDGPU_VERSION=30.30.1 APT_PREF=Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600 /bin/sh -c echo "$APT_PREF" > /etc/apt/preferences.d/rocm-pin-600 # buildkit
RUN |3 ROCM_VERSION=7.2.1 AMDGPU_VERSION=30.30.1 APT_PREF=Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600 /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates curl libnuma-dev gnupg && curl -sL https://repo.radeon.com/rocm/rocm.gpg.key | apt-key add - && printf "deb [arch=amd64] https://repo.radeon.com/rocm/apt/$ROCM_VERSION/ noble main" | tee --append /etc/apt/sources.list.d/rocm.list && printf "deb [arch=amd64] https://repo.radeon.com/amdgpu/$AMDGPU_VERSION/ubuntu noble main" | tee /etc/apt/sources.list.d/amdgpu.list && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends sudo libelf1 kmod file python3-dev python3-pip rocm-dev rocm-libs build-essential && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
RUN |3 ROCM_VERSION=7.2.1 AMDGPU_VERSION=30.30.1 APT_PREF=Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600 /bin/sh -c groupadd -g 109 render # buildkit
ARG RUNTIME_PACKAGES=ca-certificates curl ffmpeg libgomp1
ARG SMOKE_DISABLED_BACKEND=
RUN |2 RUNTIME_PACKAGES=ca-certificates curl ffmpeg libgomp1 SMOKE_DISABLED_BACKEND= /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ${RUNTIME_PACKAGES} && rm -rf /tmp/* /var/tmp/* # buildkit
WORKDIR /app
COPY app/ /app/ # buildkit
ARG BUILD_DATE=N/A
ARG APP_VERSION=N/A
ARG APP_REVISION=N/A
ARG IMAGE_URL=https://github.com/Anbeeld/beellama.cpp
ARG IMAGE_SOURCE=https://github.com/Anbeeld/beellama.cpp
LABEL org.opencontainers.image.created=2026-10-28T21:46:56Z org.opencontainers.image.version=v0.4.9 org.opencontainers.image.revision=b46c53e546d009cc72fdb41c8b42e0d429a523ed org.opencontainers.image.title=BeeLlama.cpp org.opencontainers.image.description=BeeLlama.cpp GGUF inference with upstream DFlash and KVarN KV-cache support org.opencontainers.image.url=https://github.com/Anbeeld/beellama.cpp org.opencontainers.image.source=https://github.com/Anbeeld/beellama.cpp
ENV LLAMA_ARG_HOST=0.0.0.0
RUN |7 RUNTIME_PACKAGES=ca-certificates curl ffmpeg libgomp1 SMOKE_DISABLED_BACKEND= BUILD_DATE=2026-10-28T21:46:56Z APP_VERSION=v0.4.9 APP_REVISION=b46c53e546d009cc72fdb41c8b42e0d429a523ed IMAGE_URL=https://github.com/Anbeeld/beellama.cpp IMAGE_SOURCE=https://github.com/Anbeeld/beellama.cpp /bin/sh -c test -x /app/llama-server && if [ -n "${SMOKE_DISABLED_BACKEND}" ]; then test -s "/app/${SMOKE_DISABLED_BACKEND}" && mv "/app/${SMOKE_DISABLED_BACKEND}" "/app/${SMOKE_DISABLED_BACKEND}.smoke-disabled" && /app/llama-server --version && mv "/app/${SMOKE_DISABLED_BACKEND}.smoke-disabled" "/app/${SMOKE_DISABLED_BACKEND}"; else /app/llama-server --version; fi # buildkit
HEALTHCHECK &{["CMD" "curl" "-f" "http://localhost:8080/health"] "0s" "0s" "0s" "0s" '\x00'}
ENTRYPOINT ["/app/llama-server"]
ARG BEELLAMA_RELEASE=v0.4.9
ARG BEELLAMA_BACKEND=rocm
ARG LLAMA_SWAP_VERSION=197
LABEL maintainer=citizendaniel
LABEL description=Anbeeld/beellama.cpp (rocm) + llama-swap — KVarN + precision tail
LABEL backend=beellama-rocm
LABEL gpu.target=gfx1100
LABEL llamacpp.fork=https://github.com/Anbeeld/beellama.cpp
LABEL llamacpp.fork.release=v0.4.9
LABEL llamaswap.version=197
COPY /tmp/llama-swap /usr/bin/llama-swap # buildkit
RUN |3 BEELLAMA_RELEASE=v0.4.9 BEELLAMA_BACKEND=rocm LLAMA_SWAP_VERSION=197 /bin/sh -c set -eux; if [ -d /app ]; then for b in /app/llama-*; do [ -f "$b" ] && [ -x "$b" ] && ln -sf "$b" "/usr/bin/$(basename "$b")"; done; echo "/app" > /etc/ld.so.conf.d/beellama.conf; ldconfig; fi; test -x /usr/bin/llama-server # buildkit
RUN |3 BEELLAMA_RELEASE=v0.4.9 BEELLAMA_BACKEND=rocm LLAMA_SWAP_VERSION=197 /bin/sh -c set -eu; missing="$(ldd /usr/bin/llama-server 2>&1 | grep 'not found' || true)"; if [ -n "$missing" ]; then echo "FATAL: /usr/bin/llama-server has unresolved shared-library dependencies:"; echo "$missing"; exit 1; fi; echo "OK: /usr/bin/llama-server resolves all shared-library dependencies" # buildkit
RUN |3 BEELLAMA_RELEASE=v0.4.9 BEELLAMA_BACKEND=rocm LLAMA_SWAP_VERSION=197 /bin/sh -c set -eu; rel="${BEELLAMA_RELEASE:-unknown}"; /usr/bin/llama-server --help >/tmp/h.txt 2>&1 || true; grep -q 'spec-type' /tmp/h.txt || { echo "FATAL: llama-server produced no usable --help in ${rel}"; echo "---- output ----"; cat /tmp/h.txt; exit 1; }; for flag in kvarn5 kv-tail-tokens draft-mtp spec-draft-type-k; do grep -q -- "$flag" /tmp/h.txt || { echo "FATAL: --help lacks ${flag} in ${rel}"; exit 1; }; done; test -x /usr/bin/llama-swap; rm -f /tmp/h.txt; echo "OK: ${rel} (${BEELLAMA_BACKEND}) links and exposes kvarn5 + kv-tail-tokens + draft-mtp" # buildkit
EXPOSE [8080/tcp]
ENTRYPOINT ["/usr/bin/llama-swap"]
CMD ["--config" "/config/llama-swap/config.yaml" "--listen" "0.0.0.0:8080"]

Labels

Key Value
backend beellama-rocm
description Anbeeld/beellama.cpp (rocm) + llama-swap — KVarN + precision tail
gpu.target gfx1100
llamacpp.fork https://github.com/Anbeeld/beellama.cpp
llamacpp.fork.release v0.4.9
llamaswap.version 197
maintainer citizendaniel
org.opencontainers.image.created 2026-10-28T21:46:56Z
org.opencontainers.image.description BeeLlama.cpp GGUF inference with upstream DFlash and KVarN KV-cache support
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision b46c53e546d009cc72fdb41c8b42e0d429a523ed
org.opencontainers.image.source https://github.com/Anbeeld/beellama.cpp
org.opencontainers.image.title BeeLlama.cpp
org.opencontainers.image.url https://github.com/Anbeeld/beellama.cpp
org.opencontainers.image.version v0.4.9
Details
Container
2026-10-31 06:15:25 +00:00
27
OCI / Docker
linux/amd64
7.5 GiB
Versions (1) View all
v0.4.9-swap 2026-10-31