]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
vulkan: fix group_norm (llama/10496)
authorJeff Bolz <redacted>
Tue, 26 Nov 2024 15:45:05 +0000 (09:45 -0600)
committerGeorgi Gerganov <redacted>
Sun, 8 Dec 2024 18:14:35 +0000 (20:14 +0200)
commit5e1fcc1780bdc713caf0fb0566f5357235d16fe1
tree0f09528d001ffca4758ef44db764b2c62ead423d
parent48f421de23a3ff29d383890026146b3b1360def4
vulkan: fix group_norm (llama/10496)

Fix bad calculation of the end of the range. Add a backend test that
covers the bad case (taken from stable diffusion).

Fixes https://github.com/leejet/stable-diffusion.cpp/issues/439.
ggml/src/ggml-vulkan/ggml-vulkan.cpp
ggml/src/ggml-vulkan/vulkan-shaders/group_norm.comp