stable-diffusion-webui-docker icon indicating copy to clipboard operation
stable-diffusion-webui-docker copied to clipboard

New ComfyUI Dockerfile features

Open lainedfles opened this issue 1 year ago • 0 comments

These changes allow Comfy to leverage the powerful image generation and editing capabilities provided by the Krita AI Diffusion project, GGUF, x-flux, ControlNet, and IPAdapter. Users can now access advanced features like outpainting, inpainting, upscaling, etc. within the Comfy UI.

The commit also improves the build process by using a cache for pip installs and specifying types for mounted volumes in Docker for better performance and reproducibility.

  • Non-root default
  • Use git describe to automatically use latest ComfyUI tag (or USE_EDGE=true variable for latest commit)
  • Support custom_nodes:
    • ComfyUI-GGUF (USE_GGUF=true)
    • x-flux-comfyui (USE_XFLUX=true)
    • comfyui_controlnet_aux (USE_CNAUX=false)
    • ComfyUI_IPAdapter_plus (USE_IPAPLUS=true)
    • comfyui-inpaint-nodes (USE_INPAINT=true)
    • comfyui-tooling-nodes (USE_TOOLING=true)
  • Support krita-ai-diffusion (USE_KRITA=true) This automatically enables the required dependency nodes.
  • Downloads recommended models for Krita AI Diffusion if enabled with KRITA_DOWNLOAD_MODELS=true
  • Update base image to pytorch 2.3.1

My preference:

podman-compose --verbose --podman-build-args='--build-arg="USE_EDGE=true" --build-arg="USE_GGUF=true" --build-arg="USE_XFLUX=true" --build-arg="USE_KRITA=true"' --profile comfy build

Closes issue #728

Bleeding edge or latest ComfyUI commit adds flux1-dev support.

Update versions

  • comfy: https://github.com/comfyanonymous/ComfyUI/commit/

Edit: update to reflect latest commits

lainedfles avatar Sep 29 '24 09:09 lainedfles