From 85070cff2ce27568b839ec31855b4adbac884c40 Mon Sep 17 00:00:00 2001 From: John <78893154+cmp-nct@users.noreply.github.com> Date: Thu, 18 Jan 2024 22:59:21 +0100 Subject: [PATCH] Update llama.cpp --- llama.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama.cpp b/llama.cpp index b6a2b688b..19b736c44 100644 --- a/llama.cpp +++ b/llama.cpp @@ -3439,7 +3439,7 @@ static bool llm_load_tensors( model.output = ml.create_tensor(ctx_output_split, tn(LLM_TENSOR_OUTPUT, "weight"), {n_embd, n_vocab}); } else { model.output = ml.create_tensor(ctx_output_split, tn(LLM_TENSOR_TOKEN_EMBD, "weight"), {n_embd, n_vocab}); // needs to be on GPU - ml.n_tensors++; // artificial tensor + ml.n_created--; // artificial tensor } }