Skip to content

Commit 1fcf508

Browse files
ggerganovMinh141120
authored andcommitted
graph : make llm_graph_context destructor virtual (ggml-org#14410)
ggml-ci
1 parent 30f100d commit 1fcf508

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/llama-graph.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@ struct llm_graph_context {
476476
std::unique_ptr<llm_graph_result> res;
477477

478478
llm_graph_context(const llm_graph_params & params);
479+
virtual ~llm_graph_context() = default;
479480

480481
void cb(ggml_tensor * cur, const char * name, int il) const;
481482

0 commit comments

Comments
 (0)