-
Notifications
You must be signed in to change notification settings - Fork 29
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
RuntimeError: Failed to load shared library 'D:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\llama_cpp\llama.dll #82
Comments
Looks like I have the same issue and I just spent a night trying to get this to work. On the upside, deleting it didn't seem to tank my Comfy install. Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): Cannot import C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_VLM_nodes module for custom nodes: Failed to load shared library 'C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\llama_cpp\llama.dll': [WinError 1114] A dynamic link library (DLL) initialization routine failed |
I have exactly the same issue since updating my Comfyui and updating PyTorch, cannot say when exactly it started. Still think it might be related to my update. Am on ComfyUI Revision: 2276 [1e2839f4] | Released on '2024-06-20'** Python version: 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] |
Successfully installed tokenizers-0.19.1 transformers-4.40.1
llama-cpp installed
All packages from requirements.txt are installed and up to date.
AutoGPTQ installed
Traceback (most recent call last):
File "D:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\llama_cpp\llama_cpp.py", line 74, in _load_shared_library
return ctypes.CDLL(str(lib_path), **cdll_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "ctypes_init.py", line 376, in init
OSError: [WinError 1114] Произошел сбой в программе инициализации библиотеки динамической компоновки (DLL)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\AI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1864, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_VLM_nodes_init.py", line 70, in
imported_module = importlib.import_module(f".nodes.{module_name}", name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init_.py", line 126, in import_module
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_VLM_nodes\nodes\llavaloader.py", line 4, in from llama_cpp import Llama
File "D:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\llama_cpp_init.py", line 1, in
from .llama_cpp import *
File "D:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\llama_cpp\llama_cpp.py", line 87, in
_lib = _load_shared_library(_lib_base_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\llama_cpp\llama_cpp.py", line 76, in _load_shared_library
raise RuntimeError(f"Failed to load shared library '{_lib_path}': {e}")
RuntimeError: Failed to load shared library 'D:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\llama_cpp\llama.dll': [WinError 1114] Произошел сбой в программе инициализации библиотеки динамической компоновки (DLL)
Cannot import D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_VLM_nodes module for custom nodes: Failed to load shared library 'D:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\llama_cpp\llama.dll': [WinError 1114] Произошел сбой в программе инициализации библиотеки динамической компоновки (DLL)
D:\AI\ComfyUI_windows_portable>pause
Hello) How can i fix that?
The text was updated successfully, but these errors were encountered: