Skip to content

Commit

Permalink
llama : remove duplicate LLM_TENSOR_NAMES map entry for LLM_ARCH_GPTN…
Browse files Browse the repository at this point in the history
…EOX - didn't notice it was already present
  • Loading branch information
sszymczy committed May 22, 2024
1 parent 1aa777f commit 5234723
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1036,21 +1036,6 @@ static const std::map<llm_arch, std::map<llm_tensor, std::string>> LLM_TENSOR_NA
{ LLM_TENSOR_FFN_UP, "blk.%d.ffn_up" },
},
},
{
LLM_ARCH_GPTNEOX,
{
{ LLM_TENSOR_TOKEN_EMBD, "token_embd" },
{ LLM_TENSOR_TOKEN_EMBD_NORM, "token_embd_norm" },
{ LLM_TENSOR_OUTPUT_NORM, "output_norm" },
{ LLM_TENSOR_OUTPUT, "output" },
{ LLM_TENSOR_ATTN_NORM, "blk.%d.attn_norm" },
{ LLM_TENSOR_ATTN_QKV, "blk.%d.attn_qkv" },
{ LLM_TENSOR_ATTN_OUT, "blk.%d.attn_output" },
{ LLM_TENSOR_FFN_NORM, "blk.%d.ffn_norm" },
{ LLM_TENSOR_FFN_UP, "blk.%d.ffn_up" },
{ LLM_TENSOR_FFN_DOWN, "blk.%d.ffn_down" },
},
},
{
LLM_ARCH_UNKNOWN,
{
Expand Down

0 comments on commit 5234723

Please sign in to comment.