Skip to content

Commit 003ba2f

Browse files
authored
llama : fix hparams shadow (#1367)
fixes #1363
1 parent f9a6364 commit 003ba2f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: llama.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -970,8 +970,6 @@ static void llama_model_load_internal(
970970

971971
// prepare memory for the weights
972972
{
973-
const auto & hparams = model.hparams;
974-
975973
const uint32_t n_embd = hparams.n_embd;
976974
const uint32_t n_layer = hparams.n_layer;
977975
const uint32_t n_vocab = hparams.n_vocab;

0 commit comments

Comments
 (0)