We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using Arch and trying to build the latest commit with openblas cmake outputs this error:
/home/daniandtheweb/Applications/chat/llama.cpp/ggml.c:1082:13: warning: ‘quantize_row_q4_2_reference’ defined but not used [-Wunused-function] 1082 | static void quantize_row_q4_2_reference(const float * restrict x, block_q4_2 * restrict y, int k) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 4%] Built target ggml [ 9%] Building CXX object CMakeFiles/llama.dir/llama.cpp.o [ 13%] Linking CXX static library libllama.a [ 13%] Built target llama [ 18%] Building C object tests/CMakeFiles/test-quantize.dir/test-quantize.c.o [ 22%] Linking CXX executable ../bin/test-quantize /usr/bin/ld: ../libllama.a(ggml.c.o): in function `ggml_compute_forward_mul_mat_f16_f32': ggml.c:(.text+0x7fdb): undefined reference to `cblas_sgemm' /usr/bin/ld: ../libllama.a(ggml.c.o): in function `ggml_compute_forward_mul_mat_q_f32': ggml.c:(.text+0x89cc): undefined reference to `cblas_sgemm' /usr/bin/ld: ../libllama.a(ggml.c.o): in function `ggml_compute_forward': ggml.c:(.text+0xf07a): undefined reference to `cblas_sgemm' collect2: error: ld returned 1 exit status make[2]: *** [tests/CMakeFiles/test-quantize.dir/build.make:98: bin/test-quantize] Error 1 make[1]: *** [CMakeFiles/Makefile2:1055: tests/CMakeFiles/test-quantize.dir/all] Error 2 make: *** [Makefile:101: all] Error 2
The text was updated successfully, but these errors were encountered:
See #634: on Arch Linux, openblas doesn't have the cblas interface enabled. The solution is to compile openblas-lapack from AUR.
openblas
Sorry, something went wrong.
Hadn't found that issue before, thanks!
It looks like this will no longer be an issue with an upcoming release of the openblas packages:
https://lists.archlinux.org/archives/list/arch-dev-public@lists.archlinux.org/thread/REXPJGNLOMBZAB47D5JYX4B3TM62YJTD/
No branches or pull requests
Using Arch and trying to build the latest commit with openblas cmake outputs this error:
The text was updated successfully, but these errors were encountered: