tts : add native Higgs Audio v3 support#24773
Conversation
Assisted-by: Codex
add native Higgs Audio v3 TTS support
|
Hi @mirek190, thanks for your contribution! Per our contribution guidelines, the automated PR checker found the following issue(s) that need your attention:
Please note that maintainers reserve the right to make final decisions on PRs. If you believe there is a mistake, please comment below. |
|
Models for test https://huggingface.co/mirek190/higgs_v3_gguf/upload/main That higgs v3 is fast.
GPU RTX 3090 , Ryzen 7950 CPU - MODEL Q8 + CPU DAC -> 30 GB RAM ( around 43 seconds but even using 16 thread I have only CPU 20 % load) |
|
Honestly this is probably too big to land as-is (+ AI usage disclosure not respected), and there's already a lot of audio work in flight.
The Snake doesn't hit the graph fusion the way it's written (the ggml_repeat break the pattern), and the transposed conv should go through col2im_1d instead of conv_transpose_1d. Right now col2im_1d is Vulkan only, so on CUDA it'll fall back to CPU until the CUDA kernel lands (soon), but once you respect the Snake graph pattern matcher and move to col2im_1d it'll be way faster! |
|
I was working on it from 2 weeks "The Snake doesn't hit the graph fusion the way it's written (the ggml_repeat break the pattern), and the transposed conv should go through col2im_1d instead of conv_transpose_1d. Right now col2im_1d is Vulkan only, so on CUDA it'll fall back to CPU until the CUDA kernel lands (soon), but once you respect the Snake graph pattern matcher and move to col2im_1d it'll be way faster!" So DAC .... Replaced DAC transposed conv graph ggml_conv_transpose_1d from ggml_mul_mat to existing already ggml_col2im_1d for cuda I changed that under higgs-dac-backend.h now is mul -> sin -> sqr -> mul -> add Vulkan DAC uses native ggml_conv_transpose_1d Tests passes.
for vulkan , cuda
Continuation is here |
|
#24417 col2im_1d cuda kernel just merged. |
YEP that kernel is fast look VULKAN CUDA |
I actually working on OMTD ( output multi modal ) library handling audio as first and other modalities in the future as MTMD is a multimodal input library. |
Overview
Adds a native llama.cpp-side Higgs Audio v3 TTS path around the Qwen3 backbone.
This includes:
llama-tts/llama-higgs-tts/llama-higgs-reference-encodetooling/v1/audio/speechserver wiring for Higgs speech generationModels for test
https://huggingface.co/mirek190/higgs_v3_gguf/tree/main
Original model
https://huggingface.co/bosonai/higgs-audio-v3-tts-4b
Requirements