]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
llama : fix incorrect Qwen2Moe ffn_moe_out graph callback (#12631)
authorSigbjørn Skjæret <redacted>
Fri, 28 Mar 2025 21:13:02 +0000 (22:13 +0100)
committerGitHub <redacted>
Fri, 28 Mar 2025 21:13:02 +0000 (22:13 +0100)
src/llama-model.cpp

index a442abeb85392f58db38386012e4e323e8cef75a..a4f06112d2842547afc5219a99cb43baeaa5535b 100644 (file)
@@ -6323,7 +6323,7 @@ struct llm_build_qwen2moe : public llm_graph_context {
                         false, 0.0,
                         LLAMA_EXPERT_GATING_FUNC_TYPE_SOFTMAX,
                         il);
-            cb(cur, "ffn_moe_out", il);
+            cb(moe_out, "ffn_moe_out", il);
 
             // FFN shared expert
             {