Skip to content

Vulkan support #218

@theoparis

Description

@theoparis
/Users/theo/Documents/bark.cpp/build/encodec.cpp/ggml/src/ggml-vulkan-shaders.hpp:45:22: note: 'matmul_f32_f32_aligned_data' declared here
   45 | extern unsigned char matmul_f32_f32_aligned_data[11468];
      |                      ^
/Users/theo/Documents/bark.cpp/encodec.cpp/ggml/src/ggml-vulkan.cpp:1281:107: error: use of undeclared identifier 'matmul_f16_f32_aligned_len'; did you mean 'matmul_f32_f32_aligned_len'?
 1281 |         ggml_vk_create_pipeline(device, device->pipeline_matmul_f16_f32->a_l, "matmul_f16_f32_aligned_l", matmul_f16_f32_aligned_len, matmul_f16_f32_aligned_data, "main", 3, sizeof(vk_mat_mat_push_constants), l_wg_denoms, warptile_l, l_align);
      |                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                           matmul_f32_f32_aligned_len
/Users/theo/Documents/bark.cpp/build/encodec.cpp/ggml/src/ggml-vulkan-shaders.hpp:46:16: note: 'matmul_f32_f32_aligned_len' declared here
   46 | const uint64_t matmul_f32_f32_aligned_len = 11468;
      |                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]

Upstream ggml/llama.cpp builds fine 🤔 If I update the ggml submodule it also builds fine except it seems like the functions used by bark aren't compatible with the latest ggml..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions