English | 🀄 中文说明
This repo is for Docker images that runs ComfyUI - a Stable Diffusion GUI powering node-based workflow.
mkdir -p \
storage \
storage-models/models \
storage-models/hf-hub \
storage-models/torch-hub \
storage-user/input \
storage-user/output \
storage-user/workflows
docker run -it --rm \
--name comfyui \
--runtime nvidia \
--gpus all \
-p 8188:8188 \
-v "$(pwd)"/storage:/root \
-v "$(pwd)"/storage-models/models:/root/ComfyUI/models \
-v "$(pwd)"/storage-models/hf-hub:/root/.cache/huggingface/hub \
-v "$(pwd)"/storage-models/torch-hub:/root/.cache/torch/hub \
-v "$(pwd)"/storage-user/input:/root/ComfyUI/input \
-v "$(pwd)"/storage-user/output:/root/ComfyUI/output \
-v "$(pwd)"/storage-user/workflows:/root/ComfyUI/user/default/workflows \
-e CLI_ARGS="--disable-xformers" \
yanwk/comfyui-boot:cu128-slimThe supported CUDA versions for each GPU architecture are shown in the table below:
| GPU Architecture | Blackwell | Hopper | Ada Lovelace | Ampere | Turing | Volta | Pascal | Maxwell |
|---|---|---|---|---|---|---|---|---|
Example GPU | RTX 5090 | H100 | RTX 4090 | RTX 3090 | RTX 2080 | TITAN V | GTX 1080 | GTX 980 |
cu130 | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ❌ | ❌ | ❌ |
cu128 ⭐ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ❌ | ❌ |
cu126 | ❌ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
CUDA 12.8 images are currently recommended, in line with PyTorch’s development plan.
If you are unsure about your NVIDIA GPU architecture, see this article.
Note | These CUDA compatibility limitations are due to the PyTorch toolchain, not the NVIDIA CUDA Toolkit. For more information, refer to the PyTorch build script. |
The slim images start with only ComfyUI and ComfyUI-Manager, yet include many dependencies to make future Custom Node installation easier. Recommended for beginners.
CUDA 12.6, Python 3.12
CUDA 12.8, Python 3.12
CUDA 13.0, Python 3.13 (with GIL), No xFormers
The megapak images are all-in-one bundles, including development kits and dozens of Custom Nodes for ComfyUI.
CUDA 12.6, Python 3.12, GCC 13
CUDA 12.8, Python 3.12, GCC 14
CUDA 12.8, Python 3.12, GCC 11, PyTorch 2.8.0
CUDA 12.8, Python 3.12, GCC 11, PyTorch 2.9.1
CUDA 13.0, PyTorch 2.10
Python 3.13 (with GIL), GCC 15, No xFormers
Not as fully equipped as cu128 images.
Using development version of PyTorch. For testing latest features.
For Intel GPUs with XPU.
This open source license is written and valid both in Chinese and English, how good is that!