nomic-ai / pygpt4all

Official supported Python bindings for llama.cpp + gpt4all
https://nomic-ai.github.io/pygpt4all/
MIT License
1.02k stars 162 forks source link

Illegal instruction: 4 #94

Closed manuelrech closed 1 year ago

manuelrech commented 1 year ago

` 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

abdeladim-s commented 1 year ago

@manuelrech

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