RISC-V vcreate
Compatibility Issue and Workaround
#14526
UserEdmund
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
RISC-V
vcreate
Compatibility Issue and WorkaroundOn some RISC-V systems, the environment does not recognize
vcreate
. This appears to be due to the fact thatvcreate
requires GCC 14, and my current setup is using GCC 13.To work around this, I replaced the
vcreate
instruction with an equivalent sequence usingvset
in the following source file:/ggml/src/ggml-cpu/arch/riscv/quants.c
🔁 Replacement Code
This solution did allow the code to successfully run build, but when I deploys llama-server it still failed and the error message is illegal instruction.
Beta Was this translation helpful? Give feedback.
All reactions