From aa4e11dfe5dd503ff4f3fc43d3cb2b6c50f5b278 Mon Sep 17 00:00:00 2001 From: KerfuffleV2 Date: Sat, 7 Oct 2023 17:01:46 -0600 Subject: [PATCH] Fix missing break in Persimmon arch case statements --- llama.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llama.cpp b/llama.cpp index d10656bb801db..a4312ab72d613 100644 --- a/llama.cpp +++ b/llama.cpp @@ -2047,7 +2047,7 @@ static void llm_load_hparams( case 36: model.type = e_model::MODEL_8B; break; default: model.type = e_model::MODEL_UNKNOWN; } - } + } break; case LLM_ARCH_REFACT: { GGUF_GET_KEY(ctx, hparams.f_norm_rms_eps, gguf_get_val_f32, GGUF_TYPE_FLOAT32, true, kv(LLM_KV_ATTENTION_LAYERNORM_RMS_EPS)); @@ -4926,7 +4926,7 @@ static struct ggml_cgraph * llama_build_graph( case LLM_ARCH_PERSIMMON: { result = llm_build_persimmon(lctx, batch); - } + } break; case LLM_ARCH_REFACT: { result = llm_build_refact(lctx, batch);