From d205ee9273e0465a39ee01c8cebadc80ce058c3a Mon Sep 17 00:00:00 2001 From: FirstTimeEZ <179362031+FirstTimeEZ@users.noreply.github.com> Date: Fri, 15 Nov 2024 03:11:35 +1300 Subject: [PATCH] llama_model_n_params --- include/llama.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llama.h b/include/llama.h index 0fe725108..02d271352 100644 --- a/include/llama.h +++ b/include/llama.h @@ -472,7 +472,7 @@ extern "C" { LLAMA_API size_t llama_model_size(const struct llama_model * model); // Returns the total number of parameters in the model - LLAMA_API int64_t llama_model_n_params(const struct llama_model * model); + LLAMA_API uint64_t llama_model_n_params(const struct llama_model * model); // Get a llama model tensor LLAMA_API struct ggml_tensor * llama_get_model_tensor(struct llama_model * model, const char * name);