From: Georgi Gerganov Date: Fri, 18 Jul 2025 17:08:33 +0000 (+0300) Subject: graph : fix graph reuse reset of params (#14760) X-Git-Tag: upstream/0.0.6073~137 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=9fb1042ce6719bc46dbe88ab013148aabe3105f1;p=pkg%2Fggml%2Fsources%2Fllama.cpp graph : fix graph reuse reset of params (#14760) ggml-ci --- diff --git a/src/llama-graph.cpp b/src/llama-graph.cpp index 7cac3b98..eff0d563 100644 --- a/src/llama-graph.cpp +++ b/src/llama-graph.cpp @@ -428,6 +428,8 @@ void llm_graph_result::reset() { t_embd = nullptr; t_embd_pooled = nullptr; + params = {}; + inputs.clear(); buf_compute_meta.resize(ggml_tensor_overhead()*max_nodes + ggml_graph_overhead_custom(max_nodes, false));