Skip to content

Commit 296ca59

Browse files
authored
fix build_attn
1 parent 37a13a5 commit 296ca59

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
@@ -18700,7 +18700,7 @@ struct llm_build_grovemoe : public llm_graph_context {
1870018700

1870118701
cur = build_attn(inp_attn,
1870218702
model.layers[il].wo, model.layers[il].bo,
18703-
Qcur, Kcur, Vcur, nullptr, nullptr, 1.0f/sqrtf(float(n_embd_head)), il);
18703+
Qcur, Kcur, Vcur, nullptr, nullptr, nullptr, 1.0f/sqrtf(float(n_embd_head)), il);
1870418704
}
1870518705

1870618706
if (il == n_layer - 1 && inp_out_ids) {

0 commit comments

Comments
 (0)