Skip to content

Commit 689e44c

Browse files
authored
fix: correct ggml_ext_silu_act (#1056)
1 parent 985aedd commit 689e44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml_extend.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ __STATIC_INLINE__ ggml_tensor* ggml_ext_silu_act(ggml_context* ctx, ggml_tensor*
768768
auto x1 = x_vec[0]; // [ne3, ne2, ne1, ne0/2]
769769
auto x2 = x_vec[1]; // [ne3, ne2, ne1, ne0/2]
770770

771-
x1 = ggml_gelu_inplace(ctx, x1);
771+
x1 = ggml_silu_inplace(ctx, x1);
772772

773773
x = ggml_mul(ctx, x1, x2); // [ne3, ne2, ne1, ne0/2]
774774

0 commit comments

Comments
 (0)