abetlen / abetlen/llama-cpp-python

Problem with v0.2.88

未关闭
#1,684 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
10.6k
派生
1.4k
PR 合并指标
PR 指标待抓取

描述

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
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。