-
Notifications
You must be signed in to change notification settings - Fork 916
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
[ERROR] Futex facility returned an unexpected error code #1443
Comments
Do you have any idea what this "futex facility" is? I'm not familiar with What version (commit hash) of Spike are you using? |
Thank you for you reply, My guess is it is related to multi-threading, since futex is the locking mechanism. I post this issue just to confirm that whether this is related to spike or the code which I am using. Although I manage to run only the specific chunk of code from the project which does not have multithreading in it. I am using the latest version (commit: d1680b7), I think it ignored the flag since I was not familiar with this change. |
Hi,I also meet the same Q, my friend let me replace riscv64-unknown-linux-gnu to riscv64-unknown-elf-g++, this run. |
I have no idea what you're saying, but it sounds like you should open a new issue for this. Describe what you're trying to do and what isn't working. |
Hi @Tameem-10xE, Btw, did you get to solve this problem eventually or did you end up with running llama at qemu only for riscv? Thanks, |
Hi, [Cross Compiling Environment] [Scalar Version with QEMU]
|
Hi @Tameem-10xE , Got it, thanks for your response. I confirm that I can run llama.cpp at qemu user space emulator as well and thanks for your pr for that! However, it is a bit painfully slow with 1-2 minutes per token :( , do you have by chance any suggestions on how I can improve that from your past experience? Thanks, |
Hi, really sorry for the late reply Thank you |
Hi,
I am getting this error "The futex facility returned an unexpected error code" while trying to run llama.cpp executable on spike pk. I have used latest toolchain for cross compiling it for riscv and it is running without any issue on qemu-riscv64. But when i tried to run it with spike-pk it is giving me this error. I wanted to use it for estimating performance difference.
[Build-Spike]:
[Build-Proxy Kernel]:
[Command]:
$ ./spike pk ./llama2.cpp/main -h
If anyone has encountered a similar issue or has insights into how to resolve it, I would greatly appreciate it.
Thank you.
The text was updated successfully, but these errors were encountered: