-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
bug-unconfirmedmedium severityUsed to report medium severity bugs in llama.cpp (e.g. Malfunctioning Features but still useable)Used to report medium severity bugs in llama.cpp (e.g. Malfunctioning Features but still useable)
Description
What happened?
I hava managed to use RVV by building the llama.cpp with make (RISCV_VECT = 1). As you can see in the next figure:
When I try to use RVV by building the llama.cpp with cmake, the RVV is not used (RISCV_VECT = 0), as you can see in the figure below:
If I understand correctly from the Makefile (lines 516-517), I need to add somewhere, in the CMakefiles.txt these flags:
-march=rv64gcv -mabi=lp64d
Do you know maybe where I should add them?
Name and Version
version: 3861 (f1b8c42)
built with cc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0 for riscv64-linux-gnu
What operating system are you seeing the problem on?
Linux
Relevant log output
No response
Metadata
Metadata
Assignees
Labels
bug-unconfirmedmedium severityUsed to report medium severity bugs in llama.cpp (e.g. Malfunctioning Features but still useable)Used to report medium severity bugs in llama.cpp (e.g. Malfunctioning Features but still useable)