abetlen / abetlen/llama-cpp-python

Problem with v0.2.88

Đang mở
#1,684 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
10.6k
Fork
1.4k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

The following problem exists with **v0.2.88** but it is not there with **v0.2.87**

# Expected Behavior

```
>>> import llama_cpp
>>>
```

# Current Behavior

Please provide a detailed written description of what `llama-cpp-python` did, instead.

```
Python 3.9.15 (main, Nov 24 2022, 14:31:59)
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import llama_cpp
Traceback (most recent call last):
File "", line 1, in
File "/home/gridsan/atrisovic/.local/lib/python3.9/site-packages/llama_cpp/__init__.py", line 1, in
from .llama_cpp import *
File "/home/gridsan/atrisovic/.local/lib/python3.9/site-packages/llama_cpp/llama_cpp.py", line 1511, in
def llama_model_has_decoder(model: llama_model_p, /) -> bool:
File "/home/gridsan/atrisovic/.local/lib/python3.9/site-packages/llama_cpp/llama_cpp.py", line 126, in decorator
func = getattr(lib, name)
File "/home/gridsan/atrisovic/.conda/envs/llamacpp/lib/python3.9/ctypes/__init__.py", line 395, in __getattr__
func = self.__getitem__(name)
File "/home/gridsan/atrisovic/.conda/envs/llamacpp/lib/python3.9/ctypes/__init__.py", line 400, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /data1/groups/futuretech/atrisovic/osfm/llama.cpp/build/src/libllama.so: undefined symbol: llama_model_has_decoder
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.