]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
graph : make llm_graph_context destructor virtual (#14410)
authorGeorgi Gerganov <redacted>
Fri, 27 Jun 2025 18:42:02 +0000 (21:42 +0300)
committerGitHub <redacted>
Fri, 27 Jun 2025 18:42:02 +0000 (21:42 +0300)
ggml-ci

src/llama-graph.h

index 4b1ec354dfc30f06d00b4dcb1d73857e8ca10cb8..ee2197e892b5a8c4d958c465959327b6d4678bc2 100644 (file)
@@ -475,6 +475,7 @@ struct llm_graph_context {
     std::unique_ptr<llm_graph_result> res;
 
     llm_graph_context(const llm_graph_params & params);
+    virtual ~llm_graph_context() = default;
 
     void cb(ggml_tensor * cur, const char * name, int il) const;