ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.
Python ai-agentsamdcomfyuidockerllama-cppllmlocal-ain8nnvidiaopen-webuiragself-hostedspeech-to-textstrix-halotext-to-speechworkflow-automation
services:
comfyui:
image: ignatberesnev/comfyui-gfx1151:v0.2@sha256:a38260b56a94fdf5aa9f951a96a73ef1987b70ebcbd4757447708a756a67abc0
container_name: ods-comfyui
restart: unless-stopped
devices:
- /dev/dri:/dev/dri
- /dev/kfd:/dev/kfd
group_add:
- "${VIDEO_GID:-44}"
- "${RENDER_GID:-992}"
security_opt:
- no-new-privileges:true
shm_size: 8g
environment:
# Run the host's native ISA. The ROCm 7.2 torch wheel in this image
# includes both gfx1151 and gfx1201; spoofing gfx1201 as 11.5.1 dispatches
# incompatible kernels and can hang the GPU. Do not add an empty
# HSA_OVERRIDE_GFX_VERSION either: ROCm treats an empty override as invalid.
#
# TunableOp is intentionally disabled. On a cold architecture it benchmarks
# every GEMM before the first image and stores its result in the ephemeral
# container layer. MIOpen FAST avoids the analogous exhaustive convolution
# search, while the bind mount below preserves the remaining find database.
- MIOPEN_FIND_MODE=FAST
- TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1
volumes:
- ./data/comfyui/ComfyUI:/opt/ComfyUI:z
- ./data/comfyui/miopen:/root/.config/miopen:z
ports:
- "127.0.0.1:${COMFYUI_PORT:-8188}:8188"
command: >-
/bin/sh -c "/opt/comfyui-gfx1151-utils/check-comfyui.sh &&
python3 /opt/ComfyUI/main.py --listen 0.0.0.0 --use-flash-attention"
deploy:
resources:
limits:
cpus: '${COMFYUI_CPU_LIMIT:-1.0}'
memory: 96G
reservations:
cpus: '${COMFYUI_CPU_RESERVATION:-0.5}'
memory: 4G
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:8188/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 120s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"