Skip to content

Commit 58e3866

Browse files
younesbelkadaCISC
andauthored
Update src/llama-model.cpp
Co-authored-by: Sigbjørn Skjæret <[email protected]>
1 parent 52d1ef3 commit 58e3866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama-model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14868,7 +14868,7 @@ struct llm_build_falcon_h1 : public llm_graph_context {
1486814868
// TODO: skip computing output earlier for unused tokens
1486914869

1487014870
y = ggml_add(ctx0, y, ggml_mul(ctx0, x, model.layers[il].ssm_d));
14871-
y = ggml_mul(ctx0, y, ggml_silu(ctx0, ggml_cont(ctx0, z)));
14871+
y = ggml_swiglu_split(ctx0, ggml_cont(ctx0, z), y);
1487214872

1487314873
// grouped RMS norm
1487414874
if (model.layers[il].ssm_norm) {

0 commit comments

Comments
 (0)