]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
spec: add Minimax2 eagle3 support
authorAdrian <redacted>
Mon, 13 Jul 2026 13:22:37 +0000 (06:22 -0700)
committerGitHub <redacted>
Mon, 13 Jul 2026 13:22:37 +0000 (15:22 +0200)
* Fix nullptr in minimax2 EAGLE3

* minor : add newline

---------

Co-authored-by: Georgi Gerganov <redacted>
src/models/minimax-m2.cpp

index b25435e4d97c750920ed2d218f308914ea6605fe..86a8ae2b1d91efd4ca36ef177ed847995bcb5734 100644 (file)
@@ -60,6 +60,8 @@ llama_model_minimax_m2::graph::graph(const llama_model & model, const llm_graph_
     ggml_tensor * inp_out_ids = build_inp_out_ids();
 
     for (int il = 0; il < n_layer; ++il) {
+        res->t_layer_inp[il] = inpL;
+
         ggml_tensor * inpSA = inpL;
 
         cur = inpL;