]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml-webgpu: add layer norm ops (llama/22406)
authorChen Yuan <redacted>
Mon, 4 May 2026 03:52:53 +0000 (23:52 -0400)
committerGeorgi Gerganov <redacted>
Thu, 14 May 2026 18:26:48 +0000 (21:26 +0300)
commitd1d0dc2348f6b294598725ef8cd3d40652fb674d
tree361d6b4d5e55f2ac6173539b718fc05565ad3e81
parent3bcac0a0c7d73128fa9cf6e65ff1d16ff8438933
ggml-webgpu: add layer norm ops (llama/22406)

* shader(norm): add layer norm ops

* shader(norm): stablize floating point computation with Kahan summation and handle mixed types

* shader(norm): remove the non-contiguous strides

* shader(norm): use the original implementation rather than the kahan summation
ggml/src/ggml-webgpu/ggml-webgpu-shader-lib.hpp
ggml/src/ggml-webgpu/ggml-webgpu.cpp
ggml/src/ggml-webgpu/wgsl-shaders/row_norm.wgsl