any tips for getting this working with comfyui on an AMD Radeon RX 6700 XT in docker?
services:
comfyui:
image: corundex/comfyui-rocm:latest
container_name: comfyui
restart: unless-stopped
ports:
- "8188:8188"
environment:
# AMD/RDNA2 hacks for 6700 XT (gfx1031)
HSA_OVERRIDE_GFX_VERSION: "10.3.0"
HIP_VISIBLE_DEVICES: "0"
ROCR_VISIBLE_DEVICES: "0"
HSA_ENABLE_SDMA: "0" # helps avoid weird hangs on some setups
PYTORCH_HIP_ALLOC_CONF: "garbage_collection_threshold:0.8,max_split_size_mb:512"
MODEL_DOWNLOAD: "default"
CUDA_VISIBLE_DEVICES: "" # make sure nothing tries cuda
volumes:
- ./data/models:/models # checkpoints, VAE, LoRAs, etc.
- ./data/comfy:/workspace/ComfyUI/custom_nodes
- ./data/user:/workspace/ComfyUI/user
devices:
- /dev/kfd
- /dev/dri
security_opt:
- seccomp=unconfined