diff options
author | Pavol Rusnak <pavol@rusnak.io> | 2023-05-08 16:48:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-08 17:48:21 +0300 |
commit | 003ba2fb4309e2339487564bd249e4fcc8d7ea01 (patch) | |
tree | 3e4007f2cd5707727d837f649ef06913782eea0d | |
parent | f9a6364912fd0463fddfdbc9ef9f79fdc281570d (diff) |
llama : fix hparams shadow (#1367)
fixes #1363
-rw-r--r-- | llama.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; |