[GH-ISSUE #1740] Path mismatch in Docker environment when loading models from diffusion_models directory #753

Closed
opened 2026-10-27 21:21:46 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @CaullenOmdahl on GitHub (Apr 13, 2025).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1740

There's a path format inconsistency when using UNet/diffusion models downloaded through ComfyUI-Manager. Although models are correctly downloaded to the expected directory, the validator expects a different path format when referencing the same file.

Environment

  • ComfyUI version: 0.3.27
  • ComfyUI-Manager version: 3.31.10
  • Environment: Docker container with ROCm support
  • GPU: AMD Radeon RX 6900 XT
  • Host OS: Ubuntu Linux with kernel 6.8.0-57-generic (x86_64)
  • Container OS: Linux kernel 6.8.0-57-generic (x86_64) in Docker container

Steps to Reproduce

  1. Install the Wan2.1 t2v 1.3B model through ComfyUI-Manager
  2. Try to use the model in a workflow
  3. Observe validation failure

Error Message

ComfyUI Error Report

Error Details

  • Node ID: N/A
  • Node Type: N/A
  • Exception Type: Prompt execution failed
  • Exception Message: Prompt outputs failed validation:
    UNETLoader:
    • Value not in list: unet_name: 'wan2.1_t2v_1.3B_fp16.safetensors' not in ['Wan2.1/wan2.1_t2v_1.3B_fp16.safetensors']

Stack Trace

Error: Prompt execution failed
    at ComfyApi.queuePrompt (http://localhost:8188/assets/index-DbzFlfti.js:60502:13)
    at async ComfyApp.queuePrompt (http://localhost:8188/assets/index-DbzFlfti.js:233788:25)

System Information

  • ComfyUI Version: 0.3.27
  • Arguments: main.py --listen 0.0.0.0 --port 80
  • OS: posix
  • Python Version: 3.11.11 (main, Dec 11 2024, 16:28:39) [GCC 11.2.0]
  • Embedded Python: false
  • PyTorch Version: 2.5.1+rocm6.2

Devices

  • Name: cuda:0 AMD Radeon RX 6800 : native
    • Type: cuda
    • VRAM Total: 17163091968
    • VRAM Free: 17104371712
    • Torch VRAM Total: 0
    • Torch VRAM Free: 0

Logs

2025-04-13T06:15:58.955425 - [START] Security scan2025-04-13T06:15:58.955433 - 
2025-04-13T06:15:59.956410 - [DONE] Security scan2025-04-13T06:15:59.956421 - 
2025-04-13T06:15:59.987267 - ## ComfyUI-Manager: installing dependencies done.2025-04-13T06:15:59.987296 - 
2025-04-13T06:15:59.987322 - ** ComfyUI startup time:2025-04-13T06:15:59.987342 -  2025-04-13T06:15:59.987360 - 2025-04-13 06:15:59.9872025-04-13T06:15:59.987377 - 
2025-04-13T06:15:59.987394 - ** Platform:2025-04-13T06:15:59.987415 -  2025-04-13T06:15:59.987432 - Linux2025-04-13T06:15:59.987447 - 
2025-04-13T06:15:59.987463 - ** Python version:2025-04-13T06:15:59.987473 -  2025-04-13T06:15:59.987485 - 3.11.11 (main, Dec 11 2024, 16:28:39) [GCC 11.2.0]2025-04-13T06:15:59.987505 - 
2025-04-13T06:15:59.987515 - ** Python executable:2025-04-13T06:15:59.987525 -  2025-04-13T06:15:59.987534 - /opt/miniconda/bin/python2025-04-13T06:15:59.987547 - 
2025-04-13T06:15:59.987557 - ** ComfyUI Path:2025-04-13T06:15:59.987572 -  2025-04-13T06:15:59.987590 - /comfyui2025-04-13T06:15:59.987607 - 
2025-04-13T06:15:59.987621 - ** ComfyUI Base Folder Path:2025-04-13T06:15:59.987634 -  2025-04-13T06:15:59.987645 - /comfyui2025-04-13T06:15:59.987655 - 
2025-04-13T06:15:59.987667 - ** User directory:2025-04-13T06:15:59.987675 -  2025-04-13T06:15:59.987683 - /comfyui/user2025-04-13T06:15:59.987691 - 
2025-04-13T06:15:59.987700 - ** ComfyUI-Manager config path:2025-04-13T06:15:59.987708 -  2025-04-13T06:15:59.987717 - /comfyui/user/default/ComfyUI-Manager/config.ini2025-04-13T06:15:59.987731 - 
2025-04-13T06:15:59.987746 - ** Log path:2025-04-13T06:15:59.987756 -  2025-04-13T06:15:59.987764 - /comfyui/user/comfyui.log2025-04-13T06:15:59.987771 - 
2025-04-13T06:16:01.004316 - 
Prestartup times for custom nodes:
2025-04-13T06:16:01.004409 -    2.5 seconds: /comfyui/custom_nodes/ComfyUI-Manager
2025-04-13T06:16:01.004443 - 
2025-04-13T06:16:02.531073 - Checkpoint files will always be loaded safely.
2025-04-13T06:16:03.038752 - Total VRAM 16368 MB, total RAM 64198 MB
2025-04-13T06:16:03.038838 - pytorch version: 2.5.1+rocm6.2
2025-04-13T06:16:03.039102 - AMD arch: gfx1030
2025-04-13T06:16:03.039186 - Set vram state to: NORMAL_VRAM
2025-04-13T06:16:03.039284 - Device: cuda:0 AMD Radeon RX 6800 : native
2025-04-13T06:16:05.047339 - Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
2025-04-13T06:16:06.376953 - Python version: 3.11.11 (main, Dec 11 2024, 16:28:39) [GCC 11.2.0]
2025-04-13T06:16:06.377023 - ComfyUI version: 0.3.27
2025-04-13T06:16:06.379045 - ComfyUI frontend version: 1.15.13
2025-04-13T06:16:06.379417 - [Prompt Server] web root: /opt/miniconda/lib/python3.11/site-packages/comfyui_frontend_package/static
2025-04-13T06:16:06.725971 - ### Loading: ComfyUI-Manager (V3.31.10)
2025-04-13T06:16:06.726267 - [ComfyUI-Manager] network_mode: public
2025-04-13T06:16:06.728685 - ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)
2025-04-13T06:16:06.733171 - 
Import times for custom nodes:
2025-04-13T06:16:06.733374 -    0.0 seconds: /comfyui/custom_nodes/websocket_image_save.py
2025-04-13T06:16:06.733506 -    0.0 seconds: /comfyui/custom_nodes/ComfyUI-Manager
2025-04-13T06:16:06.733548 - 
2025-04-13T06:16:06.738634 - Starting server

2025-04-13T06:16:06.738994 - To see the GUI go to: http://0.0.0.0:80
2025-04-13T06:16:06.822851 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-04-13T06:16:06.841933 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-04-13T06:16:06.860431 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-04-13T06:16:06.897017 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-04-13T06:16:06.917460 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-04-13T06:16:11.577059 - FETCH ComfyRegistry Data: 5/812025-04-13T06:16:11.577086 - 
2025-04-13T06:16:16.088901 - FETCH ComfyRegistry Data: 10/812025-04-13T06:16:16.088923 - 
2025-04-13T06:16:16.794229 - got prompt
2025-04-13T06:16:16.794848 - Failed to validate prompt for output 28:
2025-04-13T06:16:16.794896 - * UNETLoader 37:
2025-04-13T06:16:16.794943 -   - Value not in list: unet_name: 'wan2.1_t2v_1.3B_fp16.safetensors' not in ['Wan2.1/wan2.1_t2v_1.3B_fp16.safetensors']
2025-04-13T06:16:16.794979 - Output will be ignored
2025-04-13T06:16:16.795030 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2025-04-13T06:16:20.443560 - FETCH ComfyRegistry Data: 15/812025-04-13T06:16:20.443582 - 
2025-04-13T06:16:24.997598 - FETCH ComfyRegistry Data: 20/812025-04-13T06:16:24.997621 - 
2025-04-13T06:16:29.501468 - FETCH ComfyRegistry Data: 25/812025-04-13T06:16:29.501493 - 
2025-04-13T06:16:34.031341 - FETCH ComfyRegistry Data: 30/812025-04-13T06:16:34.031365 - 
2025-04-13T06:16:38.617419 - FETCH ComfyRegistry Data: 35/812025-04-13T06:16:38.617446 - 
2025-04-13T06:16:43.206748 - FETCH ComfyRegistry Data: 40/812025-04-13T06:16:43.206774 - 
2025-04-13T06:16:48.418330 - FETCH ComfyRegistry Data: 45/812025-04-13T06:16:48.418353 - 
2025-04-13T06:16:53.005423 - FETCH ComfyRegistry Data: 50/812025-04-13T06:16:53.005443 - 
2025-04-13T06:16:59.002211 - FETCH ComfyRegistry Data: 55/812025-04-13T06:16:59.002234 - 
2025-04-13T06:17:03.553977 - FETCH ComfyRegistry Data: 60/812025-04-13T06:17:03.554000 - 
2025-04-13T06:17:07.995186 - FETCH ComfyRegistry Data: 65/812025-04-13T06:17:07.995212 - 
2025-04-13T06:17:13.144566 - FETCH ComfyRegistry Data: 70/812025-04-13T06:17:13.144587 - 
2025-04-13T06:17:17.607643 - FETCH ComfyRegistry Data: 75/812025-04-13T06:17:17.607667 - 
2025-04-13T06:17:22.262029 - FETCH ComfyRegistry Data: 80/812025-04-13T06:17:22.262056 - 
2025-04-13T06:17:23.650531 - FETCH ComfyRegistry Data [DONE]2025-04-13T06:17:23.650553 - 
2025-04-13T06:17:23.706127 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2025-04-13T06:17:23.710201 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2025-04-13T06:17:23.710217 - 2025-04-13T06:17:23.860722 -  [DONE]2025-04-13T06:17:23.860742 - 
2025-04-13T06:17:23.882629 - [ComfyUI-Manager] All startup tasks have been completed.
2025-04-13T06:39:59.052960 - got prompt
2025-04-13T06:39:59.062171 - Using split attention in VAE
2025-04-13T06:39:59.063024 - Using split attention in VAE
2025-04-13T06:39:59.169227 - VAE load device: cuda:0, offload device: cpu, dtype: torch.float16
2025-04-13T06:39:59.187710 - Using scaled fp8: fp8 matrix mult: False, scale input: False
2025-04-13T06:39:59.579459 - CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
2025-04-13T06:40:00.661687 - Requested to load WanTEModel
2025-04-13T06:40:01.705169 - loaded completely 15092.8 6419.477203369141 True
2025-04-13T06:40:01.934327 - /comfyui/comfy/ops.py:342: UserWarning: Attempting to use hipBLASLt on an unsupported architecture! Overriding blas backend to hipblas (Triggered internally at ../aten/src/ATen/Context.cpp:296.)
  return torch.nn.functional.linear(input * self.scale_weight.to(device=weight.device, dtype=weight.dtype), weight, bias)
2025-04-13T06:40:03.247950 - model weight dtype torch.float16, manual cast: None
2025-04-13T06:40:03.248199 - model_type FLOW
2025-04-13T06:40:03.600457 - Requested to load WAN21
2025-04-13T06:40:05.955266 - loaded completely 9180.117511718749 2706.1788330078125 True
2025-04-13T06:45:24.309667 - 
100%|█████████████████| 30/30 [05:18<00:00, 11.83s/it]2025-04-13T06:45:24.309851 - 
100%|█████████████████| 30/30 [05:18<00:00, 10.61s/it]2025-04-13T06:45:24.309872 - 
2025-04-13T06:45:24.310615 - Requested to load WanVAE
2025-04-13T06:45:24.344390 - loaded completely 7475.50244140625 242.02829551696777 True
2025-04-13T06:55:09.131451 - /comfyui/comfy_extras/nodes_images.py:110: RuntimeWarning: invalid value encountered in cast
  img = Image.fromarray(np.clip(i, 0, 255).astype(np.uint8))
2025-04-13T06:55:09.406352 - Prompt executed in 910.35 seconds
2025-04-13T07:03:20.072835 - got prompt
2025-04-13T07:03:20.073372 - Failed to validate prompt for output 28:
2025-04-13T07:03:20.073430 - * UNETLoader 37:
2025-04-13T07:03:20.073469 -   - Value not in list: unet_name: 'wan2.1_t2v_1.3B_fp16.safetensors' not in ['Wan2.1/wan2.1_t2v_1.3B_fp16.safetensors']
2025-04-13T07:03:20.073511 - Output will be ignored
2025-04-13T07:03:20.073557 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}

Attached Workflow

{"id":"d1845caf-339f-4b29-8197-eb861a34c51b","revision":0,"last_node_id":48,"last_link_id":95,"nodes":[{"id":8,"type":"VAEDecode","pos":[1210,190],"size":[210,46],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":35},{"localized_name":"vae","name":"vae","type":"VAE","link":76}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[56,93]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":39,"type":"VAELoader","pos":[866.3932495117188,499.18597412109375],"size":[306.36004638671875,58],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","slot_index":0,"links":[76]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"VAELoader","models":[{"name":"wan_2.1_vae.safetensors","url":"https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors?download=true","directory":"vae"}]},"widgets_values":["wan_2.1_vae.safetensors"]},{"id":7,"type":"CLIPTextEncode","pos":[413,389],"size":[425.27801513671875,180.6060791015625],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":75}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","slot_index":0,"links":[52]}],"title":"CLIP Text Encode (Negative Prompt)","properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"CLIPTextEncode"},"widgets_values":["色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"],"color":"#322","bgcolor":"#533"},{"id":38,"type":"CLIPLoader","pos":[12.94982624053955,184.6981658935547],"size":[390,106],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","slot_index":0,"links":[74,75]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"CLIPLoader","models":[{"name":"umt5_xxl_fp8_e4m3fn_scaled.safetensors","url":"https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true","directory":"text_encoders"}]},"widgets_values":["umt5_xxl_fp8_e4m3fn_scaled.safetensors","wan","default"]},{"id":40,"type":"EmptyHunyuanLatentVideo","pos":[520,620],"size":[315,130],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","slot_index":0,"links":[91]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"EmptyHunyuanLatentVideo"},"widgets_values":[832,480,33,1]},{"id":47,"type":"SaveWEBM","pos":[2367.213134765625,193.6114959716797],"size":[315,130],"flags":{},"order":10,"mode":4,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":93}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"SaveWEBM"},"widgets_values":["ComfyUI","vp9",24,32]},{"id":3,"type":"KSampler","pos":[863,187],"size":[315,262],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":95},{"localized_name":"positive","name":"positive","type":"CONDITIONING","link":46},{"localized_name":"negative","name":"negative","type":"CONDITIONING","link":52},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":91}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","slot_index":0,"links":[35]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"KSampler"},"widgets_values":[214006664227558,"randomize",30,6,"uni_pc","simple",1]},{"id":48,"type":"ModelSamplingSD3","pos":[440,50],"size":[210,58],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":94}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","slot_index":0,"links":[95]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"ModelSamplingSD3"},"widgets_values":[8]},{"id":37,"type":"UNETLoader","pos":[20,40],"size":[346.7470703125,82],"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","slot_index":0,"links":[94]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"UNETLoader","models":[{"name":"wan2.1_t2v_1.3B_fp16.safetensors","url":"https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_1.3B_fp16.safetensors?download=true","directory":"diffusion_models"}]},"widgets_values":["wan2.1_t2v_1.3B_fp16.safetensors","default"]},{"id":6,"type":"CLIPTextEncode","pos":[415,186],"size":[422.84503173828125,164.31304931640625],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":74}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","slot_index":0,"links":[46]}],"title":"CLIP Text Encode (Positive Prompt)","properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"CLIPTextEncode"},"widgets_values":["a fox moving quickly in a beautiful winter scenery nature trees mountains daytime tracking camera"],"color":"#232","bgcolor":"#353"},{"id":28,"type":"SaveAnimatedWEBP","pos":[1460,190],"size":[870.8511352539062,643.7430419921875],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":56}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.27"},"widgets_values":["ComfyUI",16,false,90,"default",""]}],"links":[[35,3,0,8,0,"LATENT"],[46,6,0,3,1,"CONDITIONING"],[52,7,0,3,2,"CONDITIONING"],[56,8,0,28,0,"IMAGE"],[74,38,0,6,0,"CLIP"],[75,38,0,7,0,"CLIP"],[76,39,0,8,1,"VAE"],[91,40,0,3,3,"LATENT"],[93,8,0,47,0,"IMAGE"],[94,37,0,48,0,"MODEL"],[95,48,0,3,0,"MODEL"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.1167815779425223,"offset":[-1311.654756042707,-143.23727596089873]},"VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true},"version":0.4}

Technical Details

The issue occurs because:

  1. ComfyUI-Manager correctly downloads the model to the proper directory:
    ~/comfyui-rocm-docker/data/comfyui/models/diffusion_models/Wan2.1/wan2.1_t2v_1.3B_fp16.safetensors

  2. However, the validator expects the model to be referenced with a different path format:
    ~/comfyui-rocm-docker/data/comfyui/models/diffusion_models/wan2.1_t2v_1.3B_fp16.safetensors

This is a format inconsistency rather than a directory structure issue. The model file exists in the correct location, but the validator is expecting the model to be referenced with a different path format that includes the subfolder name within the path string.

Additional Information

The critical difference is in how the path is represented in the validation process:

  • Actual file location: .../models/diffusion_models/Wan2.1/wan2.1_t2v_1.3B_fp16.safetensors
  • Expected path format in validator: .../models/diffusion_models/wan2.1_t2v_1.3B_fp16.safetensors

This suggests the issue is related to how path references are formatted or normalized between the installation process and the validation process in ComfyUI-Manager.

Resolution

Moving the model file to match the expected path format (removing the subfolder and placing the file directly in the diffusion_models directory) resolves the issue. This confirms that the problem is purely a path format inconsistency rather than a deeper structural issue.

Originally created by @CaullenOmdahl on GitHub (Apr 13, 2025). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1740 There's a path format inconsistency when using UNet/diffusion models downloaded through ComfyUI-Manager. Although models are correctly downloaded to the expected directory, the validator expects a different path format when referencing the same file. ## Environment - ComfyUI version: 0.3.27 - ComfyUI-Manager version: 3.31.10 - Environment: Docker container with ROCm support - GPU: AMD Radeon RX 6900 XT - Host OS: Ubuntu Linux with kernel 6.8.0-57-generic (x86_64) - Container OS: Linux kernel 6.8.0-57-generic (x86_64) in Docker container ## Steps to Reproduce 1. Install the Wan2.1 t2v 1.3B model through ComfyUI-Manager 2. Try to use the model in a workflow 3. Observe validation failure ## Error Message # ComfyUI Error Report ## Error Details - **Node ID:** N/A - **Node Type:** N/A - **Exception Type:** Prompt execution failed - **Exception Message:** Prompt outputs failed validation: UNETLoader: - Value not in list: unet_name: 'wan2.1_t2v_1.3B_fp16.safetensors' not in ['Wan2.1/wan2.1_t2v_1.3B_fp16.safetensors'] ## Stack Trace ``` Error: Prompt execution failed at ComfyApi.queuePrompt (http://localhost:8188/assets/index-DbzFlfti.js:60502:13) at async ComfyApp.queuePrompt (http://localhost:8188/assets/index-DbzFlfti.js:233788:25) ``` ## System Information - **ComfyUI Version:** 0.3.27 - **Arguments:** main.py --listen 0.0.0.0 --port 80 - **OS:** posix - **Python Version:** 3.11.11 (main, Dec 11 2024, 16:28:39) [GCC 11.2.0] - **Embedded Python:** false - **PyTorch Version:** 2.5.1+rocm6.2 ## Devices - **Name:** cuda:0 AMD Radeon RX 6800 : native - **Type:** cuda - **VRAM Total:** 17163091968 - **VRAM Free:** 17104371712 - **Torch VRAM Total:** 0 - **Torch VRAM Free:** 0 ## Logs ``` 2025-04-13T06:15:58.955425 - [START] Security scan2025-04-13T06:15:58.955433 - 2025-04-13T06:15:59.956410 - [DONE] Security scan2025-04-13T06:15:59.956421 - 2025-04-13T06:15:59.987267 - ## ComfyUI-Manager: installing dependencies done.2025-04-13T06:15:59.987296 - 2025-04-13T06:15:59.987322 - ** ComfyUI startup time:2025-04-13T06:15:59.987342 - 2025-04-13T06:15:59.987360 - 2025-04-13 06:15:59.9872025-04-13T06:15:59.987377 - 2025-04-13T06:15:59.987394 - ** Platform:2025-04-13T06:15:59.987415 - 2025-04-13T06:15:59.987432 - Linux2025-04-13T06:15:59.987447 - 2025-04-13T06:15:59.987463 - ** Python version:2025-04-13T06:15:59.987473 - 2025-04-13T06:15:59.987485 - 3.11.11 (main, Dec 11 2024, 16:28:39) [GCC 11.2.0]2025-04-13T06:15:59.987505 - 2025-04-13T06:15:59.987515 - ** Python executable:2025-04-13T06:15:59.987525 - 2025-04-13T06:15:59.987534 - /opt/miniconda/bin/python2025-04-13T06:15:59.987547 - 2025-04-13T06:15:59.987557 - ** ComfyUI Path:2025-04-13T06:15:59.987572 - 2025-04-13T06:15:59.987590 - /comfyui2025-04-13T06:15:59.987607 - 2025-04-13T06:15:59.987621 - ** ComfyUI Base Folder Path:2025-04-13T06:15:59.987634 - 2025-04-13T06:15:59.987645 - /comfyui2025-04-13T06:15:59.987655 - 2025-04-13T06:15:59.987667 - ** User directory:2025-04-13T06:15:59.987675 - 2025-04-13T06:15:59.987683 - /comfyui/user2025-04-13T06:15:59.987691 - 2025-04-13T06:15:59.987700 - ** ComfyUI-Manager config path:2025-04-13T06:15:59.987708 - 2025-04-13T06:15:59.987717 - /comfyui/user/default/ComfyUI-Manager/config.ini2025-04-13T06:15:59.987731 - 2025-04-13T06:15:59.987746 - ** Log path:2025-04-13T06:15:59.987756 - 2025-04-13T06:15:59.987764 - /comfyui/user/comfyui.log2025-04-13T06:15:59.987771 - 2025-04-13T06:16:01.004316 - Prestartup times for custom nodes: 2025-04-13T06:16:01.004409 - 2.5 seconds: /comfyui/custom_nodes/ComfyUI-Manager 2025-04-13T06:16:01.004443 - 2025-04-13T06:16:02.531073 - Checkpoint files will always be loaded safely. 2025-04-13T06:16:03.038752 - Total VRAM 16368 MB, total RAM 64198 MB 2025-04-13T06:16:03.038838 - pytorch version: 2.5.1+rocm6.2 2025-04-13T06:16:03.039102 - AMD arch: gfx1030 2025-04-13T06:16:03.039186 - Set vram state to: NORMAL_VRAM 2025-04-13T06:16:03.039284 - Device: cuda:0 AMD Radeon RX 6800 : native 2025-04-13T06:16:05.047339 - Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention 2025-04-13T06:16:06.376953 - Python version: 3.11.11 (main, Dec 11 2024, 16:28:39) [GCC 11.2.0] 2025-04-13T06:16:06.377023 - ComfyUI version: 0.3.27 2025-04-13T06:16:06.379045 - ComfyUI frontend version: 1.15.13 2025-04-13T06:16:06.379417 - [Prompt Server] web root: /opt/miniconda/lib/python3.11/site-packages/comfyui_frontend_package/static 2025-04-13T06:16:06.725971 - ### Loading: ComfyUI-Manager (V3.31.10) 2025-04-13T06:16:06.726267 - [ComfyUI-Manager] network_mode: public 2025-04-13T06:16:06.728685 - ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository) 2025-04-13T06:16:06.733171 - Import times for custom nodes: 2025-04-13T06:16:06.733374 - 0.0 seconds: /comfyui/custom_nodes/websocket_image_save.py 2025-04-13T06:16:06.733506 - 0.0 seconds: /comfyui/custom_nodes/ComfyUI-Manager 2025-04-13T06:16:06.733548 - 2025-04-13T06:16:06.738634 - Starting server 2025-04-13T06:16:06.738994 - To see the GUI go to: http://0.0.0.0:80 2025-04-13T06:16:06.822851 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json 2025-04-13T06:16:06.841933 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json 2025-04-13T06:16:06.860431 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json 2025-04-13T06:16:06.897017 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json 2025-04-13T06:16:06.917460 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json 2025-04-13T06:16:11.577059 - FETCH ComfyRegistry Data: 5/812025-04-13T06:16:11.577086 - 2025-04-13T06:16:16.088901 - FETCH ComfyRegistry Data: 10/812025-04-13T06:16:16.088923 - 2025-04-13T06:16:16.794229 - got prompt 2025-04-13T06:16:16.794848 - Failed to validate prompt for output 28: 2025-04-13T06:16:16.794896 - * UNETLoader 37: 2025-04-13T06:16:16.794943 - - Value not in list: unet_name: 'wan2.1_t2v_1.3B_fp16.safetensors' not in ['Wan2.1/wan2.1_t2v_1.3B_fp16.safetensors'] 2025-04-13T06:16:16.794979 - Output will be ignored 2025-04-13T06:16:16.795030 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}} 2025-04-13T06:16:20.443560 - FETCH ComfyRegistry Data: 15/812025-04-13T06:16:20.443582 - 2025-04-13T06:16:24.997598 - FETCH ComfyRegistry Data: 20/812025-04-13T06:16:24.997621 - 2025-04-13T06:16:29.501468 - FETCH ComfyRegistry Data: 25/812025-04-13T06:16:29.501493 - 2025-04-13T06:16:34.031341 - FETCH ComfyRegistry Data: 30/812025-04-13T06:16:34.031365 - 2025-04-13T06:16:38.617419 - FETCH ComfyRegistry Data: 35/812025-04-13T06:16:38.617446 - 2025-04-13T06:16:43.206748 - FETCH ComfyRegistry Data: 40/812025-04-13T06:16:43.206774 - 2025-04-13T06:16:48.418330 - FETCH ComfyRegistry Data: 45/812025-04-13T06:16:48.418353 - 2025-04-13T06:16:53.005423 - FETCH ComfyRegistry Data: 50/812025-04-13T06:16:53.005443 - 2025-04-13T06:16:59.002211 - FETCH ComfyRegistry Data: 55/812025-04-13T06:16:59.002234 - 2025-04-13T06:17:03.553977 - FETCH ComfyRegistry Data: 60/812025-04-13T06:17:03.554000 - 2025-04-13T06:17:07.995186 - FETCH ComfyRegistry Data: 65/812025-04-13T06:17:07.995212 - 2025-04-13T06:17:13.144566 - FETCH ComfyRegistry Data: 70/812025-04-13T06:17:13.144587 - 2025-04-13T06:17:17.607643 - FETCH ComfyRegistry Data: 75/812025-04-13T06:17:17.607667 - 2025-04-13T06:17:22.262029 - FETCH ComfyRegistry Data: 80/812025-04-13T06:17:22.262056 - 2025-04-13T06:17:23.650531 - FETCH ComfyRegistry Data [DONE]2025-04-13T06:17:23.650553 - 2025-04-13T06:17:23.706127 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes 2025-04-13T06:17:23.710201 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2025-04-13T06:17:23.710217 - 2025-04-13T06:17:23.860722 - [DONE]2025-04-13T06:17:23.860742 - 2025-04-13T06:17:23.882629 - [ComfyUI-Manager] All startup tasks have been completed. 2025-04-13T06:39:59.052960 - got prompt 2025-04-13T06:39:59.062171 - Using split attention in VAE 2025-04-13T06:39:59.063024 - Using split attention in VAE 2025-04-13T06:39:59.169227 - VAE load device: cuda:0, offload device: cpu, dtype: torch.float16 2025-04-13T06:39:59.187710 - Using scaled fp8: fp8 matrix mult: False, scale input: False 2025-04-13T06:39:59.579459 - CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16 2025-04-13T06:40:00.661687 - Requested to load WanTEModel 2025-04-13T06:40:01.705169 - loaded completely 15092.8 6419.477203369141 True 2025-04-13T06:40:01.934327 - /comfyui/comfy/ops.py:342: UserWarning: Attempting to use hipBLASLt on an unsupported architecture! Overriding blas backend to hipblas (Triggered internally at ../aten/src/ATen/Context.cpp:296.) return torch.nn.functional.linear(input * self.scale_weight.to(device=weight.device, dtype=weight.dtype), weight, bias) 2025-04-13T06:40:03.247950 - model weight dtype torch.float16, manual cast: None 2025-04-13T06:40:03.248199 - model_type FLOW 2025-04-13T06:40:03.600457 - Requested to load WAN21 2025-04-13T06:40:05.955266 - loaded completely 9180.117511718749 2706.1788330078125 True 2025-04-13T06:45:24.309667 - 100%|█████████████████| 30/30 [05:18<00:00, 11.83s/it]2025-04-13T06:45:24.309851 - 100%|█████████████████| 30/30 [05:18<00:00, 10.61s/it]2025-04-13T06:45:24.309872 - 2025-04-13T06:45:24.310615 - Requested to load WanVAE 2025-04-13T06:45:24.344390 - loaded completely 7475.50244140625 242.02829551696777 True 2025-04-13T06:55:09.131451 - /comfyui/comfy_extras/nodes_images.py:110: RuntimeWarning: invalid value encountered in cast img = Image.fromarray(np.clip(i, 0, 255).astype(np.uint8)) 2025-04-13T06:55:09.406352 - Prompt executed in 910.35 seconds 2025-04-13T07:03:20.072835 - got prompt 2025-04-13T07:03:20.073372 - Failed to validate prompt for output 28: 2025-04-13T07:03:20.073430 - * UNETLoader 37: 2025-04-13T07:03:20.073469 - - Value not in list: unet_name: 'wan2.1_t2v_1.3B_fp16.safetensors' not in ['Wan2.1/wan2.1_t2v_1.3B_fp16.safetensors'] 2025-04-13T07:03:20.073511 - Output will be ignored 2025-04-13T07:03:20.073557 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}} ``` ## Attached Workflow ``` {"id":"d1845caf-339f-4b29-8197-eb861a34c51b","revision":0,"last_node_id":48,"last_link_id":95,"nodes":[{"id":8,"type":"VAEDecode","pos":[1210,190],"size":[210,46],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":35},{"localized_name":"vae","name":"vae","type":"VAE","link":76}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[56,93]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":39,"type":"VAELoader","pos":[866.3932495117188,499.18597412109375],"size":[306.36004638671875,58],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","slot_index":0,"links":[76]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"VAELoader","models":[{"name":"wan_2.1_vae.safetensors","url":"https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors?download=true","directory":"vae"}]},"widgets_values":["wan_2.1_vae.safetensors"]},{"id":7,"type":"CLIPTextEncode","pos":[413,389],"size":[425.27801513671875,180.6060791015625],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":75}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","slot_index":0,"links":[52]}],"title":"CLIP Text Encode (Negative Prompt)","properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"CLIPTextEncode"},"widgets_values":["色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"],"color":"#322","bgcolor":"#533"},{"id":38,"type":"CLIPLoader","pos":[12.94982624053955,184.6981658935547],"size":[390,106],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","slot_index":0,"links":[74,75]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"CLIPLoader","models":[{"name":"umt5_xxl_fp8_e4m3fn_scaled.safetensors","url":"https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true","directory":"text_encoders"}]},"widgets_values":["umt5_xxl_fp8_e4m3fn_scaled.safetensors","wan","default"]},{"id":40,"type":"EmptyHunyuanLatentVideo","pos":[520,620],"size":[315,130],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","slot_index":0,"links":[91]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"EmptyHunyuanLatentVideo"},"widgets_values":[832,480,33,1]},{"id":47,"type":"SaveWEBM","pos":[2367.213134765625,193.6114959716797],"size":[315,130],"flags":{},"order":10,"mode":4,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":93}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"SaveWEBM"},"widgets_values":["ComfyUI","vp9",24,32]},{"id":3,"type":"KSampler","pos":[863,187],"size":[315,262],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":95},{"localized_name":"positive","name":"positive","type":"CONDITIONING","link":46},{"localized_name":"negative","name":"negative","type":"CONDITIONING","link":52},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":91}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","slot_index":0,"links":[35]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"KSampler"},"widgets_values":[214006664227558,"randomize",30,6,"uni_pc","simple",1]},{"id":48,"type":"ModelSamplingSD3","pos":[440,50],"size":[210,58],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":94}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","slot_index":0,"links":[95]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"ModelSamplingSD3"},"widgets_values":[8]},{"id":37,"type":"UNETLoader","pos":[20,40],"size":[346.7470703125,82],"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","slot_index":0,"links":[94]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"UNETLoader","models":[{"name":"wan2.1_t2v_1.3B_fp16.safetensors","url":"https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_1.3B_fp16.safetensors?download=true","directory":"diffusion_models"}]},"widgets_values":["wan2.1_t2v_1.3B_fp16.safetensors","default"]},{"id":6,"type":"CLIPTextEncode","pos":[415,186],"size":[422.84503173828125,164.31304931640625],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":74}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","slot_index":0,"links":[46]}],"title":"CLIP Text Encode (Positive Prompt)","properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"CLIPTextEncode"},"widgets_values":["a fox moving quickly in a beautiful winter scenery nature trees mountains daytime tracking camera"],"color":"#232","bgcolor":"#353"},{"id":28,"type":"SaveAnimatedWEBP","pos":[1460,190],"size":[870.8511352539062,643.7430419921875],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":56}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.27"},"widgets_values":["ComfyUI",16,false,90,"default",""]}],"links":[[35,3,0,8,0,"LATENT"],[46,6,0,3,1,"CONDITIONING"],[52,7,0,3,2,"CONDITIONING"],[56,8,0,28,0,"IMAGE"],[74,38,0,6,0,"CLIP"],[75,38,0,7,0,"CLIP"],[76,39,0,8,1,"VAE"],[91,40,0,3,3,"LATENT"],[93,8,0,47,0,"IMAGE"],[94,37,0,48,0,"MODEL"],[95,48,0,3,0,"MODEL"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.1167815779425223,"offset":[-1311.654756042707,-143.23727596089873]},"VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true},"version":0.4} ``` ## Technical Details The issue occurs because: 1. ComfyUI-Manager correctly downloads the model to the proper directory: `~/comfyui-rocm-docker/data/comfyui/models/diffusion_models/Wan2.1/wan2.1_t2v_1.3B_fp16.safetensors` 2. However, the validator expects the model to be referenced with a different path format: `~/comfyui-rocm-docker/data/comfyui/models/diffusion_models/wan2.1_t2v_1.3B_fp16.safetensors` This is a format inconsistency rather than a directory structure issue. The model file exists in the correct location, but the validator is expecting the model to be referenced with a different path format that includes the subfolder name within the path string. ## Additional Information The critical difference is in how the path is represented in the validation process: - Actual file location: `.../models/diffusion_models/Wan2.1/wan2.1_t2v_1.3B_fp16.safetensors` - Expected path format in validator: `.../models/diffusion_models/wan2.1_t2v_1.3B_fp16.safetensors` This suggests the issue is related to how path references are formatted or normalized between the installation process and the validation process in ComfyUI-Manager. ## Resolution Moving the model file to match the expected path format (removing the subfolder and placing the file directly in the diffusion_models directory) resolves the issue. This confirms that the problem is purely a path format inconsistency rather than a deeper structural issue.
Author
Owner

@ltdrdata commented on GitHub (Apr 14, 2025):

The term “exact path” is a misnomer. While the base directory should be appropriately selected depending on the model type, the subdirectory structure is something that each user can reorganize based on their own system.

ComfyUI-Manager determines the download path according to its own logic, whereas the path used by nodes is based on each user's local structure.

If a model was downloaded via ComfyUI-Manager, you need to refresh to recognize the newly added model, and then re-select it in each node accordingly.

<!-- gh-comment-id:2800219270 --> @ltdrdata commented on GitHub (Apr 14, 2025): The term “exact path” is a misnomer. While the base directory should be appropriately selected depending on the model type, the subdirectory structure is something that each user can reorganize based on their own system. ComfyUI-Manager determines the download path according to its own logic, whereas the path used by nodes is based on each user's local structure. If a model was downloaded via ComfyUI-Manager, you need to refresh to recognize the newly added model, and then re-select it in each node accordingly.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#753
No description provided.