From 689e44c9a86a24e592d32afa0dee43bafb654cce Mon Sep 17 00:00:00 2001 From: leejet Date: Sat, 6 Dec 2025 23:55:28 +0800 Subject: [PATCH] fix: correct ggml_ext_silu_act (#1056) --- ggml_extend.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml_extend.hpp b/ggml_extend.hpp index 92dd3b8..f74fadb 100644 --- a/ggml_extend.hpp +++ b/ggml_extend.hpp @@ -768,7 +768,7 @@ __STATIC_INLINE__ ggml_tensor* ggml_ext_silu_act(ggml_context* ctx, ggml_tensor* auto x1 = x_vec[0]; // [ne3, ne2, ne1, ne0/2] auto x2 = x_vec[1]; // [ne3, ne2, ne1, ne0/2] - x1 = ggml_gelu_inplace(ctx, x1); + x1 = ggml_silu_inplace(ctx, x1); x = ggml_mul(ctx, x1, x2); // [ne3, ne2, ne1, ne0/2]