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.
This commit is contained in:
liwiii 2024-12-03 11:36:59 +08:00 committed by GitHub
parent 0b15d2d745
commit 97267e60bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -152,7 +152,6 @@ bool load_hparams_and_tensors_from_gguf(const std::string &fname, NexaBaseModel
ggml_free(meta); ggml_free(meta);
gguf_free(ctx_gguf); gguf_free(ctx_gguf);
gguf_free(ctx_gguf);
return true; return true;
} }