From 278e4f7ffc2117dd05c02d52de6dcbe63e511371 Mon Sep 17 00:00:00 2001 From: Thierry Pouplier Date: Thu, 30 Apr 2026 15:09:44 +0000 Subject: [PATCH 1/2] feat(hermes): add ROCm env vars for GPU-accelerated STT --- ai/compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ai/compose.yml b/ai/compose.yml index 460d44d..aad915e 100644 --- a/ai/compose.yml +++ b/ai/compose.yml @@ -39,6 +39,12 @@ services: - API_SERVER_KEY=hermes_local_key - GATEWAY_ALLOW_ALL_USERS=true - OPENROUTER_API_KEY=${OPENROUTER_API_KEY} + # ROCm for GPU-accelerated faster-whisper STT + - HSA_OVERRIDE_GFX_VERSION=9.0.6 + - HCC_AMDGPU_TARGET=gfx906 + - HIP_VISIBLE_DEVICES=0,1 + - ROCR_VISIBLE_DEVICES=0,1 + - HSA_ENABLE_SDMA=0 volumes: - /mnt/HoardingCow_docker_data/Hermes/data:/opt/data devices: -- 2.49.1 From ba8634b7702872ddca6d68a662e0436e7a9629bb Mon Sep 17 00:00:00 2001 From: Thierry Pouplier Date: Thu, 30 Apr 2026 15:11:46 +0000 Subject: [PATCH 2/2] feat(hermes): build from local Dockerfile with voice support - Change hermes service from image: to build: - Enables custom image with libportaudio2 and voice Python packages --- ai/compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ai/compose.yml b/ai/compose.yml index aad915e..8d01b17 100644 --- a/ai/compose.yml +++ b/ai/compose.yml @@ -26,7 +26,9 @@ services: - "traefik.http.routers.webui-https.tls.certresolver=njalla" hermes: - image: nousresearch/hermes-agent:latest + build: + context: ./hermes + dockerfile: Dockerfile container_name: hermes restart: always # Gateway run enables the internal API server on port 8642 -- 2.49.1