From 97267e60bdfa06126899bee025a0d52f3b36f2e9 Mon Sep 17 00:00:00 2001 From: liwiii <156206612+liwiii@users.noreply.github.com> Date: Tue, 3 Dec 2024 11:36:59 +0800 Subject: [PATCH] bug fix in common-nexa.cpp gguf_free(ctx_gguf) is called twice in L155, but this typo is not appeared in apollo repos, so this is just a tiny but fatal typo. --- common/common-nexa.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/common/common-nexa.cpp b/common/common-nexa.cpp index cda4706b7..e774fc505 100644 --- a/common/common-nexa.cpp +++ b/common/common-nexa.cpp @@ -152,7 +152,6 @@ bool load_hparams_and_tensors_from_gguf(const std::string &fname, NexaBaseModel ggml_free(meta); gguf_free(ctx_gguf); - gguf_free(ctx_gguf); return true; }