Explorar o código

llama : fix hparams shadow (#1367)

fixes #1363
Pavol Rusnak %!s(int64=2) %!d(string=hai) anos
pai
achega
003ba2fb43
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      llama.cpp

+ 0 - 2
llama.cpp

@@ -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;