]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ggml : remove ggml_graph_import and ggml_graph_export declarations (ggml/1247)
authorRadoslav Gerganov <redacted>
Fri, 30 May 2025 06:11:09 +0000 (09:11 +0300)
committerGeorgi Gerganov <redacted>
Sun, 1 Jun 2025 10:43:57 +0000 (13:43 +0300)
The implementation is already deleted with commit 9d0762e.

closes: #1235

ggml/include/ggml.h

index 2226aadcff893a7b9245dcb848c2ecfc0da8c464..1a57f1cd75a31eedb2550c87bedca0d4c175e9dc 100644 (file)
@@ -2095,9 +2095,6 @@ extern "C" {
     GGML_API struct ggml_tensor * ggml_graph_get_grad    (const struct ggml_cgraph * cgraph, const struct ggml_tensor * node);
     GGML_API struct ggml_tensor * ggml_graph_get_grad_acc(const struct ggml_cgraph * cgraph, const struct ggml_tensor * node);
 
-    GGML_API void                 ggml_graph_export(const struct ggml_cgraph * cgraph, const char * fname);
-    GGML_API struct ggml_cgraph * ggml_graph_import(const char * fname, struct ggml_context ** ctx_data, struct ggml_context ** ctx_eval);
-
     // print info and performance information for the graph
     GGML_API void ggml_graph_print(const struct ggml_cgraph * cgraph);