]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
vulkan: fix group_norm (llama/10496)
authorJeff Bolz <redacted>
Tue, 26 Nov 2024 15:45:05 +0000 (09:45 -0600)
committerGeorgi Gerganov <redacted>
Tue, 3 Dec 2024 19:05:37 +0000 (21:05 +0200)
commit38433280959992826d91c92d7ad6a5791e816c0f
treebc505563b9fbd243bbf6267351728252d6b5a401
parente581310d0c8a19501720173a9982db59d42ad488
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.
src/ggml-vulkan/ggml-vulkan.cpp
src/ggml-vulkan/vulkan-shaders/group_norm.comp
tests/test-backend-ops.cpp