-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Ubuntu x86_64) Segmentation Fault Running Q4_1_O Model #32
Comments
Can it be reproduced with 169M model? |
I'm having the same issue with Apple Silicon. I tested latest 14B & 7B, each with all 3 quantization options. I also tried with 3B v10 Q4_1_0. |
Same issue on Apple M2, with all revisions with the Q4_1_0. Tried 3B and 169M. |
confirm this issue under Arch WSL with |
I also encounter this problem in my mac m1. Tried 7B and 3B. It occurred before |
Probably address misalignment. I'm working on it in #33 |
Alignment fix merged. Please clone the repo from scratch and try again:
|
Thanks! #33 solved my problem. But another bug appeared. The bot only repeats, python rwkv/convert_pytorch_to_ggml.py ./RWKV-4-Raven-3B-v9x-Eng49%-Chn50%-Other1%-20230417-ctx4096.pth ./rwkv.cpp-3B.bin float16
python rwkv/quantize.py ./rwkv.cpp-3B.bin ./rwkv.cpp-3B-Q4_1_0.bin 4
python rwkv/chat_with_bot.py ./rwkv.cpp-3B-Q4_1_0.bin |
@BuilderGuy1 @poisson-fish @dmahurin If possible, can you also confirm that segfault is fixed? (please clone from scratch or don't forget to update git submodules) @L-M-Sherlock Thanks for the input. Looks like default prompt is not good for Raven, related issue is #22 |
Thanks @saharNooby. It works now on Apple M2 with 3B and 169M. It also works with rwkv-4_raven-7b-v9 and rwkv-4_raven-14b-v9, though 14b is slow on M2. |
Thanks for testing it! |
sorry for late reply @saharNooby, the previous crash is fixed however now I get SIGSEGV:
can open new issue if necessary. edit: disregard, required a submodule update and works now |
System: Ubuntu 20.04.6 LTS
GCC: 9.4.0
CPU: Intel(R) Xeon(R) Platinum 8358P
Issue:
The text was updated successfully, but these errors were encountered: