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 aa2f8a5 commit 8474665Copy full SHA for 8474665
llama_cpp/llama_cpp.py
@@ -24,7 +24,7 @@
24
# Load the library
25
def _load_shared_library(lib_base_name: str):
26
# Construct the paths to the possible shared library names
27
- _base_path = pathlib.Path(__file__).parent.resolve()
+ _base_path = pathlib.Path(os.path.abspath(os.path.dirname(__file__)))
28
# Searching for the library in the current directory under the name "libllama" (default name
29
# for llamacpp) and "llama" (default name for this repo)
30
_lib_paths: List[pathlib.Path] = []
0 commit comments