nomic-ai/pygpt4all

Illegal instruction: 4

manuelrech opened this issue · 1 comments

`
from pygpt4all.models.gpt4all import GPT4All

def new_text_callback(text):
print(text, end="")

model = GPT4All('./models/ggml-gpt4all-l13b-snoozy.bin')
model.generate("Once upon a time, ", n_predict=55, new_text_callback=new_text_callback)
`

simply when running this code (with models on proper folder) I get error illegal instruction: 4. I have a M2 MacBook Air

@manuelrech

I think it is duplicate of #57.
Please take a look at this comment