ComfyUI no longer correctly updates nodes with new models.
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
Previously with ComfyUI I was able to add new models and loras to the expected folders and be able to use them after a refresh.
### Actual Behavior
The added models are visible in the Model Library but not in the nodes itself. Dragging and dropping the node from the library gives "Prompt outputs failed validation: LoraLoader: - Value not in list: X" on execution. This issue has persisted through at least two re-installations.
### Steps to Reproduce
Step 1. Open ComfyUI
Step 2. Add a new lora into the lora folder while ComfyUI is running
Step 3. Click R on your keyboard
Step 5. Attempt to use the newly loaded lora
Step 6. Fail
### Debug Logs
```powershell
# ComfyUI Error Report
## Error Details
- **Node ID:** N/A
- **Node Type:** N/A
- **Exception Type:** Prompt execution failed
- **Exception Message:** Prompt outputs failed validation:
LoraLoader:
- Value not in list: lora_name: 'Gigachad.safetensors' not in (list of length 682)
## Stack Trace
PromptExecutionError@http://127.0.0.1:8188/assets/index-CWzmkThr.js:120930:5
queuePrompt@http://127.0.0.1:8188/assets/index-CWzmkThr.js:121273:13
## System Information
- **ComfyUI Version:** 0.3.47
- **Arguments:** main.py --enable-cors-header * --auto-launch --use-sage-attention --disable-all-custom-nodes
- **OS:** nt
- **Python Version:** 3.12.9 (tags/v3.12.9:fdb8142, Feb 4 2025, 15:27:58) [MSC v.1942 64 bit (AMD64)]
- **Embedded Python:** false
- **PyTorch Version:** 2.7.1+cu128
## Devices
- **Name:** cuda:0 NVIDIA GeForce RTX 3050 : cudaMallocAsync
- **Type:** cuda
- **VRAM Total:** 8589279232
- **VRAM Free:** 7545552896
- **Torch VRAM Total:** 0
- **Torch VRAM Free:** 0
## Logs
2025-08-01T06:37:59.597513 - Checkpoint files will always be loaded safely.
2025-08-01T06:37:59.723751 - Total VRAM 8191 MB, total RAM 16335 MB
2025-08-01T06:37:59.723751 - pytorch version: 2.7.1+cu128
2025-08-01T06:37:59.723751 - Set vram state to: NORMAL_VRAM
2025-08-01T06:37:59.723751 - Device: cuda:0 NVIDIA GeForce RTX 3050 : cudaMallocAsync
2025-08-01T06:38:03.392093 - Using sage attention
2025-08-01T06:38:08.963388 - Python version: 3.12.9 (tags/v3.12.9:fdb8142, Feb 4 2025, 15:27:58) [MSC v.1942 64 bit (AMD64)]
2025-08-01T06:38:08.963388 - ComfyUI version: 0.3.47
2025-08-01T06:38:09.777458 - ComfyUI frontend version: 1.23.4
2025-08-01T06:38:09.781459 - [Prompt Server] web root: D:\ComfyUI\venv\Lib\site-packages\comfyui_frontend_package\static
2025-08-01T06:38:11.281578 - Skipping loading of custom nodes
2025-08-01T06:38:12.026801 - Context impl SQLiteImpl.
2025-08-01T06:38:12.026801 - Will assume non-transactional DDL.
2025-08-01T06:38:12.031738 - No target revision found.
2025-08-01T06:38:12.079539 - Starting server
2025-08-01T06:38:12.079539 - To see the GUI go to: http://127.0.0.1:8188
2025-08-01T06:40:14.834002 - got prompt
2025-08-01T06:40:14.834002 - Failed to validate prompt for output 7:
2025-08-01T06:40:14.838003 - * LoraLoader 13:
2025-08-01T06:40:14.838003 - - Value not in list: lora_name: 'Gigachad.safetensors' not in (list of length 682)
2025-08-01T06:40:14.838003 - Output will be ignored
2025-08-01T06:40:14.838003 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2025-08-01T06:45:27.707840 - got prompt
2025-08-01T06:45:27.711842 - Failed to validate prompt for output 7:
2025-08-01T06:45:27.711842 - * LoraLoader 13:
2025-08-01T06:45:27.711842 - - Value not in list: lora_name: 'Gigachad.safetensors' not in (list of length 682)
2025-08-01T06:45:27.711842 - Output will be ignored
2025-08-01T06:45:27.711842 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{"id":"a9165cf5-e0c3-4fde-8c1c-7c2697340b14","revision":0,"last_node_id":13,"last_link_id":18,"nodes":[{"id":3,"type":"CLIPTextEncode","pos":[313.79534912109375,123.8658676147461],"size":[400,200],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":18},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[2]}],"properties":{"Node name for S&R":"CLIPTextEncode","cnr_id":"comfy-core","ver":"0.3.47"},"widgets_values":["worst quality, bad quality, worst aesthetic, artistic error, old, early, logo, text, watermark, twitter username, signature"]},{"id":1,"type":"KSampler","pos":[767.6790771484375,-29.319852828979492],"size":[270,262],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":16},{"localized_name":"positive","name":"positive","type":"CONDITIONING","link":1},{"localized_name":"negative","name":"negative","type":"CONDITIONING","link":2},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":3},{"localized_name":"seed","name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"cfg","name":"cfg","type":"FLOAT","widget":{"name":"cfg"},"link":null},{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null},{"localized_name":"scheduler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"denoise","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[4]}],"properties":{"Node name for S&R":"KSampler","cnr_id":"comfy-core","ver":"0.3.47"},"widgets_values":[6969,"fixed",20,4,"euler_ancestral","simple",1]},{"id":6,"type":"VAELoader","pos":[766.4183959960938,272.0084228515625],"size":[270,58],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[5]}],"properties":{"Node name for S&R":"VAELoader","cnr_id":"comfy-core","ver":"0.3.47"},"widgets_values":["aaaAnimeSDXLVAE_v15.safetensors"]},{"id":5,"type":"VAEDecode","pos":[1077.20263671875,-23.01590919494629],"size":[140,46],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":4},{"localized_name":"vae","name":"vae","type":"VAE","link":5}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[6]}],"properties":{"Node name for S&R":"VAEDecode","cnr_id":"comfy-core","ver":"0.3.47"},"widgets_values":[]},{"id":7,"type":"PreviewImage","pos":[1269.4725341796875,-22.385515213012695],"size":[140,26],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":6}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage","cnr_id":"comfy-core","ver":"0.3.47"},"widgets_values":[]},{"id":13,"type":"LoraLoader","pos":[-73.89707946777344,-67.14346313476562],"size":[270,126],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":14},{"localized_name":"clip","name":"clip","type":"CLIP","link":15},{"localized_name":"lora_name","name":"lora_name","type":"COMBO","widget":{"name":"lora_name"},"link":null},{"localized_name":"strength_model","name":"strength_model","type":"FLOAT","widget":{"name":"strength_model"},"link":null},{"localized_name":"strength_clip","name":"strength_clip","type":"FLOAT","widget":{"name":"strength_clip"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[16]},{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[17,18]}],"properties":{"Node name for S&R":"LoraLoader"},"widgets_values":["Gigachad.safetensors",1,1]},{"id":11,"type":"CheckpointLoaderSimple","pos":[-409.2771911621094,-60.834388732910156],"size":[270,98],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"ckpt_name","name":"ckpt_name","type":"COMBO","widget":{"name":"ckpt_name"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[14]},{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[15]},{"localized_name":"VAE","name":"VAE","type":"VAE","links":null}],"properties":{"Node name for S&R":"CheckpointLoaderSimple","cnr_id":"comfy-core","ver":"0.3.47"},"widgets_values":["noobaiXLNAIXL_vPred10Version.safetensors"]},{"id":4,"type":"EmptyLatentImage","pos":[411.5063171386719,365.93719482421875],"size":[270,106],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":null},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"localized_name":"batch_size","name":"batch_size","type":"INT","widget":{"name":"batch_size"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[3]}],"properties":{"Node name for S&R":"EmptyLatentImage","cnr_id":"comfy-core","ver":"0.3.47"},"widgets_values":[1024,1024,1]},{"id":2,"type":"CLIPTextEncode","pos":[297.4051513671875,-118.83577728271484],"size":[400,200],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":17},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[1]}],"properties":{"Node name for S&R":"CLIPTextEncode","cnr_id":"comfy-core","ver":"0.3.47"},"widgets_values":["1girl, solo,\nhakurei reimu,\nlooking at viewer, open mouth, smile,"]}],"links":[[1,2,0,1,1,"CONDITIONING"],[2,3,0,1,2,"CONDITIONING"],[3,4,0,1,3,"LATENT"],[4,1,0,5,0,"LATENT"],[5,6,0,5,1,"VAE"],[6,5,0,7,0,"IMAGE"],[14,11,0,13,0,"MODEL"],[15,11,1,13,1,"CLIP"],[16,13,0,1,0,"MODEL"],[17,13,1,2,0,"CLIP"],[18,13,1,3,0,"CLIP"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.0834705943389829,"offset":[272.15349565071875,641.8488436684534]}},"version":0.4}
```
### Other
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.