We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53c6f32 commit 0b1a8d8Copy full SHA for 0b1a8d8
llama_cpp/llama_cpp.py
@@ -28,7 +28,7 @@ def _load_shared_library(lib_base_name: str):
28
# for llamacpp) and "llama" (default name for this repo)
29
_lib_paths: List[pathlib.Path] = []
30
# Determine the file extension based on the platform
31
- if sys.platform.startswith("linux"):
+ if sys.platform.startswith("linux") or sys.platform.startswith("freebsd"):
32
_lib_paths += [
33
_base_path / f"lib{lib_base_name}.so",
34
]
0 commit comments