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.
2 parents 1a13d76 + e9794f9 commit 47921a3Copy full SHA for 47921a3
llama_cpp/llama_cpp.py
@@ -48,6 +48,7 @@ def _load_shared_library(lib_base_name: str):
48
# Add the library directory to the DLL search path on Windows (if needed)
49
if sys.platform == "win32" and sys.version_info >= (3, 8):
50
os.add_dll_directory(str(_base_path))
51
+ os.add_dll_directory(os.path.join(os.environ["CUDA_PATH"],"bin"))
52
cdll_args["winmode"] = 0
53
54
# Try to load the shared library, handling potential errors
0 commit comments