Skip to content

Commit d0ef6d9

Browse files
committed
Maybe use the proper gating function? Nooo....
1 parent e0393c0 commit d0ef6d9

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
@@ -19775,7 +19775,7 @@ struct llm_build_minimax_m2 : public llm_graph_context {
1977519775
n_expert, n_expert_used,
1977619776
LLM_FFN_SILU, true,
1977719777
false, 0.0,
19778-
LLAMA_EXPERT_GATING_FUNC_TYPE_SOFTMAX,
19778+
(llama_expert_gating_func_type) hparams.expert_gating_func,
1977919779
il);
1978019780
cb(cur, "ffn_moe_out", il);
1978119781

0 commit comments

Comments
 (0)