]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
vulkan: fix group_norm (#10496)
authorJeff Bolz <redacted>
Tue, 26 Nov 2024 15:45:05 +0000 (09:45 -0600)
committerGitHub <redacted>
Tue, 26 Nov 2024 15:45:05 +0000 (16:45 +0100)
commit904109ed0d97c9b656a5e8bf612925f739bb8166
tree967a0725866ca37f64ed3bf913e081077e09e352
parent45abe0f74ee281aea6e5283c1e738061256cfcae
vulkan: fix group_norm (#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
tests/test-backend-ops.cpp