Explorar o código

llama : fix typo "imp_embd" -> "inp_embd"

Georgi Gerganov %!s(int64=2) %!d(string=hai) anos
pai
achega
3cabe80630
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      llama.cpp

+ 1 - 1
llama.cpp

@@ -5040,7 +5040,7 @@ struct llm_build_context {
         struct ggml_tensor * inpL;
         struct ggml_tensor * inpL;
 
 
         inpL = llm_build_inp_embd(ctx0, hparams, batch, model.tok_embd, cb);
         inpL = llm_build_inp_embd(ctx0, hparams, batch, model.tok_embd, cb);
-        cb(inpL, "imp_embd", -1);
+        cb(inpL, "inp_embd", -1);
 
 
         // inp_pos - contains the positions
         // inp_pos - contains the positions
         struct ggml_tensor * inp_pos = ggml_new_tensor_1d(ctx0, GGML_TYPE_I32, n_tokens);
         struct ggml_tensor * inp_pos = ggml_new_tensor_1d(ctx0, GGML_TYPE_I32, n_tokens);