diff --git a/deployments/ai-stack/README.md b/deployments/ai-stack/README.md index 36760f3..5cf088f 100644 --- a/deployments/ai-stack/README.md +++ b/deployments/ai-stack/README.md @@ -63,9 +63,11 @@ Then edit: Check sizes at first; the host needs disk for everything listed. - **`comfyui-init-models.sh`** — checkpoints/VAEs/LoRAs to preseed into - ComfyUI. Default ships SD 1.5 only (matches the workflow placeholder). - Uncomment the SDXL/Flux/upscaler examples or add your own. Set `HF_TOKEN` - in `.env` if any are gated repos. + ComfyUI. Ships empty (no active fetches) — uncomment the SDXL/Flux/ + upscaler examples or add your own. Whatever filename you pick should + match the `ckpt_name` field in `workflows/*.json` (default expects + `CyberRealisticXLPlay_V8.0_FP16.safetensors`). Set `HF_TOKEN` in + `.env` if any are gated repos. ## 3. Bring it up @@ -91,10 +93,13 @@ ComfyUI ships no models. Three ways to get one in: 1. **Preseed via the sidecar (default).** `comfyui-model-init` runs once on `compose up`, downloads everything `comfyui-init-models.sh` lists, - and exits. The default list pulls SD 1.5 to match the workflow - placeholder. Edit the script to add SDXL, Flux, LoRAs, upscalers, etc. - Re-run with `docker compose up -d comfyui-model-init` after edits; - already-present files are skipped. + and exits. The script ships empty — uncomment one of the examples or + add your own `fetch` calls (SDXL, Flux, LoRAs, upscalers, etc.). At + least one checkpoint should be named + `CyberRealisticXLPlay_V8.0_FP16.safetensors` to match the workflow + default, or update `ckpt_name` in `workflows/*.json` to whatever you + pull. Re-run with `docker compose up -d comfyui-model-init` after + script edits; already-present files are skipped. 2. **ComfyUI-Manager UI.** Open `https://comfyui.example.com` (after basic-auth login), click **Manager**, then **Model Manager**, install from the catalogue. @@ -126,7 +131,7 @@ In Open WebUI: **Admin Panel -> Settings -> Images**. 4. **ComfyUI Workflow Nodes** -> paste the contents of [`../../workflows/txt2img.nodes.json`](../../workflows/txt2img.nodes.json). 5. **Default Model** -> the filename of the checkpoint you dropped in - step 4 (e.g. `v1-5-pruned-emaonly.safetensors`). + step 4 (e.g. `CyberRealisticXLPlay_V8.0_FP16.safetensors`). 6. Save. For image editing (img2img), scroll to the **Image Editing** section in diff --git a/deployments/ai-stack/comfyui-init-models.sh b/deployments/ai-stack/comfyui-init-models.sh index 7b586ac..5b982f2 100644 --- a/deployments/ai-stack/comfyui-init-models.sh +++ b/deployments/ai-stack/comfyui-init-models.sh @@ -39,10 +39,13 @@ fetch() { # ─── Edit the list below to choose what gets preseeded ────────────────────── # Format: fetch - -# SD 1.5 base — matches the placeholder filename in workflows/*.json -fetch checkpoints v1-5-pruned-emaonly.safetensors \ - https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors +# +# No checkpoints are downloaded by default — the deployment ships expecting +# you to point at your own model mirror or the public examples below. +# Whatever filename you pick should match the `ckpt_name` field in +# workflows/txt2img.json and workflows/img2img.json (the shipped default +# is CyberRealisticXLPlay_V8.0_FP16.safetensors); update either the +# script or the workflows so they line up. # Examples — uncomment what you want. diff --git a/workflows/img2img.json b/workflows/img2img.json index 912ecc0..0584cbb 100644 --- a/workflows/img2img.json +++ b/workflows/img2img.json @@ -17,7 +17,7 @@ "4": { "class_type": "CheckpointLoaderSimple", "inputs": { - "ckpt_name": "v1-5-pruned-emaonly.safetensors" + "ckpt_name": "CyberRealisticXLPlay_V8.0_FP16.safetensors" } }, "6": { diff --git a/workflows/txt2img.json b/workflows/txt2img.json index 43198be..490a8c9 100644 --- a/workflows/txt2img.json +++ b/workflows/txt2img.json @@ -17,7 +17,7 @@ "4": { "class_type": "CheckpointLoaderSimple", "inputs": { - "ckpt_name": "v1-5-pruned-emaonly.safetensors" + "ckpt_name": "CyberRealisticXLPlay_V8.0_FP16.safetensors" } }, "5": {