From 8f9fe6dd7fb7102271ec6e04bbe668c553e3a6d1 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 24 Feb 2024 12:40:44 +0200 Subject: [PATCH] llama : fix build --- llama.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llama.cpp b/llama.cpp index cbeb9714e..f074bb262 100644 --- a/llama.cpp +++ b/llama.cpp @@ -11792,8 +11792,10 @@ enum llama_rope_type llama_rope_type(const struct llama_model * model) { // all model arches should be listed explicitly here case LLM_ARCH_UNKNOWN: GGML_ASSERT(false && "unknown architecture"); - return LLAMA_ROPE_TYPE_NONE; + break; } + + return LLAMA_ROPE_TYPE_NONE; } int32_t llama_n_vocab(const struct llama_model * model) {