summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerfuffle <44031344+KerfuffleV2@users.noreply.github.com>2023-10-07 23:22:17 -0600
committerGitHub <noreply@github.com>2023-10-08 08:22:17 +0300
commit63d3b06a4318329f92b078e8aa0be7ab6e9f871f (patch)
tree9ff2a9c0e283efeaf7722033c8c8320d294c8485
parenta16e89cec83b4bd5f6af8f1ce1400f94c12356f9 (diff)
llama : fix missing break in Persimmon arch case statements (#3535)
-rw-r--r--llama.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llama.cpp b/llama.cpp
index d10656bb..a4312ab7 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);