abetlen / llama-cpp-python

Python bindings for llama.cpp
https://llama-cpp-python.readthedocs.io
MIT License
7.8k stars 934 forks source link

FileNotFoundError: Shared library with base name 'llama' not found #1764

Open HAOYON-666 opened 2 days ago

HAOYON-666 commented 2 days ago

Traceback (most recent call last): File "/data/zhy/models/llama_cpp_python/model_test.py", line 1, in from llama_cpp import Llama File "/data/zhy/models/llama_cpp_python/llama_cpp/init.py", line 1, in from .llama_cpp import * File "/data/zhy/models/llama_cpp_python/llama_cpp/llama_cpp.py", line 88, in _lib = _load_shared_library(_lib_base_name) File "/data/zhy/models/llama_cpp_python/llama_cpp/llama_cpp.py", line 79, in _load_shared_library raise FileNotFoundError( FileNotFoundError: Shared library with base name 'llama' not found

yanliangLi2563 commented 1 day ago

I'm also encountering the same problem on the remote host, just like the error you reported. Have you solved it?If you have solved it, could you please tell me how? Thank you very much.