comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
50.68k stars 5.32k forks source link

After clicking "update_comfyui_and_python_dependencies" and updating, running ComfyUI resulted in an error #4093

Open Simwake opened 1 month ago

Simwake commented 1 month ago

Expected Behavior

update_comfyui_and_python_dependencies

Actual Behavior

Prestartup times for custom nodes: 1.2 seconds: E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager

Traceback (most recent call last): File "E:\ComfyUI_windows_portable\ComfyUI\main.py", line 77, in import comfy.utils File "E:\ComfyUI_windows_portable\ComfyUI\comfy\utils.py", line 1, in import torch File "E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch__init__.py", line 148, in raise err OSError: [WinError 126] 找不到指定的模块。 Error loading "E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.

Steps to Reproduce

update_comfyui_and_python_dependencies

Debug Logs

Prestartup times for custom nodes:
   1.2 seconds: E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager

Traceback (most recent call last):
  File "E:\ComfyUI_windows_portable\ComfyUI\main.py", line 77, in <module>
    import comfy.utils
  File "E:\ComfyUI_windows_portable\ComfyUI\comfy\utils.py", line 1, in <module>
    import torch
  File "E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\__init__.py", line 148, in <module>
    raise err
OSError: [WinError 126] 找不到指定的模块。 Error loading "E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.

Other

No response

norflin321 commented 1 month ago

same

miurgh commented 1 month ago

same

I am using Stability Matrix. The updated ComfyUI package master@10b43ce does not work with an error. I added a new ComfyUI package master@10b43ce, same error.I added a new ComfyUI package master@0a4c49c, same error. However, after installing ANOTHER Stability Matrix and adding ComfyUI package master@10b43ce, no error.

densladkov13 commented 1 month ago

same(

ltdrdata commented 1 month ago

See this: https://github.com/comfyanonymous/ComfyUI/issues/3687

Espral commented 1 month ago

same

yoland68 commented 1 month ago
Screenshot 2024-07-24 at 9 35 43 AM

This is failing on torch nightly. I will take a closer look at the issue today.

comfyanonymous commented 1 month ago

https://github.com/comfyanonymous/ComfyUI/commit/19944ad252106e46a40e0b952c86c1cebc8486ab

Not sure if it's the best fix but it works.

comfyanonymous commented 1 month ago

If you have this issue, run the updater another time and it should be fixed.

babacar1979 commented 1 month ago

It still doesn't work, even with the fix

babacar1979 commented 1 month ago

It still doesn't work, even with the fix

It's OK now, but i don't know why 😂