Help with illegal hardware instruction #833
Unanswered
SpinNeutron
asked this question in
Q&A
Replies: 2 comments
-
I also have this problem. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I may have found a solution if you're still looking for one. I tinkered around with the solutions suggested in #272 Hope this helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all!
While running the example high level api script,
No matter how I define
model_path
I get the errorzsh: illegal hardware instruction python3 test.py
or justIllegal instruction
from bash.I installed using
pip install llama-cpp-python
I tried reinstalling with
pip install llama-cpp-python --force-reinstall --upgrade --no-cache-dir
to no avail.The code causing the error is
llm = Llama(anything)
.I assume that my installation has compiled for different hardware than what I'm running on. Any ideas on how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions