llama: fix shadowing

fixes #1363
This commit is contained in:
Pavol Rusnak 2023-05-08 15:44:59 +02:00
parent 173d0e6419
commit 10632d820c
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -970,8 +970,6 @@ static void llama_model_load_internal(
// prepare memory for the weights
{
const auto & hparams = model.hparams;
const uint32_t n_embd = hparams.n_embd;
const uint32_t n_layer = hparams.n_layer;
const uint32_t n_vocab = hparams.n_vocab;