Help solving the StyleModelLoader issue

#11
by urbnaidpc - opened

Hi,

I encounter the issue below, can anyone help?

StyleModelLoader
invalid style model /home/ubuntu/ComfyUI/models/style_models/flux1-redux-dev.safetensors

Here is the full log:

ComfyUI Error Report

Error Details

  • Node Type: StyleModelLoader
  • Exception Type: Exception
  • Exception Message: invalid style model /home/ubuntu/ComfyUI/models/style_models/flux1-redux-dev.safetensors

Stack Trace

  File "/home/ubuntu/ComfyUI/execution.py", line 317, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/ubuntu/ComfyUI/execution.py", line 192, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/ubuntu/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "/home/ubuntu/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/ubuntu/ComfyUI/nodes.py", line 969, in load_style_model
    style_model = comfy.sd.load_style_model(style_model_path)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/ubuntu/ComfyUI/comfy/sd.py", line 391, in load_style_model
    raise Exception("invalid style model {}".format(ckpt_path))

System Information

  • ComfyUI Version: v0.2.1
  • Arguments: main.py --listen --disable-xformers --port 7860 --output-directory /home/ubuntu/user_data/comfyui/outputs
  • OS: posix
  • Python Version: 3.12.6 (main, Oct 25 2024, 13:38:40) [GCC 11.4.0]
  • Embedded Python: false
  • PyTorch Version: 2.4.1+cu121

Devices

  • Name: cuda:0 NVIDIA L40S : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 47576711168
    • VRAM Free: 42002441720
    • Torch VRAM Total: 5100273664
    • Torch VRAM Free: 82142712

Logs

2024-12-09 18:54:34,312 - root - INFO - Total VRAM 45373 MB, total RAM 31640 MB
2024-12-09 18:54:34,312 - root - INFO - pytorch version: 2.4.1+cu121
2024-12-09 18:54:34,313 - root - INFO - Set vram state to: NORMAL_VRAM
2024-12-09 18:54:34,313 - root - INFO - Device: cuda:0 NVIDIA L40S : cudaMallocAsync
2024-12-09 18:54:39,998 - root - INFO - Using pytorch cross attention
2024-12-09 18:54:46,571 - root - INFO - [Prompt Server] web root: /home/ubuntu/ComfyUI/web
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path checkpoints /home/ubuntu/user_data/comfyui/models/checkpoints
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path vae /home/ubuntu/user_data/comfyui/models/VAE
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path loras /home/ubuntu/user_data/comfyui/models/Lora
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path loras /home/ubuntu/user_data/comfyui/models/LyCORIS
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path upscale_models /home/ubuntu/user_data/comfyui/models/ESRGAN
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path upscale_models /home/ubuntu/user_data/comfyui/models/RealESRGAN
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path upscale_models /home/ubuntu/user_data/comfyui/models/SwinIR
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path embeddings /home/ubuntu/user_data/comfyui/models/embeddings
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path hypernetworks /home/ubuntu/user_data/comfyui/models/hypernetworks
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path controlnet /home/ubuntu/user_data/comfyui/models/ControlNet
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path ipadapter /home/ubuntu/user_data/comfyui/models/ipadapter
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path remgb /home/ubuntu/user_data/comfyui/pre_models/models/rembg
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path unet /home/ubuntu/user_data/comfyui/models/unet
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path checkpoints /home/ubuntu/user_data/comfyui/models/Stable-diffusion
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path clip /home/ubuntu/user_data/comfyui/models/clip/
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path clip_vision /home/ubuntu/user_data/comfyui/models/clip_vision/
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path configs /home/ubuntu/user_data/comfyui/configs/
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path checkpoints /home/ubuntu/pre_models/models/checkpoints
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path loras /home/ubuntu/pre_models/models/Lora
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path controlnet /home/ubuntu/pre_models/models/ControlNet
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path unet /home/ubuntu/pre_models/models/unet
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path remgb /home/ubuntu/pre_models/models/rembg
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path clip /home/ubuntu/pre_models/models/clip
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path vae /home/ubuntu/pre_models/models/VAE
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path ipadapter /home/ubuntu/pre_models/models/ipadapter
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path clip_vision /home/ubuntu/pre_models/models/clip_vision/
2024-12-09 18:54:46,574 - root - INFO - Adding extra search path custom_nodes /home/ubuntu/pre-custom_nodes
2024-12-09 18:54:52,831 - root - WARNING - Traceback (most recent call last):
  File "/home/ubuntu/ComfyUI/nodes.py", line 1993, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/home/ubuntu/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet/__init__.py", line 1, in <module>
    from .adv_control.nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "/home/ubuntu/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet/adv_control/nodes.py", line 3, in <module>
    from .nodes_main import (ControlNetLoaderAdvanced, DiffControlNetLoaderAdvanced,
  File "/home/ubuntu/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet/adv_control/nodes_main.py", line 6, in <module>
    from .control import load_controlnet, convert_to_advanced, is_advanced_controlnet, is_sd3_advanced_controlnet
  File "/home/ubuntu/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet/adv_control/control.py", line 11, in <module>
    from comfy.controlnet import ControlBase, ControlNet, ControlNetSD35, ControlLora, T2IAdapter, StrengthType
ImportError: cannot import name 'ControlNetSD35' from 'comfy.controlnet' (/home/ubuntu/ComfyUI/comfy/controlnet.py)

2024-12-09 18:54:52,831 - root - WARNING - Cannot import /home/ubuntu/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet module for custom nodes: cannot import name 'ControlNetSD35' from 'comfy.controlnet' (/home/ubuntu/ComfyUI/comfy/controlnet.py)
2024-12-09 18:55:09,680 - root - INFO - 
Import times for custom nodes:
2024-12-09 18:55:09,680 - root - INFO -    0.0 seconds: /home/ubuntu/ComfyUI/custom_nodes/websocket_image_save.py
2024-12-09 18:55:09,680 - root - INFO -    0.0 seconds: /home/ubuntu/ComfyUI/custom_nodes/ComfyUI_AdvancedRefluxControl
2024-12-09 18:55:09,680 - root - INFO -    0.0 seconds: /home/ubuntu/ComfyUI/custom_nodes/cg-use-everywhere
2024-12-09 18:55:09,680 - root - INFO -    0.0 seconds: /home/ubuntu/ComfyUI/custom_nodes/Comfyui-In-Context-Lora-Utils
2024-12-09 18:55:09,680 - root - INFO -    0.0 seconds: /home/ubuntu/ComfyUI/custom_nodes/ComfyUI_essentials
2024-12-09 18:55:09,680 - root - INFO -    0.0 seconds: /home/ubuntu/ComfyUI/custom_nodes/comfyui-inpaint-nodes
2024-12-09 18:55:09,680 - root - INFO -    0.0 seconds: /home/ubuntu/ComfyUI/custom_nodes/ComfyUI-GGUF
2024-12-09 18:55:09,680 - root - INFO -    0.0 seconds (IMPORT FAILED): /home/ubuntu/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet
2024-12-09 18:55:09,680 - root - INFO -    0.1 seconds: /home/ubuntu/pre-custom_nodes/ComfyUI-Custom-Scripts
2024-12-09 18:55:09,680 - root - INFO -    0.1 seconds: /home/ubuntu/ComfyUI/custom_nodes/ComfyUI_UltimateSDUpscale
2024-12-09 18:55:09,680 - root - INFO -    0.1 seconds: /home/ubuntu/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus
2024-12-09 18:55:09,680 - root - INFO -    0.2 seconds: /home/ubuntu/pre-custom_nodes/ComfyUI-Manager
2024-12-09 18:55:09,680 - root - INFO -    0.2 seconds: /home/ubuntu/ComfyUI/custom_nodes/rgthree-comfy
2024-12-09 18:55:09,680 - root - INFO -    1.7 seconds: /home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux
2024-12-09 18:55:09,680 - root - INFO -   16.3 seconds: /home/ubuntu/ComfyUI/custom_nodes/ComfyUI_Custom_Nodes_AlekPet
2024-12-09 18:55:09,680 - root - INFO - 
2024-12-09 18:55:09,691 - root - INFO - Setting output directory to: /home/ubuntu/user_data/comfyui/outputs
2024-12-09 18:55:09,692 - root - INFO - Starting server

2024-12-09 18:55:09,692 - root - INFO - To see the GUI go to: http://0.0.0.0:7860
2024-12-09 18:55:39,129 - root - INFO - got prompt
2024-12-09 18:55:39,911 - root - INFO - Using pytorch attention in VAE
2024-12-09 18:55:39,913 - root - INFO - Using pytorch attention in VAE
2024-12-09 18:56:21,196 - root - INFO - model weight dtype torch.bfloat16, manual cast: None
2024-12-09 18:56:21,202 - root - INFO - model_type FLUX
2024-12-09 18:57:25,903 - root - INFO - Requested to load FluxClipModel_
2024-12-09 18:57:25,903 - root - INFO - Loading 1 new model
2024-12-09 18:57:25,916 - root - INFO - loaded completely 0.0 4777.53759765625 True
2024-12-09 18:57:31,442 - root - WARNING - clip missing: ['text_projection.weight']
2024-12-09 18:57:32,625 - root - ERROR - !!! Exception during processing !!! invalid style model /home/ubuntu/ComfyUI/models/style_models/flux1-redux-dev.safetensors
2024-12-09 18:57:32,630 - root - ERROR - Traceback (most recent call last):
  File "/home/ubuntu/ComfyUI/execution.py", line 317, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/ComfyUI/execution.py", line 192, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/home/ubuntu/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/ComfyUI/nodes.py", line 969, in load_style_model
    style_model = comfy.sd.load_style_model(style_model_path)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/ComfyUI/comfy/sd.py", line 391, in load_style_model
    raise Exception("invalid style model {}".format(ckpt_path))
Exception: invalid style model /home/ubuntu/ComfyUI/models/style_models/flux1-redux-dev.safetensors

2024-12-09 18:57:32,631 - root - INFO - Prompt executed in 113.49 seconds
2024-12-09 19:01:32,347 - root - INFO - got prompt
2024-12-09 19:01:33,135 - root - INFO - Using pytorch attention in VAE
2024-12-09 19:01:33,156 - root - INFO - Using pytorch attention in VAE
2024-12-09 19:01:33,296 - root - ERROR - !!! Exception during processing !!! invalid style model /home/ubuntu/ComfyUI/models/style_models/flux1-redux-dev.safetensors
2024-12-09 19:01:33,297 - root - ERROR - Traceback (most recent call last):
  File "/home/ubuntu/ComfyUI/execution.py", line 317, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/ComfyUI/execution.py", line 192, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/home/ubuntu/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/ComfyUI/nodes.py", line 969, in load_style_model
    style_model = comfy.sd.load_style_model(style_model_path)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/ComfyUI/comfy/sd.py", line 391, in load_style_model
    raise Exception("invalid style model {}".format(ckpt_path))
Exception: invalid style model /home/ubuntu/ComfyUI/models/style_models/flux1-redux-dev.safetensors

2024-12-09 19:01:33,297 - root - INFO - Prompt executed in 0.89 seconds
2024-12-09 19:05:44,514 - root - INFO - got prompt
2024-12-09 19:05:44,557 - root - ERROR - !!! Exception during processing !!! invalid style model /home/ubuntu/ComfyUI/models/style_models/flux1-redux-dev.safetensors
2024-12-09 19:05:44,557 - root - ERROR - Traceback (most recent call last):
  File "/home/ubuntu/ComfyUI/execution.py", line 317, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/ComfyUI/execution.py", line 192, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/home/ubuntu/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/ComfyUI/nodes.py", line 969, in load_style_model
    style_model = comfy.sd.load_style_model(style_model_path)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/ComfyUI/comfy/sd.py", line 391, in load_style_model
    raise Exception("invalid style model {}".format(ckpt_path))
Exception: invalid style model /home/ubuntu/ComfyUI/models/style_models/flux1-redux-dev.safetensors

2024-12-09 19:05:44,558 - root - INFO - Prompt executed in 0.02 seconds

Attached Workflow

Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

{"last_node_id":29,"last_link_id":52,"nodes":[{"id":3,"type":"KSampler","pos":{"0":863,"1":186,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":315,"1":262},"flags":{},"order":18,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":23},{"name":"positive","type":"CONDITIONING","link":52},{"name":"negative","type":"CONDITIONING","link":6},{"name":"latent_image","type":"LATENT","link":2}],"outputs":[{"name":"LATENT","type":"LATENT","links":[7],"slot_index":0}],"properties":{"Node name for S&R":"KSampler"},"widgets_values":[147152385766635,"randomize",20,1,"euler","simple",1]},{"id":5,"type":"EmptyLatentImage","pos":{"0":856,"1":502,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":315,"1":106},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"LATENT","type":"LATENT","links":[2],"slot_index":0}],"properties":{"Node name for S&R":"EmptyLatentImage"},"widgets_values":[1384,768,2]},{"id":7,"type":"CLIPTextEncode","pos":{"0":415,"1":486,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":425.27801513671875,"1":180.6060791015625},"flags":{"collapsed":true},"order":9,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":12}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[6],"slot_index":0}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["text, watermark",[false,true]],"color":"#af3535"},{"id":8,"type":"VAEDecode","pos":{"0":1209,"1":188,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":210,"1":46},"flags":{},"order":19,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":7},{"name":"vae","type":"VAE","link":21}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[25],"slot_index":0}],"properties":{"Node name for S&R":"VAEDecode"}},{"id":15,"type":"CLIPVisionEncode","pos":{"0":267,"1":-506,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":253.60000610351562,"1":46},"flags":{},"order":10,"mode":0,"inputs":[{"name":"clip_vision","type":"CLIP_VISION","link":14},{"name":"image","type":"IMAGE","link":15}],"outputs":[{"name":"CLIP_VISION_OUTPUT","type":"CLIP_VISION_OUTPUT","links":[16],"slot_index":0}],"properties":{"Node name for S&R":"CLIPVisionEncode"}},{"id":16,"type":"StyleModelApply","pos":{"0":325,"1":-388,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":296.721923828125,"1":66},"flags":{},"order":14,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":26},{"name":"style_model","type":"STYLE_MODEL","link":17},{"name":"clip_vision_output","type":"CLIP_VISION_OUTPUT","link":16}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[44],"slot_index":0}],"properties":{"Node name for S&R":"StyleModelApply"}},{"id":18,"type":"FluxGuidance","pos":{"0":362,"1":31,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":317.4000244140625,"1":58},"flags":{},"order":13,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":19}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[26,43],"slot_index":0}],"properties":{"Node name for S&R":"FluxGuidance"},"widgets_values":[3.5]},{"id":20,"type":"ModelSamplingFlux","pos":{"0":6,"1":20,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":315,"1":130},"flags":{},"order":12,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":22}],"outputs":[{"name":"MODEL","type":"MODEL","links":[23],"slot_index":0}],"properties":{"Node name for S&R":"ModelSamplingFlux"},"widgets_values":[1.15,0.5,1024,1024]},{"id":23,"type":"StyleModelApply","pos":{"0":1387,"1":-401,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":262,"1":66},"flags":{},"order":16,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":50},{"name":"style_model","type":"STYLE_MODEL","link":30},{"name":"clip_vision_output","type":"CLIP_VISION_OUTPUT","link":33}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[51],"slot_index":0}],"properties":{"Node name for S&R":"StyleModelApply"}},{"id":24,"type":"CLIPVisionEncode","pos":{"0":1329,"1":-513,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":380.4000244140625,"1":46},"flags":{},"order":11,"mode":0,"inputs":[{"name":"clip_vision","type":"CLIP_VISION","link":32},{"name":"image","type":"IMAGE","link":31}],"outputs":[{"name":"CLIP_VISION_OUTPUT","type":"CLIP_VISION_OUTPUT","links":[33],"slot_index":0}],"properties":{"Node name for S&R":"CLIPVisionEncode"}},{"id":27,"type":"ConditioningAverage","pos":{"0":451,"1":-269,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":323.19464111328125,"1":78},"flags":{},"order":15,"mode":0,"inputs":[{"name":"conditioning_to","type":"CONDITIONING","link":44},{"name":"conditioning_from","type":"CONDITIONING","link":43}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[48,50],"slot_index":0}],"properties":{"Node name for S&R":"ConditioningAverage"},"widgets_values":[0.5]},{"id":28,"type":"ConditioningAverage","pos":{"0":1530,"1":-270,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":316.86224365234375,"1":78},"flags":{},"order":17,"mode":0,"inputs":[{"name":"conditioning_to","type":"CONDITIONING","link":51},{"name":"conditioning_from","type":"CONDITIONING","link":48}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[52],"slot_index":0}],"properties":{"Node name for S&R":"ConditioningAverage"},"widgets_values":[1]},{"id":6,"type":"CLIPTextEncode","pos":{"0":307,"1":207,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":422.84503173828125,"1":164.31304931640625},"flags":{},"order":8,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":11}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[19],"slot_index":0}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["a beautiful lady at the beach, sunset.",[false,true]],"color":"#346434"},{"id":13,"type":"LoadImage","pos":{"0":-55,"1":-513,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":288.66864013671875,"1":370.8973083496094},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[15],"slot_index":0},{"name":"MASK","type":"MASK","links":null}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["image (4).png","image"]},{"id":25,"type":"LoadImage","pos":{"0":968,"1":-540,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":307.1907653808594,"1":345.9525146484375},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[31]},{"name":"MASK","type":"MASK","links":null}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["b75c538405751eb9a3a04ae1dbf7a728.jpg","image"]},{"id":21,"type":"PreviewImage","pos":{"0":1499,"1":61,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":1408.7532958984375,"1":835.123046875},"flags":{},"order":20,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":25}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"}},{"id":11,"type":"DualCLIPLoader","pos":{"0":-345,"1":271,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":315,"1":106},"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[11,12],"slot_index":0}],"properties":{"Node name for S&R":"DualCLIPLoader"},"widgets_values":["t5xxl_fp8_e4m3fn.safetensors","clip_l.safetensors","flux"]},{"id":14,"type":"CLIPVisionLoader","pos":{"0":236,"1":-662,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":388.031494140625,"1":58},"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"CLIP_VISION","type":"CLIP_VISION","links":[14,32],"slot_index":0}],"properties":{"Node name for S&R":"CLIPVisionLoader"},"widgets_values":["sigclip_vision_patch14_384.safetensors"]},{"id":19,"type":"VAELoader","pos":{"0":-341,"1":431,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":315,"1":58},"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[21]}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["ae.safetensors"]},{"id":10,"type":"UNETLoader","pos":{"0":-345,"1":133,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":315,"1":82},"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[22],"slot_index":0}],"properties":{"Node name for S&R":"UNETLoader"},"widgets_values":["flux1-dev-fp8.safetensors","default"]},{"id":17,"type":"StyleModelLoader","pos":{"0":712,"1":-655,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0},"size":{"0":533.86181640625,"1":58},"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[{"name":"STYLE_MODEL","type":"STYLE_MODEL","links":[17,30],"slot_index":0}],"properties":{"Node name for S&R":"StyleModelLoader"},"widgets_values":["flux1-redux-dev.safetensors"]}],"links":[[2,5,0,3,3,"LATENT"],[6,7,0,3,2,"CONDITIONING"],[7,3,0,8,0,"LATENT"],[11,11,0,6,0,"CLIP"],[12,11,0,7,0,"CLIP"],[14,14,0,15,0,"CLIP_VISION"],[15,13,0,15,1,"IMAGE"],[16,15,0,16,2,"CLIP_VISION_OUTPUT"],[17,17,0,16,1,"STYLE_MODEL"],[19,6,0,18,0,"CONDITIONING"],[21,19,0,8,1,"VAE"],[22,10,0,20,0,"MODEL"],[23,20,0,3,0,"MODEL"],[25,8,0,21,0,"IMAGE"],[26,18,0,16,0,"CONDITIONING"],[30,17,0,23,1,"STYLE_MODEL"],[31,25,0,24,1,"IMAGE"],[32,14,0,24,0,"CLIP_VISION"],[33,24,0,23,2,"CLIP_VISION_OUTPUT"],[43,18,0,27,1,"CONDITIONING"],[44,16,0,27,0,"CONDITIONING"],[48,27,0,28,1,"CONDITIONING"],[50,27,0,23,0,"CONDITIONING"],[51,23,0,28,0,"CONDITIONING"],[52,28,0,3,1,"CONDITIONING"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.7513148009015777,"offset":[372.4442906116956,786.8946689419527]},"ue_links":[]},"version":0.4}

Additional Context

(Please add any additional context or steps to reproduce the error here)

I have the same issue, no solutions so far

Same here, tried updating Comfyui, python, numpy, torch... everything. Just gets stuck on this style node. Pl if anyone has found a solution, that would be extremely helpful.

Nikhi! I found the solution - to update ComfyUI to the latest version, it solved my issue, let me know if it works for you or not.

Hello, I just updated but still the same.. I have no idea what to do. Is it fp8/fp16... issue, or torch version, numpy version.
Screenshot 2024-12-16 at 9.38.50 PM.png

Screenshot 2024-12-16 at 9.39.54 PM.png

pl help.

maybe the gguf i am using is a problem.
https://civitai.com/models/652009/fluxrealistic

which gguf will be the most compatible with sigclip_vision_384 and redux safetensor?

Thanks for sharing the info! Did you have the Flux1-redux-dev downloaded to the right folder?

the same issue

Sign up or log in to comment