Skip to content
New issue

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

fatal error: ggml-vulkan-shaders.hpp: No such file or directory #3303

Open
RandUser123sa opened this issue Dec 16, 2024 · 0 comments
Open

fatal error: ggml-vulkan-shaders.hpp: No such file or directory #3303

RandUser123sa opened this issue Dec 16, 2024 · 0 comments

Comments

@RandUser123sa
Copy link

RandUser123sa commented Dec 16, 2024

Hello,

I'm trying to compile gpt4all version 3.5.2 with Vulkan support and I receive the error:

[ 77%] Building CXX object llmodel/deps/llama.cpp-mainline/ggml/src/kompute/src/CMakeFiles/kompute.dir/Core.cpp.o
/tmp/condor/gpt4all/gpt4all-backend/deps/llama.cpp-mainline/ggml/src/ggml-vulkan.cpp:29:10: fatal error: ggml-vulkan-shaders.hpp: No such file or directory
29 | #include "ggml-vulkan-shaders.hpp"
| ^~~~~~~~~~~~~~~~~~~~~~~~~

cmake
-Wno-dev
-DCMAKE_HIP_FLAGS:STRING=-I/opt/rocm/include
-DCMAKE_INSTALL_PREFIX=/opt/GPT4All
-DLIB_SUFFIX=64
-DGGML_BLAS=ON
-DLLAMA_BLAS=ON
-DGGML_BLAS_VENDOR=OpenBLAS
-DGGML_HIP_UMA=ON
-DLLMODEL_ROCM=ON
-DGGML_CUDA=OFF
-DLLMODEL_CUDA=OFF
-DGGML_VULKAN=ON
-DLLMODEL_VULKAN=ON
-DKOMPUTE_OPT_USE_BUILT_IN_VULKAN_HEADER=OFF
-DKOMPUTE_OPT_BUILD_SHADERS=ON
-DKOMPUTE_OPT_USE_BUILT_IN_FMT=OFF
-DKOMPUTE_OPT_USE_BUILT_IN_SPDLOG=OFF
-DLLMODEL_KOMPUTE=ON
-DBUILD_GMOCK=OFF
-DINSTALL_GTEST=OFF
-DGPT4ALL_TEST=OFF
-DCMAKE_BUILD_TYPE=Release ..
ulimit -n 2048
cmake --build . -j 64

Anyone hint how to compile the gpt4all with Vulkan support ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant