From 5db33ddfd215007f528896edeb39e35c36b5b7d1 Mon Sep 17 00:00:00 2001 From: Hermes Date: Tue, 7 Jul 2026 16:57:16 -0400 Subject: [PATCH 1/6] fix: bump llama.cpp from b9596 to b9890 for slot/stability fixes b9596 (Dec 2024) has known slot deadlock on first request causing container freeze. b9890 includes: - Slot selection consolidation (#24755) - HIP fast-math support (#23862) - Hundreds of stability and memory fixes Compatible with ROCm 6.1 + gfx906 (same build flags). --- ai/llama-cpp/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ai/llama-cpp/Dockerfile b/ai/llama-cpp/Dockerfile index 5084278..3b8d2ac 100644 --- a/ai/llama-cpp/Dockerfile +++ b/ai/llama-cpp/Dockerfile @@ -1,10 +1,12 @@ # llama-cpp-rocm6/Dockerfile # Custom llama.cpp server with ROCm 6.1 + gfx906 (MI50) support. # Build: docker build -t llama-cpp:rocm-gfx906 . +# NOTE: Update LLAMACPP_VERSION for bugfixes, but verify ROCm 6.1 compat +# by checking if recent releases still support -DGGML_HIP=ON. FROM rocm/dev-ubuntu-22.04:6.1.2-complete AS builder RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y curl git build-essential pkg-config cmake make && rm -rf /var/lib/apt/lists/* -ARG LLAMACPP_VERSION=b9596 +ARG LLAMACPP_VERSION=b9890 RUN git clone --depth 1 --branch ${LLAMACPP_VERSION} https://github.com/ggml-org/llama.cpp.git /build WORKDIR /build ENV HIP_PATH=/opt/rocm ROCM_PATH=/opt/rocm PATH=/opt/rocm/bin:/opt/rocm/llvm/bin:${PATH} CMAKE_PREFIX_PATH=/opt/rocm From eb5176949e1d58f2adcf810f1892181455278e20 Mon Sep 17 00:00:00 2001 From: Hermes Date: Tue, 7 Jul 2026 19:48:59 -0400 Subject: [PATCH 2/6] fix: add gosu to hermes SSH keyscan to honcho builder - Install gosu in hermes image so run-multi-gateways.sh can drop privileges when USER hermes is set at the end of the Dockerfile. - Add openssh-client + ssh-keyscan to the openconcho-builder stage so SSH host key verification passes during the first Gitea clone. --- ai/hermes/Dockerfile | 1 + ai/honcho/Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ai/hermes/Dockerfile b/ai/hermes/Dockerfile index 8cf1e6d..599a930 100644 --- a/ai/hermes/Dockerfile +++ b/ai/hermes/Dockerfile @@ -13,6 +13,7 @@ FROM nousresearch/hermes-agent:latest USER root RUN apt-get update && \ apt-get install -y --no-install-recommends \ + gosu \ libportaudio2 ca-certificates poppler-utils imagemagick \ libolm-dev \ texlive-latex-base texlive-latex-extra texlive-fonts-recommended \ diff --git a/ai/honcho/Dockerfile b/ai/honcho/Dockerfile index 9407eea..0ae312f 100644 --- a/ai/honcho/Dockerfile +++ b/ai/honcho/Dockerfile @@ -28,9 +28,10 @@ ENV PATH=$PNPM_HOME:$PATH RUN corepack enable && corepack prepare pnpm@latest --activate WORKDIR /app -RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y git openssh-client && rm -rf /var/lib/apt/lists/** ARG OPENCONCHO_SHA=3b5c3293fc18d768dbe85285264a8d66c896bd81 +RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan -p 2222 code.lazyworkhorse.net >> ~/.ssh/known_hosts 2>/dev/null RUN --mount=type=ssh git clone --depth 1 ssh://git@code.lazyworkhorse.net:2222/gortium/openconcho.git /app && \ git -C /app fetch --depth 1 origin ${OPENCONCHO_SHA} && \ git -C /app checkout ${OPENCONCHO_SHA} From 3508ae2481cf47b6c00e1affb450dae82829523c Mon Sep 17 00:00:00 2001 From: Hermes Date: Tue, 7 Jul 2026 20:09:16 -0400 Subject: [PATCH 3/6] fix: update openconcho SHA to HEAD of feat/fix-openconcho branch (was force-pushed) --- ai/honcho/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai/honcho/Dockerfile b/ai/honcho/Dockerfile index 0ae312f..6c70af2 100644 --- a/ai/honcho/Dockerfile +++ b/ai/honcho/Dockerfile @@ -30,7 +30,7 @@ RUN corepack enable && corepack prepare pnpm@latest --activate WORKDIR /app RUN apt-get update && apt-get install -y git openssh-client && rm -rf /var/lib/apt/lists/** -ARG OPENCONCHO_SHA=3b5c3293fc18d768dbe85285264a8d66c896bd81 +ARG OPENCONCHO_SHA=3b5c3290b27201c966e9b5e575720c770ce595d2 RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan -p 2222 code.lazyworkhorse.net >> ~/.ssh/known_hosts 2>/dev/null RUN --mount=type=ssh git clone --depth 1 ssh://git@code.lazyworkhorse.net:2222/gortium/openconcho.git /app && \ git -C /app fetch --depth 1 origin ${OPENCONCHO_SHA} && \ From be757bc68323acc93aaf248d053e0fb39d9d51fa Mon Sep 17 00:00:00 2001 From: Hermes Date: Tue, 7 Jul 2026 20:43:02 -0400 Subject: [PATCH 4/6] chore: update openconcho to upstream v0.16.0 (rebase feat/fix-openconcho on upstream/main) - rebased custom commits on upstream v0.16.0 - 125 upstream commits since fork base (e490d91) - includes dashboard, fleet, dark mode, deps consolidation - our TS fixes preserved on top --- ai/honcho/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai/honcho/Dockerfile b/ai/honcho/Dockerfile index 6c70af2..ab57de7 100644 --- a/ai/honcho/Dockerfile +++ b/ai/honcho/Dockerfile @@ -30,7 +30,7 @@ RUN corepack enable && corepack prepare pnpm@latest --activate WORKDIR /app RUN apt-get update && apt-get install -y git openssh-client && rm -rf /var/lib/apt/lists/** -ARG OPENCONCHO_SHA=3b5c3290b27201c966e9b5e575720c770ce595d2 +ARG OPENCONCHO_SHA=9d32d32d38b8d28345ef43735ca464d7cde5a6cf RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan -p 2222 code.lazyworkhorse.net >> ~/.ssh/known_hosts 2>/dev/null RUN --mount=type=ssh git clone --depth 1 ssh://git@code.lazyworkhorse.net:2222/gortium/openconcho.git /app && \ git -C /app fetch --depth 1 origin ${OPENCONCHO_SHA} && \ From a79f0610ecef9249db4d8a1539f531e449c399e3 Mon Sep 17 00:00:00 2001 From: Hermes Date: Tue, 7 Jul 2026 20:50:02 -0400 Subject: [PATCH 5/6] fix: update openconcho SHA (cast metadata.name to string) --- ai/honcho/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai/honcho/Dockerfile b/ai/honcho/Dockerfile index ab57de7..dc6d03a 100644 --- a/ai/honcho/Dockerfile +++ b/ai/honcho/Dockerfile @@ -30,7 +30,7 @@ RUN corepack enable && corepack prepare pnpm@latest --activate WORKDIR /app RUN apt-get update && apt-get install -y git openssh-client && rm -rf /var/lib/apt/lists/** -ARG OPENCONCHO_SHA=9d32d32d38b8d28345ef43735ca464d7cde5a6cf +ARG OPENCONCHO_SHA=97ec6ccbae41eb811731917ec3503dcbfba6a91c RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan -p 2222 code.lazyworkhorse.net >> ~/.ssh/known_hosts 2>/dev/null RUN --mount=type=ssh git clone --depth 1 ssh://git@code.lazyworkhorse.net:2222/gortium/openconcho.git /app && \ git -C /app fetch --depth 1 origin ${OPENCONCHO_SHA} && \ From 8df60c2911f4432edda1c68d27541eb1db7b2fbe Mon Sep 17 00:00:00 2001 From: Hermes Date: Tue, 7 Jul 2026 20:52:38 -0400 Subject: [PATCH 6/6] fix: update openconcho SHA (template literal for ReactNode) --- ai/honcho/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai/honcho/Dockerfile b/ai/honcho/Dockerfile index dc6d03a..9cbf477 100644 --- a/ai/honcho/Dockerfile +++ b/ai/honcho/Dockerfile @@ -30,7 +30,7 @@ RUN corepack enable && corepack prepare pnpm@latest --activate WORKDIR /app RUN apt-get update && apt-get install -y git openssh-client && rm -rf /var/lib/apt/lists/** -ARG OPENCONCHO_SHA=97ec6ccbae41eb811731917ec3503dcbfba6a91c +ARG OPENCONCHO_SHA=148766312e6a5256f399c64171854f0ff6173b6d RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan -p 2222 code.lazyworkhorse.net >> ~/.ssh/known_hosts 2>/dev/null RUN --mount=type=ssh git clone --depth 1 ssh://git@code.lazyworkhorse.net:2222/gortium/openconcho.git /app && \ git -C /app fetch --depth 1 origin ${OPENCONCHO_SHA} && \