2.7 KiB
Install Guide
Prerequisites
- ComfyUI installed and running
- Ollama installed and running on
localhost:11434 - required Ollama models pulled (examples):
qwen2.5:7bllava:7b
Automated Install
Run from this repo:
install.bat
The installer:
- reads
install_manifest.json - downloads model files into your selected model root
- New: Uses BITS for background downloading; UI remains responsive.
- New: Supports pausing/cancelling mid-download.
- appends an
ollama_clustersection to ComfyUIextra_model_paths.yamlif missing
Managing Model Registry
To keep your model_registry.json in sync with what you have actually downloaded (so the node system knows which models are available), run:
manage_models.bat
This utility offers two modes:
- Sync with Disk: Scans your model folders, enables found models, and disables missing ones in the registry.
- Reset Registry: Re-enables ALL models in the registry (useful if you plan to download more or just want to see everything in the node options).
CLI equivalents:
python sync_registry.py --sync
python sync_registry.py --dry-run
python sync_registry.py --reset
This script validates local install paths, updates enabled, and can repair path / folder_type metadata.
Source URL Validation (Download Origins)
To validate and repair the original source URLs in model_registry.json (for example Civitai slugs to canonical IDs), run:
python sync_source_urls.py --checkpoints-only --check-live
Useful options:
--dry-runpreview changes without writing.--name-filter <regex>limit to specific models (example:nightvision).--offlineskip network resolution and only normalize obvious URL formats.--timeout <seconds>adjust request timeout.
Convenience launcher:
fix_missed_checkpoints.bat
By default this launcher runs source URL repair for checkpoints with live URL checks.
Model Path Mapping Added by Installer
install.bat now writes these folders under ollama_cluster:
checkpointsdiffusion_modelsunetlorastext_encodersclipcontrolnetvaeembeddings
This supports both standard checkpoint workflows and flux split-component workflows.
Gated Model Downloads
Some Hugging Face assets may require accepted licenses/authentication.
Before running install, set:
set HF_TOKEN=your_hf_token
Then rerun install.bat.
Manual Validation
After install, verify files are in expected folders:
models/checkpoints/for standard checkpoint workflowsmodels/diffusion_models/,models/vae/,models/text_encoders/for flux split workflowsmodels/loras/for LoRA files