]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
graph : fix graph reuse reset of params (#14760)
authorGeorgi Gerganov <redacted>
Fri, 18 Jul 2025 17:08:33 +0000 (20:08 +0300)
committerGitHub <redacted>
Fri, 18 Jul 2025 17:08:33 +0000 (20:08 +0300)
ggml-ci

src/llama-graph.cpp

index 7cac3b98fa9cafffff7bb6909238c52fbe12f6da..eff0d563c831b4a60b735e94f8847659ac1039cf 100644 (file)
@@ -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));