fix bge memory excessive usage?

This commit is contained in:
Concedo
2025-09-21 08:38:37 +08:00
parent 5a098e1646
commit b9280718b5
+1 -1
View File
@@ -270,7 +270,7 @@ llama_context::llama_context(
}
}
if (!hparams.vocab_only) {
if (!hparams.vocab_only && memory) {
llama_memory_context_ptr mctx;
if (memory) {
LLAMA_LOG_DEBUG("%s: reserving full memory module\n", __func__);