Skip to content

Commit 9fb1042

Browse files
authored
graph : fix graph reuse reset of params (#14760)
ggml-ci
1 parent 2adf8d8 commit 9fb1042

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/llama-graph.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,8 @@ void llm_graph_result::reset() {
428428
t_embd = nullptr;
429429
t_embd_pooled = nullptr;
430430

431+
params = {};
432+
431433
inputs.clear();
432434

433435
buf_compute_meta.resize(ggml_tensor_overhead()*max_nodes + ggml_graph_overhead_custom(max_nodes, false));

0 commit comments

Comments
 (0)