Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Illegal instruction: 4 #94

Closed
manuelrech opened this issue May 2, 2023 · 1 comment
Closed

Illegal instruction: 4 #94

manuelrech opened this issue May 2, 2023 · 1 comment

Comments

@manuelrech
Copy link

`
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

@absadiki
Copy link
Collaborator

absadiki commented May 2, 2023

@manuelrech

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

@absadiki absadiki closed this as completed May 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants