Git commit
549b9d8
Operating systems
Linux
GGML backends
Vulkan
Problem description & steps to reproduce
I'm trying to compile llama.cpp with Vulkan and AVX instead of AVX2, but I'm getting an error concerning build-info.h.
#23497 seems to imply that this has been fixed, but I'm still experiencing the issue and I've pulled the up to date code base
First Bad Commit
No response
Compile command
mkdir -p "$BUILD_DIR"
cd "$BUILD_DIR"
cmake .. \
-DLLAMA_BUILD_EXAMPLES=OFF \
-DLLAMA_BUILD_TESTS=OFF \
-DLLAMA_BUILD_TOOLS=OFF \
-DGGML_VULKAN=ON \
-DGGML_VULKAN_MXFP=OFF \
-DGGML_AVX=ON \
-DGGML_AVX2=OFF \
-DGGML_FMA=OFF \
-DGGML_CCACHE=OFF
cmake --build . -j$(nproc)
Relevant log output
Build files have been written to: /home/****/Documents/llama/llama.cpp/build-vulkan/ggml/src/ggml-vulkan/vulkan-shaders-gen-prefix/src/vulkan-shaders-gen-build
/home/****/Documents/llama/llama.cpp/app/llama.cpp:1:10: fatal error: build-info.h: No such file or directory
1 | #include "build-info.h"
| ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [app/CMakeFiles/llama-app.dir/build.make:79: app/CMakeFiles/llama-app.dir/llama.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:574: app/CMakeFiles/llama-app.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 3%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml.cpp.o
[ 3%] Performing build step for 'vulkan-shaders-gen'
[ 50%] Building CXX object CMakeFiles/vulkan-shaders-gen.dir/vulkan-shaders-gen.cpp.o
[ 3%] Building C object ggml/src/CMakeFiles/ggml-base.dir/ggml-alloc.c.o
[ 3%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml-backend.cpp.o
[ 3%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml-backend-meta.cpp.o
[ 4%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml-opt.cpp.o
[ 4%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml-threading.cpp.o
[ 4%] Building C object ggml/src/CMakeFiles/ggml-base.dir/ggml-quants.c.o
[ 4%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/gguf.cpp.o
[ 4%] Linking CXX shared library ../../bin/libggml-base.so
[ 4%] Built target ggml-base
[100%] Linking CXX executable vulkan-shaders-gen
[100%] Built target vulkan-shaders-gen
[ 4%] Performing install step for 'vulkan-shaders-gen'
-- Installing: /home/****/Documents/llama/llama.cpp/build-vulkan/Release/./vulkan-shaders-gen
[ 4%] Completed 'vulkan-shaders-gen'
[ 4%] Built target vulkan-shaders-gen
[ 4%] Linking CXX static library libcpp-httplib.a
[ 4%] Built target cpp-httplib
make: *** [Makefile:136: all] Error 2
Git commit
549b9d8
Operating systems
Linux
GGML backends
Vulkan
Problem description & steps to reproduce
I'm trying to compile llama.cpp with Vulkan and AVX instead of AVX2, but I'm getting an error concerning build-info.h.
#23497 seems to imply that this has been fixed, but I'm still experiencing the issue and I've pulled the up to date code base
First Bad Commit
No response
Compile command
Relevant log output