From f316b94c7c9a4f5a8cc5bc84f2fe7048a38b6ae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Yusuf=20Sar=C4=B1g=C3=B6z?= Date: Thu, 10 Aug 2023 20:20:22 +0300 Subject: [PATCH] gguf : rm deprecated function --- gguf-llama.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gguf-llama.h b/gguf-llama.h index 20dcc9f63..6062f375e 100644 --- a/gguf-llama.h +++ b/gguf-llama.h @@ -222,13 +222,6 @@ extern "C" { struct llama_model * model, struct llama_context_params params); - // Various functions for loading a ggml llama model. - // Allocate (almost) all memory needed for the model. - // Return NULL on failure - LLAMA_API DEPRECATED(struct llama_context * llama_init_from_file( - const char * path_model, - struct llama_context_params params), - "please use llama_load_model_from_file combined with llama_new_context_with_model instead"); // Frees all allocated memory LLAMA_API void llama_free(struct llama_context * ctx);