ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Error no file named diffusion_pytorch_model.bin found in directory

Open wayne-pq-star opened this issue 8 months ago • 2 comments

Your question

DownloadAndLoadCogVideoModel Error no file named diffusion_pytorch_model.bin found in directory C:\ComfyUI_windows_portable\ComfyUI\models\CogVideo\CogVideoX-5b.

I have a problem.... It stops nowhere and doesn't download the whole files from this page, https://huggingface.co/THUDM/CogVideoX-5b/tree/main By comparison, it lacks of some files, so I manually download the some files in transformer and text_encoder folder. After doing so, restarting comfy and still not working.... . I even watched a video saying the folder name of CogVideoX-5b should be changed to CogVideo5B So..... how am I supposed to do Thanks

Logs


Other

No response

wayne-pq-star avatar May 26 '25 06:05 wayne-pq-star

ComfyUI Error Report

Error Details

  • Node ID: 449
  • Node Type: DownloadAndLoadCogVideoModel
  • Exception Type: OSError
  • Exception Message: Error no file named diffusion_pytorch_model.bin found in directory C:\Users\force\Documents\ComfyUI\models\CogVideo\CogVideoX-Fun-V1.1-5b-Control.

Stack Trace

  File "C:\Users\force\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 361, 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:\Users\force\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 236, 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 "C:\Users\force\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 208, in _map_node_over_list
    process_inputs(input_dict, i)

  File "C:\Users\force\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 197, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui-cogvideoxwrapper\model_loading.py", line 279, in loadmodel
    transformer = CogVideoXTransformer3DModel.from_pretrained(base_path, subfolder=subfolder, attention_mode=attention_mode)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\force\Documents\ComfyUI\.venv\Lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^

  File "C:\Users\force\Documents\ComfyUI\.venv\Lib\site-packages\diffusers\models\modeling_utils.py", line 1147, in from_pretrained
    resolved_model_file = _get_model_file(
                          ^^^^^^^^^^^^^^^^

  File "C:\Users\force\Documents\ComfyUI\.venv\Lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^

  File "C:\Users\force\Documents\ComfyUI\.venv\Lib\site-packages\diffusers\utils\hub_utils.py", line 254, in _get_model_file
    raise EnvironmentError(

System Information

  • ComfyUI Version: 0.3.41
  • Arguments: C:\Users\force\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py --user-directory C:\Users\force\Documents\ComfyUI\user --input-directory C:\Users\force\Documents\ComfyUI\input --output-directory C:\Users\force\Documents\ComfyUI\output --front-end-root C:\Users\force\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app --base-directory C:\Users\force\Documents\ComfyUI --extra-model-paths-config C:\Users\force\AppData\Roaming\ComfyUI\extra_models_config.yaml --log-stdout --listen 127.0.0.1 --port 8005
  • OS: nt
  • Python Version: 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]
  • Embedded Python: false
  • PyTorch Version: 2.7.0+cu128

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 3080 Laptop GPU : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 17179344896
    • VRAM Free: 15993929728
    • Torch VRAM Total: 0
    • Torch VRAM Free: 0

Logs

2025-06-23T04:02:48.078995 - Adding extra search path custom_nodes C:\Users\force\Documents\ComfyUI\custom_nodes
2025-06-23T04:02:48.078995 - Adding extra search path download_model_base C:\Users\force\Documents\ComfyUI\models
2025-06-23T04:02:48.078995 - Adding extra search path custom_nodes C:\Users\force\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes
2025-06-23T04:02:48.078995 - Setting output directory to: C:\Users\force\Documents\ComfyUI\output
2025-06-23T04:02:48.078995 - Setting input directory to: C:\Users\force\Documents\ComfyUI\input
2025-06-23T04:02:48.078995 - Setting user directory to: C:\Users\force\Documents\ComfyUI\user
2025-06-23T04:02:48.929072 - [START] Security scan2025-06-23T04:02:48.929072 - 
2025-06-23T04:02:50.147927 - [DONE] Security scan2025-06-23T04:02:50.147927 - 
2025-06-23T04:02:50.341347 - ## ComfyUI-Manager: installing dependencies done.2025-06-23T04:02:50.341347 - 
2025-06-23T04:02:50.341347 - ** ComfyUI startup time:2025-06-23T04:02:50.341347 -  2025-06-23T04:02:50.341347 - 2025-06-23 04:02:50.3412025-06-23T04:02:50.341347 - 
2025-06-23T04:02:50.341347 - ** Platform:2025-06-23T04:02:50.341347 -  2025-06-23T04:02:50.341347 - Windows2025-06-23T04:02:50.341347 - 
2025-06-23T04:02:50.342344 - ** Python version:2025-06-23T04:02:50.342344 -  2025-06-23T04:02:50.342344 - 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]2025-06-23T04:02:50.342344 - 
2025-06-23T04:02:50.342344 - ** Python executable:2025-06-23T04:02:50.342344 -  2025-06-23T04:02:50.342344 - C:\Users\force\Documents\ComfyUI\.venv\Scripts\python.exe2025-06-23T04:02:50.342344 - 
2025-06-23T04:02:50.342344 - ** ComfyUI Path:2025-06-23T04:02:50.342344 -  2025-06-23T04:02:50.342344 - C:\Users\force\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI2025-06-23T04:02:50.342344 - 
2025-06-23T04:02:50.342344 - ** ComfyUI Base Folder Path:2025-06-23T04:02:50.342344 -  2025-06-23T04:02:50.342344 - C:\Users\force\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI2025-06-23T04:02:50.342344 - 
2025-06-23T04:02:50.342344 - ** User directory:2025-06-23T04:02:50.342344 -  2025-06-23T04:02:50.342344 - C:\Users\force\Documents\ComfyUI\user2025-06-23T04:02:50.342344 - 
2025-06-23T04:02:50.342344 - ** ComfyUI-Manager config path:2025-06-23T04:02:50.342344 -  2025-06-23T04:02:50.342344 - C:\Users\force\Documents\ComfyUI\user\default\ComfyUI-Manager\config.ini2025-06-23T04:02:50.342344 - 
2025-06-23T04:02:50.342344 - ** Log path:2025-06-23T04:02:50.342344 -  2025-06-23T04:02:50.342344 - C:\Users\force\Documents\ComfyUI\user\comfyui.log2025-06-23T04:02:50.343341 - 
2025-06-23T04:02:51.974840 - [ComfyUI-Manager] Failed to restore comfyui-frontend-package
2025-06-23T04:02:51.975345 - expected str, bytes or os.PathLike object, not NoneType
2025-06-23T04:02:51.975345 - 
Prestartup times for custom nodes:
2025-06-23T04:02:51.975345 -    3.9 seconds: C:\Users\force\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
2025-06-23T04:02:51.975345 - 
2025-06-23T04:02:55.845350 - Checkpoint files will always be loaded safely.
2025-06-23T04:02:56.002928 - Total VRAM 16384 MB, total RAM 32630 MB
2025-06-23T04:02:56.002928 - pytorch version: 2.7.0+cu128
2025-06-23T04:02:56.003925 - Set vram state to: NORMAL_VRAM
2025-06-23T04:02:56.003925 - Device: cuda:0 NVIDIA GeForce RTX 3080 Laptop GPU : cudaMallocAsync
2025-06-23T04:02:58.428416 - Using pytorch attention
2025-06-23T04:03:01.005403 - Python version: 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]
2025-06-23T04:03:01.005403 - ComfyUI version: 0.3.41
2025-06-23T04:03:02.219316 - [Prompt Server] web root: C:\Users\force\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app
2025-06-23T04:03:05.089556 - 
Depthcrafter Nodes Loaded
2025-06-23T04:03:05.089556 - 
2025-06-23T04:03:05.133161 - ### Loading: ComfyUI-Impact-Pack (V8.17.1)2025-06-23T04:03:05.133161 - 
2025-06-23T04:03:05.205280 - [Impact Pack] Wildcards loading done.2025-06-23T04:03:05.205280 - 
2025-06-23T04:03:05.860604 - here: C:\Users\force\Documents\ComfyUI\custom_nodes\ComfyUI-tbox2025-06-23T04:03:05.860604 - 
2025-06-23T04:03:05.862612 - Using ckpts path: C:\Users\force\Documents\ComfyUI\custom_nodes\ComfyUI-tbox\..\..\models\annotator2025-06-23T04:03:05.862612 - 
2025-06-23T04:03:05.862612 - Using symlinks: False2025-06-23T04:03:05.862612 - 
2025-06-23T04:03:05.862612 - Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider']2025-06-23T04:03:05.862612 - 
2025-06-23T04:03:06.284083 - C:\Users\force\Documents\ComfyUI\custom_nodes\ComfyUI-tbox\nodes\preprocessor\dwpose_node.py:28: UserWarning: DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly
  warnings.warn("DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly")
2025-06-23T04:03:06.419008 - [36;20m[C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ckpts path: C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts[0m
2025-06-23T04:03:06.419008 - [36;20m[C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using symlinks: False[0m
2025-06-23T04:03:06.420006 - [36;20m[C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'][0m
2025-06-23T04:03:06.718371 - 
2025-06-23T04:03:06.718371 - [92m[rgthree-comfy] Loaded 47 extraordinary nodes. 🎉[0m2025-06-23T04:03:06.718371 - 
2025-06-23T04:03:06.718371 - 
2025-06-23T04:03:06.737320 - ### Loading: ComfyUI-Manager (V3.30.4)
2025-06-23T04:03:06.738317 - [ComfyUI-Manager] network_mode: public
2025-06-23T04:03:06.739325 - ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)
2025-06-23T04:03:06.769246 - 
Import times for custom nodes:
2025-06-23T04:03:06.769246 -    0.0 seconds: C:\Users\force\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py
2025-06-23T04:03:06.769246 -    0.0 seconds: C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui-get-meta
2025-06-23T04:03:06.770232 -    0.0 seconds: C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui-depthcrafter-nodes
2025-06-23T04:03:06.770232 -    0.0 seconds: C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui_essentials
2025-06-23T04:03:06.770232 -    0.0 seconds: C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui-image-saver
2025-06-23T04:03:06.770232 -    0.0 seconds: C:\Users\force\Documents\ComfyUI\custom_nodes\comfy-image-saver
2025-06-23T04:03:06.770232 -    0.0 seconds: C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui-kjnodes
2025-06-23T04:03:06.770232 -    0.0 seconds: C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui-frame-interpolation
2025-06-23T04:03:06.770232 -    0.0 seconds: C:\Users\force\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
2025-06-23T04:03:06.770232 -    0.1 seconds: C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui-videohelpersuite
2025-06-23T04:03:06.771253 -    0.1 seconds: C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux
2025-06-23T04:03:06.771253 -    0.1 seconds: C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui-impact-pack
2025-06-23T04:03:06.771253 -    0.2 seconds: C:\Users\force\Documents\ComfyUI\custom_nodes\rgthree-comfy
2025-06-23T04:03:06.771253 -    0.2 seconds: C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui-logicutils
2025-06-23T04:03:06.771253 -    0.4 seconds: C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui-liveportraitkj
2025-06-23T04:03:06.771253 -    0.5 seconds: C:\Users\force\Documents\ComfyUI\custom_nodes\ComfyUI-tbox
2025-06-23T04:03:06.771253 -    1.5 seconds: C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui-cogvideoxwrapper
2025-06-23T04:03:06.771253 - 
2025-06-23T04:03:07.007319 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-06-23T04:03:07.067160 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-06-23T04:03:07.110333 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-06-23T04:03:07.264919 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-06-23T04:03:07.301821 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-06-23T04:03:07.511050 - Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file
(Background on this error at: https://sqlalche.me/e/20/e3q8)
2025-06-23T04:03:07.543873 - Starting server

2025-06-23T04:03:07.543873 - To see the GUI go to: http://127.0.0.1:8005
2025-06-23T04:03:11.852943 - FETCH ComfyRegistry Data: 5/892025-06-23T04:03:11.852943 - 
2025-06-23T04:03:13.482298 - Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
  File "C:\Users\force\AppData\Roaming\uv\python\cpython-3.12.9-windows-x86_64-none\Lib\asyncio\events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "C:\Users\force\AppData\Roaming\uv\python\cpython-3.12.9-windows-x86_64-none\Lib\asyncio\proactor_events.py", line 165, in _call_connection_lost
    self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
2025-06-23T04:03:13.484303 - Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
  File "C:\Users\force\AppData\Roaming\uv\python\cpython-3.12.9-windows-x86_64-none\Lib\asyncio\events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "C:\Users\force\AppData\Roaming\uv\python\cpython-3.12.9-windows-x86_64-none\Lib\asyncio\proactor_events.py", line 165, in _call_connection_lost
    self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
2025-06-23T04:03:17.167329 - FETCH ComfyRegistry Data: 10/892025-06-23T04:03:17.167329 - 
2025-06-23T04:03:21.424856 - got prompt
2025-06-23T04:03:21.453777 - Failed to validate prompt for output 319:
2025-06-23T04:03:21.453777 - Output will be ignored
2025-06-23T04:03:21.453777 - Failed to validate prompt for output 103:
2025-06-23T04:03:21.454774 - Output will be ignored
2025-06-23T04:03:21.523612 - SELECTED: input32025-06-23T04:03:21.523612 - 
2025-06-23T04:03:22.615497 - FETCH ComfyRegistry Data: 15/892025-06-23T04:03:22.615497 - 
2025-06-23T04:03:29.854955 - FETCH ComfyRegistry Data: 20/892025-06-23T04:03:29.854955 - 
2025-06-23T04:03:35.433769 - FETCH ComfyRegistry Data: 25/892025-06-23T04:03:35.433769 - 
2025-06-23T04:03:36.002763 - [{'path': 'C:\\Users\\force\\Documents\\ComfyUI\\models\\CogVideo\\loras\\CogVideoX-Fun-V1.1-5b-InP-MPS.safetensors', 'strength': 0.8001000000000001, 'name': 'CogVideoX-Fun-V1', 'fuse_lora': False}]2025-06-23T04:03:36.002763 - 
2025-06-23T04:03:36.006754 - An error occurred while trying to fetch C:\Users\force\Documents\ComfyUI\models\CogVideo\CogVideoX-Fun-V1.1-5b-Control: Error no file named diffusion_pytorch_model.safetensors found in directory C:\Users\force\Documents\ComfyUI\models\CogVideo\CogVideoX-Fun-V1.1-5b-Control.
2025-06-23T04:03:36.006754 - Defaulting to unsafe serialization. Pass `allow_pickle=False` to raise an error instead.
2025-06-23T04:03:36.007752 - !!! Exception during processing !!! Error no file named diffusion_pytorch_model.bin found in directory C:\Users\force\Documents\ComfyUI\models\CogVideo\CogVideoX-Fun-V1.1-5b-Control.
2025-06-23T04:03:36.059614 - Traceback (most recent call last):
  File "C:\Users\force\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 361, 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:\Users\force\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 236, 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 "C:\Users\force\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 208, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\Users\force\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 197, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\force\Documents\ComfyUI\custom_nodes\comfyui-cogvideoxwrapper\model_loading.py", line 279, in loadmodel
    transformer = CogVideoXTransformer3DModel.from_pretrained(base_path, subfolder=subfolder, attention_mode=attention_mode)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\force\Documents\ComfyUI\.venv\Lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\force\Documents\ComfyUI\.venv\Lib\site-packages\diffusers\models\modeling_utils.py", line 1147, in from_pretrained
    resolved_model_file = _get_model_file(
                          ^^^^^^^^^^^^^^^^
  File "C:\Users\force\Documents\ComfyUI\.venv\Lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\force\Documents\ComfyUI\.venv\Lib\site-packages\diffusers\utils\hub_utils.py", line 254, in _get_model_file
    raise EnvironmentError(
OSError: Error no file named diffusion_pytorch_model.bin found in directory C:\Users\force\Documents\ComfyUI\models\CogVideo\CogVideoX-Fun-V1.1-5b-Control.

2025-06-23T04:03:36.067598 - Prompt executed in 14.61 seconds
2025-06-23T04:03:36.448572 - Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
  File "C:\Users\force\AppData\Roaming\uv\python\cpython-3.12.9-windows-x86_64-none\Lib\asyncio\events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "C:\Users\force\AppData\Roaming\uv\python\cpython-3.12.9-windows-x86_64-none\Lib\asyncio\proactor_events.py", line 165, in _call_connection_lost
    self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
2025-06-23T04:03:36.452561 - Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
  File "C:\Users\force\AppData\Roaming\uv\python\cpython-3.12.9-windows-x86_64-none\Lib\asyncio\events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "C:\Users\force\AppData\Roaming\uv\python\cpython-3.12.9-windows-x86_64-none\Lib\asyncio\proactor_events.py", line 165, in _call_connection_lost
    self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

Attached Workflow

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

Workflow too large. Please manually upload the workflow from local file system.

Additional Context

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

forcestatus avatar Jun 22 '25 18:06 forcestatus

Error no file named diffusion_pytorch_model.bin found in directory C:\Users\force\Documents\ComfyUI\models\CogVideo\CogVideoX-Fun-V1.1-5b-Control

Download the model, the filename will be diffusion_pytorch_model.bin and put it in folder C:\Users\force\Documents\ComfyUI\models\CogVideo\CogVideoX-Fun-V1.1-5b-Control. If that folder doesn't exist, make it.

christian-byrne avatar Jun 22 '25 22:06 christian-byrne

This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.

github-actions[bot] avatar Jul 23 '25 11:07 github-actions[bot]