I'm using:
git clone --depth=1 https://github.com/predict-woo/qwen3-tts.cpp.git
cd qwen3-tts.cpp
git submodule update --init --recursive
cmake -S ggml -B ggml/build -DGGML_VULKAN=1
cmake --build ggml/build -j8
cmake -S . -B build -DCMAKE_POSITION_INDEPENDENT_CODE=ON
cmake --build build -j8
mkdir models; cd models
wget https://huggingface.co/koboldcpp/tts/resolve/main/qwen3-tts-0.6b-f16.gguf
wget https://huggingface.co/koboldcpp/tts/resolve/main/qwen3-tts-tokenizer-f16.gguf
./build/qwen3-tts-cli -l de --threads 8 -m models -r examples/readme_clone_input.wav -t "Test 123" -o output.wav
output:
Loading models from: models
[mem] load/start rss=11.29 MB phys=11.29 MB
Loading TTS model from models/qwen3-tts-0.6b-f16.gguf...
Text tokenizer loaded: vocab_size=151936 (196 ms)
[mem] load/after-tokenizer rss=55.49 MB phys=55.49 MB
Speaker encoder: deferred (lazy load)
ggml_vulkan: Found 1 Vulkan devices:
ggml_vulkan: 0 = AMD Radeon 780M Graphics (RADV PHOENIX) (radv) | uma: 1 | fp16: 1 | bf16: 0 | warp size: 64 | shared memory: 65536 | int dot: 1 | matrix cores: KHR_coopmat
TTSTransformer backend: Vulkan0
TTS transformer loaded: hidden_size=1024, n_layers=28 (912 ms)
[mem] load/after-transformer rss=748.44 MB phys=748.44 MB
Loading vocoder from models/qwen3-tts-tokenizer-f16.gguf...
Segmentation fault
Building "cmake -S ggml -B ggml/build" without GGML_VULKAN=1 creates the output.wav successfully, no segfault.
System: Ubuntu 24.04, Kernel 6.17, AMD Ryzen 7 PRO 7840U
Vulkan Packages from ppa:
deb https://packages.lunarg.com/vulkan noble main
deb-src https://packages.lunarg.com/vulkan noble main
Installed packages:
dpkg --list | grep -i vulkan | grep lunarg
ii libvulkan-dev:amd64 1.4.313.0~rc1-1lunarg24.04-1 amd64 This package contains the Vulkan loader
ii libvulkan1:amd64 1.4.313.0~rc1-1lunarg24.04-1 amd64 This package contains the Vulkan loader
ii lunarg-via 1.4.313.0~rc2-1lunarg24.04-1 amd64 LunarG Vulkan Installation Analyzer
ii lunarg-vkconfig 1.4.313.0~rc2-1lunarg24.04-1 amd64 LunarG GUI tool to configure Vulkan layers
ii lunarg-vulkan-layers 1.4.313.0~rc2-1lunarg24.04-1 amd64 Extra Vulkan development layers from LunarG
ii vma 3.2.1~rc1-1lunarg24.04-1 amd64 Easy to integrate Vulkan memory allocation library.
ii volk 1.4.313.0~rc1-1lunarg24.04-1 amd64 Volk is a meta-loader for Vulkan. It allows
ii vulkan-extensionlayer 1.4.313.0~rc1-1lunarg24.04-1 amd64 Layers providing Vulkan features when native support is unavailable
ii vulkan-headers 1.4.313.0~rc1-1lunarg24.04-1 all Vulkan header files and API registry
ii vulkan-profiles 1.4.313.0~rc1-1lunarg24.04-1 amd64 Collection of tools to leverage Vulkan Profiles
ii vulkan-sdk 1.4.313.0~rc3-1lunarg24.04-1 all Tools and runtime for Vulkan development.The Vulkan
ii vulkan-tools 1.4.313.0~rc1-1lunarg24.04-1 amd64 This project provides Vulkan tools and utilities that can
ii vulkan-utility-libraries 1.4.313.0~rc1-1lunarg24.04-1 amd64 Utility Libraries for various
ii vulkan-utility-libraries-dev 1.4.313.0~rc1-1lunarg24.04-1 amd64 Utility Libraries for various
ii vulkan-validationlayers 1.4.313.0~rc2-1lunarg24.04-1 amd64 Vulkan is an Explicit API, enabling direct control over how GPUs actually
ii vulkancapsviewer 4.01~rc1-1lunarg24.04-1 amd64 Client application to display
I'm using:
output:
Building "cmake -S ggml -B ggml/build" without GGML_VULKAN=1 creates the output.wav successfully, no segfault.
System: Ubuntu 24.04, Kernel 6.17, AMD Ryzen 7 PRO 7840U
Vulkan Packages from ppa:
Installed packages: