Repository navigation
Closed
Description
So i was testing irodori 600m voice design model and while generating i got this error:
GGML_ASSERT(wg0 <= ctx->device->properties.limits.maxComputeWorkGroupCount[0] && wg1 <= ctx->device->properties.limits.maxComputeWorkGroupCount[1] && wg2 <= ctx->device->properties.limits.maxComputeWorkGroupCount[2]) failed
After doing some research i found out that the this a vulkan driver limit that some intel-arc gpus suffer from as well:
ggml-org/llama.cpp#28247
There's also a workaround in the same issue:
ggml-org/llama.cpp#28247 (comment)
And a PR that hasn't been reviewed:
ggml-org/llama.cpp#28592
Would it be possible the workaround into audio.cpp?
Logs:
./audiocpp_server --config server.json --ui
audio.cpp is optimized for CUDA. The vulkan server backend is intended for portability and testing, but performance and model coverage may be lower than CUDA.
[warning][model_spec] GGUF for family 'qwen3_tts' embeds a legacy model spec. Using the current schema-v1 model contract from the installed audio.cpp runtime for option validation. Regenerate the GGUF to make the package fully standalone.
[warning][model_spec] GGUF for family 'voxcpm2' embeds a legacy model spec. Using the current schema-v1 model contract from the installed audio.cpp runtime for option validation. Regenerate the GGUF to make the package fully standalone.
audiocpp_server listening on http://127.0.0.1:8080
ggml_vulkan: Found 1 Vulkan devices:
ggml_vulkan: 0 = Adreno (TM) 830 (turnip Mesa driver) | uma: 1 | fp16: 1 | bf16: 0 | warp size: 64 | shared memory: 32768 | int dot: 0 | matrix cores: none
/data/data/com.termux/files/home/audio.cpp/external/ggml/src/ggml-vulkan/ggml-vulkan.cpp:6821: GGML_ASSERT(wg0 <= ctx->device->properties.limits.maxComputeWorkGroupCount[0] && wg1 <= ctx->device->properties.limits.maxComputeWorkGroupCount[1] && wg2 <= ctx->device->properties.limits.maxComputeWorkGroupCount[2]) failed
0: 0x61e82c0e68
1: 0x61e82c0e28
2: 0x61e82d6514
3: 0x61e8289488
4: 0x61e82753a4
5: 0x61e82da618
6: 0x61e7d1844c
7: 0x61e7d18388
8: 0x61e7d0c220
9: 0x61e760f7a4
10: 0x61e7601558
11: 0x61e75f32a0
12: 0x61e75ebb98
13: 0x61e75ef7f0
14: 0x7873ebdc38
15: 0x7873eb00f8
Aborted ./audiocpp_server --config server.json --ui
Vulkaninfo:
vulkaninfo | grep -A3 maxComputeWorkGroupCount
'DISPLAY' environment variable not set... skipping surface info
maxComputeWorkGroupCount: count = 3
65535
65535
65535
--
maxComputeWorkGroupCount: count = 3
65535
65535
65535
Reacted by 0xShug0
Metadata
Metadata
Assignees
Labels
No labels
Activity
0xShug0 commentedon Sep 8, 2026
@guranu I can't reporduce the issue. Can you clarify the setting?
0xShug0 commentedon Sep 8, 2026
BTW The blast radius is very high because this changes the shared Vulkan FILL kernel used by any model, not just Irodori or Qwen. I’d be more comfortable adopting this change if upstream confirms it works reliably.
[-]Vulkan: maxComputeWorkGroupCount error[/-][+]Vulkan: maxComputeWorkGroupCount error (Intel GPU)[/+]guranu commentedon Sep 8, 2026
[-]Vulkan: maxComputeWorkGroupCount error (Intel GPU)[/-][+]Vulkan: maxComputeWorkGroupCount error (Intel GPU & Adreno GPU)[/+]0xShug0 commentedon Sep 9, 2026
@guranu Do Intel and Adreno GPUs have the same maxComputeWorkGroupCount error? If so, I will hold until upstream has merged the PR. One possible workaround is to set
duration_sec.I’ll reach out to a few people to see if anyone is interested in improving audio.cpp on mobile GPUs. Until then, there are no plans to actively fix mobile GPU-specific issues.
guranu commentedon Sep 9, 2026
Yes. Check vulkaninfo.
guranu commentedon Sep 10, 2026
It's been merged, please add it.
0xShug0 commentedon Sep 10, 2026
Great! Will do tomorrow.
0xShug0 commentedon Sep 10, 2026
@guranu Merged!
guranu commentedon Sep 11, 2026
Thx.
guranu commentedon Sep 11, 2026
Please reopen the issue. It didn't help:
I did rebuild it.
0xShug0 commentedon Sep 11, 2026
@guranu Intel and Adreno GPU support are best effort only. Fixes and optimizations for them are not currently planned due to the lack of testing hardware. Some issues may also come from upstream GGML kernels.