Open maiqunshan opened 3 days ago
After updating comfyui, an error was reported.
got prompt comfy_model_dir: C:\ComfyUI_MAI\ComfyUI\models\LLM Start to load existing model on cuda:0 Free VRAM: 14.74 GB Free VRAM is less than 20GB when loading 'bf16' model. Performing VRAM cleanup. Start to load existing VLM Loading in bfloat16 Loading CLIP Error loading models: Descriptors cannot be created directly. If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0. If you cannot immediately regenerate your protos, some other possible workarounds are:
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates Error loading model: local variable 'clip_processor' referenced before assignment !!! Exception during processing !!! object of type 'NoneType' has no len() Traceback (most recent call last): File "C:\ComfyUI_MAI\ComfyUI\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 "C:\ComfyUI_MAI\ComfyUI\execution.py", line 228, in get_output_data output = merge_result_data(results, obj) File "C:\ComfyUI_MAI\ComfyUI\execution.py", line 175, in merge_result_data output_is_list = [False] * len(results[0]) TypeError: object of type 'NoneType' has no len()
Prompt executed in 0.48 seconds
got prompt comfy_model_dir: C:\ComfyUI_MAI\ComfyUI\models\LLM Start to load existing model on cuda:0 Free VRAM: 14.74 GB Start to load existing VLM Loading in NF4 Loading CLIP Error loading models: Couldn't build proto file into descriptor pool: duplicate file name sentencepiece_model.proto Error loading model: local variable 'clip_processor' referenced before assignment !!! Exception during processing !!! object of type 'NoneType' has no len() Traceback (most recent call last): File "C:\ComfyUI_MAI\ComfyUI\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 "C:\ComfyUI_MAI\ComfyUI\execution.py", line 228, in get_output_data output = merge_result_data(results, obj) File "C:\ComfyUI_MAI\ComfyUI\execution.py", line 175, in merge_result_data output_is_list = [False] * len(results[0]) TypeError: object of type 'NoneType' has no len()
Prompt executed in 0.06 seconds
ComfyUI Error Report
Error Details
Exception Message: object of type 'NoneType' has no len()
Stack Trace