diff --git a/.env.example b/.env.example index e3d6a13..d8c872b 100644 --- a/.env.example +++ b/.env.example @@ -139,8 +139,9 @@ SEARXNG_INSTANCE=http://localhost:8080 # COMPOSE_FILE=docker-compose.yml:docker/gpu.nvidia.yml # COMPOSE_FILE=docker-compose.yml;docker/gpu.nvidia.yml #(Windows) # -# AMD ROCm (requires ROCm drivers on the host): +# AMD ROCm (requires ROCm drivers on the host and the GID of the render group): # COMPOSE_FILE=docker-compose.yml:docker/gpu.amd.yml +# RENDER_GID=992 # # These overlays only expose the GPU devices. The slim Odysseus image # still needs CUDA/ROCm userspace via Cookbook -> Dependencies (vLLM, diff --git a/docker/gpu.amd.yml b/docker/gpu.amd.yml index 6a0ac39..6d427c8 100644 --- a/docker/gpu.amd.yml +++ b/docker/gpu.amd.yml @@ -15,4 +15,4 @@ services: - /dev/dri group_add: - video - - render + - ${RENDER_GID:-render}