We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceec21f commit c804efeCopy full SHA for c804efe
llama_cpp/llama_cpp.py
@@ -52,7 +52,7 @@ def _load_shared_library(lib_base_name: str):
52
for _lib_path in _lib_paths:
53
if _lib_path.exists():
54
try:
55
- return ctypes.CDLL(str(_lib_path))
+ return ctypes.CDLL(str(_lib_path), winmode=0)
56
except Exception as e:
57
raise RuntimeError(f"Failed to load shared library '{_lib_path}': {e}")
58
0 commit comments