Skip to content

vulkan build error on macOS 14.5 #394

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

Open
sukualam opened this issue Sep 4, 2024 · 1 comment
Open

vulkan build error on macOS 14.5 #394

sukualam opened this issue Sep 4, 2024 · 1 comment

Comments

@sukualam
Copy link

sukualam commented Sep 4, 2024

how to fix this? my gpu is amd rx 560 and im already installed vulkansdk for macos

`[ 4%] Building C object thirdparty/CMakeFiles/zip.dir/zip.c.o
[ 4%] Built target zip
[ 8%] Building CXX object ggml/src/vulkan-shaders/CMakeFiles/vulkan-shaders-gen.dir/vulkan-shaders-gen.cpp.o
[ 13%] Linking CXX executable ../../../bin/vulkan-shaders-gen
[ 13%] Built target vulkan-shaders-gen
[ 17%] Generate vulkan shaders
ggml_vulkan: Generating and compiling shaders to SPIR-V
Error executing command for matmul_id_q8_0_f32: Failed to create pipes
Error executing command for matmul_id_q6_k_f32: Failed to create pipes
Error executing command for mul_mat_vec_q4_1_f16_f32: Failed to create pipes
Error executing command for get_rows_q5_0_f32: Failed to create pipes
Error executing command for matmul_id_q6_k_f32_aligned: Failed to create pipes
Error executing command for Error executing command for mul_mat_vec_id_q5_0_f32: matmul_id_q5_k_f32_aligned: Failed to create pipes
Error executing command for get_rows_q4_1: Error executing command for get_rows_f32_f32Failed to create pipes
: Failed to create pipes
Error executing command for mul_mat_vec_iq4_nl_f32_f32Error executing command for Error executing command for mul_mat_vec_f32_f32_f32: Failed to create pipes
Error executing command for get_rows_f16_f32: Error executing command for dequant_q8_0: Failed to create pipes
Error executing command for mul_mat_vec_q4_0_f32_f32: Failed to create pipes
Error executing command for get_rows_f16: Failed to create pipes
Error executing command for Error executing command for matmul_q3_k_f32_alignedmul_mat_vec_q6_k_f16_f32: Failed to create pipes
Error executing command for matmul_q4_k_f32_aligned: Failed to create pipes
Error executing command for Error executing command for Error executing command for dequant_q4_0matmul_q4_1_f32_alignedError executing command for Error executing command for : get_rows_q4_1_f32: mul_mat_vec_id_q4_0_f32: Failed to create pipes
Error executing command for dequant_q5_0: Failed to create pipes
Error executing command for mul_mat_vec_q5_0_f32_f32: Failed to create pipes
Error executing command for mul_mat_vec_q5_0_f16_f32: Failed to create pipes
Error executing command for mul_mat_vec_f32_f16_f32Error executing command for matmul_id_iq4_nl_f32_alignedError executing command for Error executing command for rms_norm_f32mul_mat_vec_id_f32_f32: Failed to create pipes
Error executing command for get_rows_q4_0_f32: Failed to create pipes
Error executing command for matmul_id_q5_1_f32: Failed to create pipes
Error executing command for matmul_id_q5_1_f32_aligned: Failed to create pipes
Error executing command for matmul_f16_f32_aligned: Failed to create pipes
Error executing command for Error executing command for mul_mat_vec_q5_1_f16_f32: Failed to create pipes
matmul_id_q3_k_f32_alignedError executing command for get_rows_q5_1: Failed to create pipes
Error executing command for Error executing command for cpy_f16_f16: Failed to create pipes
Error executing command for mul_mat_vec_q6_k_f32_f32: Failed to create pipes
Error executing command for matmul_q3_k_f32: Failed to create pipes
Error executing command for concat_f32: Failed to create pipes
Error executing command for rope_norm_f16: Failed to create pipes
Error executing command for scale_f32: Failed to create pipes
Error executing command for Error executing command for get_rows_q5_0Error executing command for Error executing command for rope_neox_f32sin_f32: Error executing command for Error executing command for mul_mat_vec_q4_1_f32_f32: : Failed to create pipes
Failed to create pipes
Error executing command for : matmul_id_f32_f32Failed to create pipes
: Failed to create pipes
Error executing command for mul_mat_vec_id_q4_1_f32: Error executing command for Error executing command for cos_f32: Failed to create pipes
Error executing command for concat_i32: Failed to create pipes
get_rows_f32: Failed to create pipesError executing command for Error executing command for matmul_q5_1_f32: Failed to create pipes
Error executing command for matmul_id_q4_0_f32_aligned: Failed to create pipes
Error executing command for matmul_q5_1_f32_aligned: Error executing command for Error executing command for Error executing command for Error executing command for matmul_q5_k_f32_alignedError executing command for Error executing command for dequant_q2_k: Failed to create pipes
mul_mat_vec_id_q2_k_f32: Error executing command for Error executing command for Error executing command for mul_mat_vec_f16_f32_f32: Failed to create pipes
Error executing command for get_rows_iq4_nl: Failed to create pipes
Error executing command for mul_mat_vec_q5_k_f32_f32: Failed to create pipes
Error executing command for dequant_q6_k: Failed to create pipes
Error executing command for dequant_q5_k: Failed to create pipes
Error executing command for mul_mat_vec_iq4_nl_f16_f32: Failed to create pipes
Error executing command for im2col_f32: Failed to create pipes
Failed to create pipesError executing command for Error executing command for matmul_q6_k_f32: Failed to create pipes
Error executing command for pad_f32: Failed to create pipes
timestep_embedding_f32Error executing command for Error executing command for matmul_id_iq4_nl_f32: dequant_q5_1Failed to create pipes
Error executing command for Error executing command for matmul_q4_1_f32: matmul_q2_k_f32_alignedFailed to create pipesError executing command for
mul_mat_vec_id_f16_f32: mul_mat_vec_q4_0_f16_f32: matmul_id_q4_k_f32: Error executing command for dequant_q4_1: Failed to create pipes
Error executing command for Error executing command for mul_mat_vec_id_q6_k_f32Error executing command for mul_mat_vec_id_iq4_nl_f32: Error executing command for Error executing command for soft_max_f32_f16: Failed to create pipesError executing command for : Error executing command for matmul_id_q3_k_f32mul_mat_vec_id_q5_1_f32: Failed to create pipes
Error executing command for leaky_relu_f32: Failed to create pipes
Error executing command for rope_neox_f16: Failed to create pipesError executing command for matmul_q5_0_f32: : Failed to create pipes
Error executing command for mul_mat_vec_q4_k_f16_f32: Failed to create pipes
Failed to create pipes
Error executing command for get_rows_q4_0: Failed to create pipessqr_f32: : Failed to create pipesFailed to create pipes

Failed to create pipes

Error executing command for matmul_q4_k_f32: Failed to create pipes
mul_mat_vec_q4_k_f32_f32: Failed to create pipes
Failed to create pipes
: Failed to create pipes
: Failed to create pipes
Error executing command for im2col_f32_f16: Failed to create pipes
Error executing command for dequant_iq4_nl: Failed to create pipes
Error executing command for concat_f16: Failed to create pipes
: Failed to create pipes
get_rows_iq4_nl_f32Error executing command for : Failed to create pipes
relu_f32: Failed to create pipes
Failed to create pipes
Error executing command for mul_f32: Failed to create pipes
Error executing command for diag_mask_inf_f32: Failed to create pipes
Error executing command for tanh_f32: Failed to create pipes
dequant_f32: Failed to create pipes
Error executing command for mul_mat_vec_q2_k_f16_f32: Failed to create pipes
Error executing command for mul_mat_vec_f16_f16_f32: Failed to create pipes
Failed to create pipes
Error executing command for acc_f32: Failed to create pipes
mul_mat_vec_q8_0_f32_f32Error executing command for Error executing command for get_rows_q8_0_f32: matmul_id_q4_k_f32_aligned: Failed to create pipes
Error executing command for Failed to create pipes
Error executing command for mul_mat_vec_p021_f16_f32: Failed to create pipes
Error executing command for Error executing command for matmul_id_f16_aligned: Failed to create pipes
Error executing command for mul_mat_vec_q5_k_f16_f32: Failed to create pipes
matmul_id_q5_k_f32: Error executing command for : dequant_q4_kmul_mat_vec_q3_k_f32_f32: : Failed to create pipesFailed to create pipes
Failed to create pipes
Error executing command for norm_f32: Failed to create pipes
Error executing command for gelu_quick_f32: Failed to create pipes
Error executing command for add_f16_f32_f16: Failed to create pipes
Failed to create pipes
: Failed to create pipes
: Failed to create pipes
Error executing command for gelu_f32: Failed to create pipes
Error executing command for mul_mat_vec_id_q5_k_f32: Failed to create pipes
Failed to create pipes
Error executing command for rope_norm_f32: Failed to create pipes
Failed to create pipes
Failed to create pipesError executing command for clamp_f32: Failed to create pipes
Error executing command for upscale_f32: Failed to create pipes
: Failed to create pipes
: Failed to create pipes

Error executing command for soft_max_f32: Failed to create pipes
: Failed to create pipes
mul_mat_vec_nc_f16_f32: Failed to create pipes
Error executing command for split_k_reduce: Failed to create pipes
Error executing command for matmul_id_q4_0_f32: Failed to create pipes
Failed to create pipes
Failed to create pipes
group_norm_f32: Failed to create pipes
: Failed to create pipes

get_rows_q8_0: Failed to create pipes
matmul_f32_f32_aligned: Failed to create pipes
Failed to create pipes
Error executing command for cpy_f32_f32: Failed to create pipes
Failed to create pipes
Failed to create pipes
: Failed to create pipes

silu_f32: Failed to create pipes
repeat_f32: Failed to create pipes

Error executing command for mul_mat_vec_id_q4_k_f32: Failed to create pipes
Error executing command for mul_mat_vec_q2_k_f32_f32: Failed to create pipes
Error executing command for matmul_id_q4_1_f32: Failed to create pipes
Error executing command for matmul_q5_0_f32_aligned: Failed to create pipes
Error executing command for mul_mat_vec_id_q8_0_f32: Failed to create pipes
[ 21%] Generate assembly for embedded Metal library
Embedding Metal library
[ 26%] Building C object ggml/src/CMakeFiles/ggml.dir/ggml.c.o`

@jeffbolznv
Copy link

This should have been fixed a couple weeks ago by ggml-org/llama.cpp#10222. Does it still reproduce for you?

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

2 participants