Closed ndavidson19 closed 1 month ago
I use cmake
, so the Makefile is less solid than it shou be. Have you tried make clean && make -j
? I'm away for a few days and will look at the problem when I come back.
Same error happens with those commands. No rush will try to build via cmake
on this particular server.
So, I don't really see what could be wrong with the Makefile
. The Makefile
, inherited from llama.cpp
, is of course useless as it does not reflect the actual build artifact dependencies. E.g., here is what we have as a build rule for ggml.o
, which is the core of the whole system
ggml/src/ggml.o: \
ggml/src/ggml.c \
ggml/include/ggml.h
$(CC) $(CFLAGS) -c $< -o $@
In reality ggml.o
depends on several other files as one gets via
gcc -Iggml/include -Iggml/src -MM ggml/src/ggml.c
ggml.o: ggml/src/ggml.c ggml/src/ggml-impl.h ggml/include/ggml.h \
ggml/src/ggml-quants.h ggml/src/ggml-common.h ggml/src/ggml-aarch64.h
But make clean && make
does produce the correct build, both in mainline llama.cpp
and in this repository, so the failure you get on this one server is a bit mysterious.
Can you post the full output of the make
command?
Thanks!
I'm not getting a response, and without the full output of the make
command it is not possible to see what might be going wrong, so closing.
What happened?
When running
make llama-server
ormake llama-bench
I observe the following error:System Specs
What is interesting however is how this is failing only on this server and not for my other server with the following CPU in which I get >50% improvements in prompt processing and token generation.
Side Note: Thank you for all the great work with the llama.cpp project and the open-source community!
Name and Version
./llama-server --version version: 3432 (12bbdb8c) built with cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 for x86_64-linux-gnu (Working)
The other server will not build
What operating system are you seeing the problem on?
Linux
Relevant log output
No response