comfyanonymous / ComfyUI_bitsandbytes_NF4

GNU Affero General Public License v3.0
280 stars 20 forks source link

Error loading checkpoint #2

Open Maelstrom2014 opened 1 month ago

Maelstrom2014 commented 1 month ago

Hi! Error loading checkpoint, please give more instructions whats going on on this world. image

TypeError: load_checkpoint_guess_config() got an unexpected keyword argument 'model_options'

2024-08-11 18:47:27.866390 #87 [CheckpointLoaderNF4]: 0.00s Prompt executed in 0.01 seconds got prompt !!! Exception during processing!!! load_checkpoint_guess_config() got an unexpected keyword argument 'model_options' Traceback (most recent call last): File "C:\ai\comfyui\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ai\comfyui\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ai\comfyui\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ai\comfyui\ComfyUI\custom_nodes\ComfyUI_bitsandbytes_NF4__init__.py", line 176, in load_checkpoint out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings"), model_options={"custom_operations": OPS}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: load_checkpoint_guess_config() got an unexpected keyword argument 'model_options'

2024-08-11 18:49:11.784588 #87 [CheckpointLoaderNF4]: 0.00s Prompt executed in 0.01 seconds got prompt !!! Exception during processing!!! load_checkpoint_guess_config() got an unexpected keyword argument 'model_options' Traceback (most recent call last): File "C:\ai\comfyui\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ai\comfyui\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ai\comfyui\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ai\comfyui\ComfyUI\custom_nodes\ComfyUI_bitsandbytes_NF4__init__.py", line 176, in load_checkpoint out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings"), model_options={"custom_operations": OPS}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: load_checkpoint_guess_config() got an unexpected keyword argument 'model_options'

2024-08-11 18:51:25.395074 #87 [CheckpointLoaderNF4]: 0.00s

ameen-roayan commented 1 month ago

same image

TypeError: load_checkpoint_guess_config() got an unexpected keyword argument 'model_options'

Prompt executed in 0.00 seconds got prompt [rgthree] Using rgthree's optimized recursive execution. !!! Exception during processing!!! load_checkpoint_guess_config() got an unexpected keyword argument 'model_options' Traceback (most recent call last): File "F:\AI\ComfyUI\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\AI\ComfyUI\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\AI\ComfyUI\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\AI\ComfyUI\ComfyUI\custom_nodes\ComfyUI_bitsandbytes_NF4__init__.py", line 176, in load_checkpoint out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings"), model_options={"custom_operations": OPS}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: load_checkpoint_guess_config() got an unexpected keyword argument 'model_options'

Prompt executed in 0.00 seconds

comfyanonymous commented 1 month ago

Update your comfyui.

danganbenpa commented 1 month ago

Update your comfyui.

I'm having the same issue and I just updated ComfyUI

JPW0080 commented 1 month ago

Command Prompt: cd \ComfyUI git pull

If that does not work, brute force...

Command Prompt: cd C:\ git clone https://github.com/comfyanonymous/ComfyUI CopyContentsToComfyUI

Copy/Replace all files/folders in CopyContentsToComfyUI to the original ComfyUI Path

comfyanonymous commented 1 month ago

The "model_options" issue is because you need to update ComfyUI.

nokai commented 1 month ago

I'm having the issue and I updated ComfyUI

Fus3n commented 1 month ago

Updating ComfyUI and restarting then refreshing fixed it now me

Kallamamran commented 1 month ago

I have updated ComfyUI, all custom nodes and I have even updated BitsAndBytes manually to the latest version. Nothing helps to make this error go away

jjandnn commented 1 month ago

解决方法: comfyui目录,git pull。 如果输出为:Your configuration specifies to merge with the ref 'refs/heads/xxxxxxxx' from the remote, but no such ref was fetched. 则:

unset 掉分支跟踪

git branch --unset-upstream

这里就可以正常pull代码了

git checkout master git pull

最后,回到..\python_embeded\python.exe -s -m pip install -U bitsandbytes

ok

bob-dev1 commented 2 weeks ago

I have updateed Comfyui still failed to opne checkpointnf4

I have also Changed security_level = weak

ComfyUI and all extensions have been updated to the latest version. To apply the updated custom node, please ComfyUI. And refresh browser.

FAILED: ComfyUI_bitsandbytes_NF4 [EXPERIMENTAL]