-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
Description
Git commit
Operating systems
Linux
GGML backends
Vulkan
Problem description & steps to reproduce
Trying to update llama.cpp build to test out the latest Vulkan improvements. I think that 10597 is the culprit for me, as 3df784b (tag: b4280) hangs compilation.
Reverting back to 86a1934 (commit right before) works, and but nothing after this compiles.
I'm building on Debian Linux, on a Framework AMD64. I'm having the same issue on another AMD machine as well.
GLSLC
glslc --version
shaderc 2023.2-1
spirv-tools 2022.4+1.3.236.0-1
glslang 11.13.0-1
Target: SPIR-V 1.0
libvulkan-dev
1.3.239.0-1
First Bad Commit
Relevant log output
...
[ 20%] Linking CXX executable ../../../../bin/vulkan-shaders-gen
[ 20%] Built target vulkan-shaders-gen
[ 20%] Generate vulkan shaders
ggml_vulkan: Generating and compiling shaders to SPIR-V cannot compile matmul_f32_f16_coopmat
/bin/glslc -fshader-stage=compute --target-env=vulkan1.2 /home/user/software/llama.cpp_latest/ggml/src/ggml-vulkan/vulkan-shaders/mul_mm.comp -o /home/user/software/
llama.cpp_build.20241211/ggml/src/ggml-vulkan/vulkan-shaders.spv/matmul_f32_f16_coopmat.spv -DACC_TYPE=float -DB_TYPE=float16_t -DCOOPMAT=1 -DDATA_A_F32=1 -DD_TYPE=float -DFLOAT16=1 -DFL
OAT_TYPE=float16_t
/home/user/software/llama.cpp_latest/ggml/src/ggml-vulkan/vulkan-shaders/mul_mm.comp:11: warning: '#extension' : extension not supported: GL_KHR_cooperative_matrix
/home/user/software/llama.cpp_latest/ggml/src/ggml-vulkan/vulkan-shaders/mul_mm.comp:195: error: 'coopmat' : undeclared identifier
/home/user/software/llama.cpp_latest/ggml/src/ggml-vulkan/vulkan-shaders/mul_mm.comp:195: error: '' : syntax error, unexpected COMMA, expecting LEFT_PAREN
1 warning and 2 errors generated.
cannot compile matmul_f16_aligned_coopmat
...sroecker