YanWenKun / ComfyUI-Docker

🐳Dockerfile for 🎨ComfyUI. | 容器镜像与启动脚本
https://hub.docker.com/r/yanwk/comfyui-boot
Other
468 stars 87 forks source link
comfyui docker stable-diffusion

Docker images for ComfyUI

link:README.zh.adoc[>💡中文说明点我💡<]

This repo is for https://hub.docker.com/r/yanwk/comfyui-boot[Docker images] that runs https://github.com/comfyanonymous/ComfyUI[ComfyUI] - a Stable Diffusion GUI powering node-based workflow.

Quick Start - NVIDIA GPU

mkdir -p storage

docker run -it --rm \
  --name comfyui \
  --gpus all \
  -p 8188:8188 \
  -v "$(pwd)"/storage:/home/runner \
  -e CLI_ARGS="" \
  yanwk/comfyui-boot:cu121

Image tags

Recommended for anyone trying ComfyUI for the first time. Equipped with many dependencies. Starts with ComfyUI core only. Using a low-privilege user within the container (easy for WSL2 deploy). Not recommended for Podman or rootless deploy (use megapak instead). ** Using CUDA 12.1 + Python 3.11.

All-in-one bundle, including dev kits. Using 'root' user within the container (easy for rootless deploy). ** Using CUDA 12.1 + Python 3.11.

All-in-one bundle, including dev kits. Using 'root' user within the container (easy for rootless deploy). ** Using CUDA 12.4 + Python 3.12. May perform better on newer GPUs.

** For users in mainland China. Using mirror sites for all download links.

** For AMD GPUs with ROCm.

** Using preview version of PyTorch.

** link:comfy3d-pt22/README.adoc[comfy3d-pt22] Running the https://github.com/MrForExample/ComfyUI-3D-Pack/tree/3b4e715939376634c68aa4c1c7d4ea4a8665c098[Jun 23, 2024] version of Comfy3D based on PyTorch 2.2.

** link:comfy3d-pt23/README.adoc[comfy3d-pt23] Running the https://github.com/MrForExample/ComfyUI-3D-Pack/tree/bdc5e3029ed96d9fa25e651e12fce1553a4422c4[Oct 18, 2024] version of Comfy3D based on PyTorch 2.3.

** link:comfy3d-pt25/README.adoc[comfy3d-pt25] Running the latest version of Comfy3D based on PyTorch 2.5.

License

link:LICENSE[Mulan Public License,Version 2]

This open source license is written and valid both in Chinese and English, how good is that!