]> git.djapps.eu Git - pkg/ggml/sources/whisper.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 12:14:44 +0000 (15:14 +0300)
The implementation is already deleted with commit 9d0762e.

closes: #1235

ggml/include/ggml.h

index bff7dea3a539bc7b2dde44c0eec6a75a16aa6b42..5af76e8d741bec966f8deec21599c3598d814c53 100644 (file)
@@ -2086,9 +2086,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);