ComfyUI in a Docker container with GPU Radeon support. Tested on AMD Radeon RX 7900 XTX.
- Ubuntu
- make
- Docker
- git
- ROCm (see the installation in transformers-rocm-docker)
git clone https://github.com/HardAndHeavy/comfyui-rocm-docker
cd comfyui-rocm-docker
make runAt the first start, a lengthy initialization process will take place. When the process is completed, ComfyUI will be available at http://localhost.
- To add new node resources, you must grant access to the directory
./data, because the container was started as the root user. To do this, run the commandsudo chmod a+rw -R ./data - Models are located in the directory
./data/comfyui/models/checkpoints. Models can be found on the site civitai.com - If there is a major change in the composition of python libraries, you must change the version of
CONDA_DIRin./Makefile