From ae3e9c3d6f55591d2f8b3a0f1fb78f028a60f561 Mon Sep 17 00:00:00 2001 From: Andrei Betlen Date: Sat, 8 Apr 2023 02:45:21 -0400 Subject: [PATCH] Update shared library extension for macos --- llama_cpp/llama_cpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama_cpp/llama_cpp.py b/llama_cpp/llama_cpp.py index 41055bd..2d4646f 100644 --- a/llama_cpp/llama_cpp.py +++ b/llama_cpp/llama_cpp.py @@ -10,7 +10,7 @@ def _load_shared_library(lib_base_name): if sys.platform.startswith("linux"): lib_ext = ".so" elif sys.platform == "darwin": - lib_ext = ".dylib" + lib_ext = ".so" elif sys.platform == "win32": lib_ext = ".dll" else: