Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Style Model #6063

Open
nikhilkofficial opened this issue Dec 15, 2024 · 3 comments
Open

Invalid Style Model #6063

nikhilkofficial opened this issue Dec 15, 2024 · 3 comments
Labels
Potential Bug User is reporting a bug. This should be tested.

Comments

@nikhilkofficial
Copy link

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

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

@nikhilkofficial nikhilkofficial added the Potential Bug User is reporting a bug. This should be tested. label Dec 15, 2024
@ltdrdata
Copy link
Collaborator

ltdrdata commented Dec 15, 2024

It seems that your ComfyUI is outdated very much.
Maybe you are failing to update ComfyUI.

goto /Users/nikhil/pinokio/api/ComfyUI-cpu/ in cmd.
And execute git pull

@nikhilkofficial
Copy link
Author

nikhilkofficial commented Dec 15, 2024

Thank you for the reply.

Sorry I am not too familiar with terminal usage. I am using a mac and cloned the repo specifically made for CPU. This one:
https://github.com/ArdeniusAI/ComfyUI-cpu.

Tried again.
Nikhils-MacBook-Pro-2:ComfyUI-cpu nikhil$ git pull
Already up to date.

Is there any other way to do this? some video/blog post link?

Thank you for all the help.

Screenshot 2024-12-15 at 9 18 40 PM

@ltdrdata
Copy link
Collaborator

Check this.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug User is reporting a bug. This should be tested.
Projects
None yet
Development

No branches or pull requests

2 participants