Skip to content

Commit e5e19e8

Browse files
committed
feat: Added the scan path for CUDA 13.0+ dynamic link libraries under Windows system ($env:CUDA_PATH\bin\x64)
Signed-off-by: JamePeng <jame_peng@sina.com>
1 parent 4189786 commit e5e19e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llama_cpp/_ctypes_extensions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def load_shared_library(lib_base_name: str, base_path: pathlib.Path):
5656
cuda_path = os.environ["CUDA_PATH"]
5757
sub_dirs_to_add = [
5858
"bin",
59+
os.path.join("bin", "x64"), # CUDA 13.0+
5960
"lib",
6061
os.path.join("lib", "x64")
6162
]

0 commit comments

Comments
 (0)