abetlen / abetlen/llama-cpp-python

OSError: exception: access violation reading 0x0000000000000000

Aperta
#1,903 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
10.6k
Fork
1.4k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

OS: Windows 10 x64
Python 3.11 x64
pandas 2.2.3
llama-cpp-python 0.3.6

```python
import pandas as pd

from llama_cpp import Llama

Llama(model_path='models/user-bge-m3-q4_k_m.gguf')
```

OSError: exception: access violation reading 0x0000000000000000

![Image](https://github.com/user-attachments/assets/ee466188-574b-4253-925b-833abea8b732)

Solution: Load pandas after llama_cpp:
```python
from llama_cpp import Llama
import pandas as pd

Llama(model_path='models/user-bge-m3-q4_k_m.gguf')
```

![Image](https://github.com/user-attachments/assets/cad42566-13a8-4e01-b3d9-4c9e22376dba)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.