Comfy-Org / Comfy-Org/ComfyUI

Invalid Style Model

Open
#6,063 3 comments 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

### Expected Behavior

Redux Style Model To be loaded.

### Actual Behavior

Screenshot 2024-12-15 at 8 39 18 PM

### Steps to Reproduce

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

Also tried on both Python 3.11.11 & 3.12.x
Thank you.

### Debug Logs

```powershell
got prompt
Using split attention in VAE
Using split attention in VAE
Requested to load FluxClipModel_
Loading 1 new model
loaded completely 0.0 4777.53759765625 True
clip missing: ['text_projection.weight']
Requested to load CLIPVisionModelProjection
Loading 1 new model
loaded completely 0.0 581.275390625 True
!!! Exception during processing !!! invalid style model /Users/nikhil/pinokio/api/ComfyUI-cpu/models/style_models/flux1-redux-dev.safetensors
Traceback (most recent call last):
File "/Users/nikhil/pinokio/api/ComfyUI-cpu/execution.py", line 323, 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 "/Users/nikhil/pinokio/api/ComfyUI-cpu/execution.py", line 198, 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 "/Users/nikhil/pinokio/api/ComfyUI-cpu/execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "/Users/nikhil/pinokio/api/ComfyUI-cpu/execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/nikhil/pinokio/api/ComfyUI-cpu/nodes.py", line 974, in load_style_model
style_model = comfy.sd.load_style_model(style_model_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/nikhil/pinokio/api/ComfyUI-cpu/comfy/sd.py", line 391, in load_style_model
raise Exception("invalid style model {}".format(ckpt_path))
Exception: invalid style model /Users/nikhil/pinokio/api/ComfyUI-cpu/models/style_models/flux1-redux-dev.safetensors

Prompt executed in 31.21 seconds
huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
To disable this warning, you can either:
- Avoid using `tokenizers` before the fork if possible
- Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
fatal: No names found, cannot describe anything.
Failed to get ComfyUI version: Command '['git', 'describe', '--tags']' returned non-zero exit status 128.
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.