From 44e33d4f37ea0f178e8ebec6e63f3db3a5b96167 Mon Sep 17 00:00:00 2001 From: compilade <113953597+compilade@users.noreply.github.com> Date: Fri, 1 Mar 2024 16:21:15 -0500 Subject: [PATCH] llama : remove redundant inner const for LLM_TENSOR_NAMES The extra const won't do anything here as const maps return const references to values. Co-authored-by: Jared Van Bortel --- llama.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama.cpp b/llama.cpp index f39a6ba0a..28c035bb6 100644 --- a/llama.cpp +++ b/llama.cpp @@ -400,7 +400,7 @@ enum llm_tensor { LLM_TENSOR_LAYER_OUT_NORM, }; -static const std::map> LLM_TENSOR_NAMES = { +static const std::map> LLM_TENSOR_NAMES = { { LLM_ARCH_LLAMA, {