8000 llama : fix missing break in Persimmon arch case statements (#3535) · CodeLinaro/llama.cpp@63d3b06 · GitHub
[go: up one dir, main page]

Skip to content

Commit 63d3b06

Browse files
authored
llama : fix missing break in Persimmon arch case statements (ggml-org#3535)
1 parent a16e89c commit 63d3b06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llama.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,7 +2047,7 @@ static void llm_load_hparams(
20472047
case 36: model.type = e_model::MODEL_8B; break;
20482048
default: model.type = e_model::MODEL_UNKNOWN;
20492049
}
2050-
}
2050+
} break;
20512051
case LLM_ARCH_REFACT:
20522052
{
20532053
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(
49264926
case LLM_ARCH_PERSIMMON:
49274927
{
49284928
result = llm_build_persimmon(lctx, batch);
4929-
}
4929+
} break;
49304930
case LLM_ARCH_REFACT:
49314931
{
49324932
result = llm_build_refact(lctx, batch);

0 commit comments

Comments
 (0)
0