The ComfyUI-Chord nodes use Hugging Face API calls to download Stable Diffusion 2.1 components, which may not work in ComfyUI Desktop due to:
- Network restrictions - ComfyUI Desktop may block network requests
- Security policies - Desktop apps often have stricter security
- Missing internet access - Desktop version might run in isolated environment
- Different diffusers behavior - The
diffuserslibrary may behave differently in Desktop
File: chord/chord/module/stable_diffusion.py
Lines 51-66: These methods download from Hugging Face:
UNet2DConditionModel.load_config()- Downloads UNet configUNet2DConditionModel.from_config()- Downloads UNet weightsAutoencoderKL.load_config()- Downloads VAE configAutoencoderKL.from_config()- Downloads VAE weightsCLIPTextConfig.from_pretrained()- Downloads CLIP configCLIPTokenizer.from_pretrained()- Downloads tokenizer (requires vocab download)DDIMScheduler.load_config()- Downloads scheduler config
Current setting: local_files_only = False (line 35) - Allows downloads
Desktop Edition uses: local_files_only = True by default
This ensures:
- ✅ No API calls to HuggingFace during runtime
- ✅ Works offline once model is cached
- ✅ Reliable in ComfyUI Desktop's Electron environment
User Setup:
- Users run
download_sd21.batto pre-download Stable Diffusion 2.1 - Model is cached locally (~5GB)
- Chord nodes work offline after initial setup