We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1927378 commit a90484cCopy full SHA for a90484c
src/llama.cpp
@@ -5502,8 +5502,10 @@ static void llm_load_hparams(
5502
}
5503
} else {
5504
switch (hparams.n_layer) {
5505
+ case 16: model.type = e_model::MODEL_1B; break; // Llama 3.2 1B
5506
case 22: model.type = e_model::MODEL_1B; break;
5507
case 26: model.type = e_model::MODEL_3B; break;
5508
+ case 28: model.type = e_model::MODEL_3B; break; // Llama 3.2 3B
5509
// granite uses a vocab with len 49152
5510
case 32: model.type = hparams.n_vocab == 49152 ? e_model::MODEL_3B : (hparams.n_vocab < 40000 ? e_model::MODEL_7B : e_model::MODEL_8B); break;
5511
case 36: model.type = e_model::MODEL_8B; break; // granite
0 commit comments