Skip to content

Vulkan: adding GGML_OP_MULTI_ADD implementation#582

Merged
ikawrakow merged 1 commit into
mainfrom
ik/vulkan_multi_add
Jul 4, 2025
Merged

Vulkan: adding GGML_OP_MULTI_ADD implementation#582
ikawrakow merged 1 commit into
mainfrom
ik/vulkan_multi_add

Conversation

@ikawrakow

Copy link
Copy Markdown
Owner

This is relevant for MoE models. The performance improvement is surprisingly small. Somewhere it was mentioned that Vulkan kernel launch overhead is significantly larger than CUDA, so I would have expected a more significant performance benefit. For DeepSeek-Lite, the number of graph nodes in ik_llama.cpp with this PR is 1420 vs 1871 in mainline llama.cpp.

But, if nothing else, this removes the last Vulkan special-casing when building the compute graph.

@ikawrakow ikawrakow merged commit 235c989 into main Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant