-
A ComfyUI repo is preloaded in this image (under
/root/ComfyUI). And the-v "$(pwd)"/storage:/rootis commented out in the examples below. You can uncomment it to persist your data, but then you need to prepare your ComfyUI folder first. -
Only basic dependencies for running ComfyUI is installed. Otherwise the image would be too big that GitHub Actions would throw IOException.
-
xFormersis not installed in this image. It requires building from source in order to use it with PyTorch nightly. And building xFormers (with comprehensive build targets) on GitHub Actions would often result in halt (just for unpaid version, maybe).
Using Docker
docker pull yanwk/comfyui-boot:nightly
docker run -it --rm \
--name comfyui-nightly \
--runtime nvidia \
--gpus all \
-p 8188:8188 \
# -v "$(pwd)"/storage:/root \
-e CLI_ARGS="--fast --front-end-version Comfy-Org/ComfyUI_frontend@latest" \
-e PIP_INDEX_URL="https://pypi.org/simple" \
-e HF_ENDPOINT="https://huggingface.co" \
yanwk/comfyui-boot:nightlyUsing Podman
podman pull docker.io/yanwk/comfyui-boot:nightly
podman run -it --rm \
--name comfyui-nightly \
--device nvidia.com/gpu=all \
--security-opt label=disable \
--security-opt seccomp=unconfined \
-p 8188:8188 \
# -v "$(pwd)"/storage:/root \
-e CLI_ARGS="--fast --front-end-version Comfy-Org/ComfyUI_frontend@latest" \
-e PIP_INDEX_URL="https://pypi.org/simple" \
-e HF_ENDPOINT="https://huggingface.co" \
yanwk/comfyui-boot:nightly