]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
vulkan : fix soft_max.comp division by zero (whisper/2633)
authorgn64 <redacted>
Mon, 16 Dec 2024 10:34:38 +0000 (19:34 +0900)
committerGeorgi Gerganov <redacted>
Tue, 17 Dec 2024 16:35:49 +0000 (18:35 +0200)
commit8dd19a48129d578972ea3d98896edbbf492891a9
tree41fd0e7cc7df4feac9d7ec27fd8f1834e770d1ad
parent130d0c90bd26b25e3a713b17a61a5d4eb0a66405
vulkan : fix soft_max.comp division by zero (whisper/2633)

This change prevents a division by zero error when p.KY is 0.
ggml/src/ggml-vulkan/vulkan-shaders/soft_max.comp