Skip to content

Commit cfe5e98

Browse files
committed
graph : fix graph reuse reset of params
ggml-ci
1 parent 021cc28 commit cfe5e98

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)