Skip to content

Doesn't work adreno gpus (Qualcomm Adreno Vulkan) #453

Description

@guranu

Hello, i compiled audio.cpp with vulkan support. It compiled fine but when trying VoxCPM 2 (or any other model) it fails with this error:
ggml_vulkan: Compute pipeline creation failed for mul_mat_vec_q8_0_q8_1_f32 ggml_vulkan: vk::Device::createComputePipeline: ErrorUnknown Segmentation fault

From my research the error says that mul_mat_vec_q8_0_q8_1_f32 isn't supported on my device, but other implementations such as llama.cpp-omni (the official implementation of voxcpm 2 with gguf support) and VoxCPM.cpp: https://github.com/bluryar/VoxCPM.cpp can run the model without any problem.

Suggestion on how to "fix" this:
Provide Q4_0/Q5_0 variants for each model.

Logs:

~/.../build/bin $ sudo ./audiocpp_cli --task tts --family voxcpm2 --model /sdcard/Download/vox_test/voxcpm2-q8_0.gguf --backend vulkan --threads 8 --text "ここは……どこ?" --voice-ref /sdcard/Download/vox_test/rimi16khz.wav --out rimi.wav
ggml_vulkan: Found 1 Vulkan devices:
ggml_vulkan: 0 = Adreno (TM) 830 (Qualcomm Technologies Inc. Adreno Vulkan Driver) | uma: 1 | fp16: 1 | bf16: 0 | warp size: 64 | shared memory: 32768 | int dot: 1 | matrix cores: none
ggml_vulkan: Compute pipeline creation failed for mul_mat_vec_q8_0_q8_1_f32
ggml_vulkan: vk::Device::createComputePipeline: ErrorUnknown
Segmentation fault

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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