Skip to content

comfyui-layer

Recipe card from the charly-comfyui plugin (Images — the deployable catalog).

comfyui – GPU-accelerated image generation service

Section titled “comfyui – GPU-accelerated image generation service”
Property Value
Dependencies supervisord only — the GPU substrate is the box’s
Ports 8188
Volumes comfyui -> ~/ComfyUI
Service comfyui (supervisord)
Install files plan:, pixi.toml

The candy is multi-distro:

  • aria2 (RPM / PAC) – download manager for model files
  • git-lfs (RPM / PAC) – large file support for model repos

On Arch/CachyOS the distro.arch section installs aria2 and git-lfs from the Arch repos (same package names).

Variable Value
(declared by the candy) COMFYUI_REF, COMFYUI_MODEL* — the app tag and the model fetch inputs
(NOT declared here) CUDA_HOME — that belongs to layer-cuda, and only a box that composes it has one

The candy ships no CUDA toolkit and no driver. PyTorch arrives as the cu130 wheel, which bundles its own CUDA runtime, and the driver comes from the substrate the box chooses:

# A POD: the runtime injects the host driver per container (layer-cdi).
comfyui-pod:
candy:
base: nvidia-cdi
candy:
- '@github.com/opencharly/pod-comfyui'
# A VM: the guest owns its kernel module, so the box bakes the driver.
comfyui-vm:
candy:
base: cachyos.cachyos # a distro base
candy:
- '@github.com/opencharly/layer-nvidia:<tag>'
- '@github.com/opencharly/layer-cuda:<tag>'
- '@github.com/opencharly/pod-comfyui'
  • comfyui-cdi — opencharly/distro-cachyos and opencharly/distro-fedora (base nvidia-cdi)

Use when the user asks about:

  • ComfyUI setup or configuration
  • Image generation service
  • Stable Diffusion workflows
  • The comfyui volume or port 8188
  • GPU-accelerated AI art
  • /charly-image:layer — candy authoring reference (charly.yml schema, plan steps, service declarations)
  • /charly-check:check — declarative testing (check: block, charly check box, charly check live)