Skip to content

Conversation

0cc4m
Copy link
Collaborator

@0cc4m 0cc4m commented Sep 21, 2025

Fixes a bug with index calculations for specific matrix multiplications introduced in #16056. It should fix leejet/stable-diffusion.cpp#847.

@0cc4m 0cc4m requested a review from jeffbolznv September 21, 2025 17:17
@github-actions github-actions bot added testing Everything test related Vulkan Issues specific to the Vulkan backend ggml changes relating to the ggml tensor library for machine learning labels Sep 21, 2025
@wbruna
Copy link
Contributor

wbruna commented Sep 21, 2025

Just confirming it here too: this indeed seems to have fixed leejet/stable-diffusion.cpp#847 . Thanks!

@0cc4m 0cc4m merged commit 9073a73 into master Sep 22, 2025
60 of 68 checks passed
@0cc4m 0cc4m deleted the 0cc4m/vulkan-mm-vec-dot-fix branch September 22, 2025 05:22
@leejet
Copy link
Contributor

leejet commented Sep 24, 2025

@ggerganov Could you please sync ggml?

struct pushed a commit to struct/llama.cpp that referenced this pull request Sep 26, 2025
* vulkan: fix matrix multiplication index calculation for odd m/n and odd k in combination with batching

* add odd m/n + odd k test with batching
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ggml changes relating to the ggml tensor library for machine learning testing Everything test related Vulkan Issues specific to the Vulkan backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ggml 8de5c82360 broke image generation on Vulkan
4 participants