Skip to content

Commit df092d6

Browse files
committed
fix: Fix missing break in hparams.n_layer switch
https://github.com/ggml-org/llama.cpp/issues/nemotron-nano-15409 Branch: gabe-l-hart/nvidia-nemotron-nano-15409 Signed-off-by: Gabe Goodhart <[email protected]>
1 parent a8c142d commit df092d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama-model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1561,7 +1561,7 @@ void llama_model::load_hparams(llama_model_loader & ml) {
15611561
ml.get_key(LLM_KV_ATTENTION_LAYERNORM_RMS_EPS, hparams.f_norm_rms_eps);
15621562

15631563
switch (hparams.n_layer) {
1564-
case 56: type = LLM_TYPE_9B;
1564+
case 56: type = LLM_TYPE_9B; break;
15651565
default: type = LLM_TYPE_UNKNOWN;
15661566
}
15671567
} break;

0 commit comments

Comments
 (0)