Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
Signed-off-by: intellinjun <[email protected]>
  • Loading branch information
intellinjun committed Feb 29, 2024
1 parent 24156e0 commit 7ef7a2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion neural_speed/core/ne_layers.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ static const char* NE_OP_LABEL[NE_OP_COUNT] = {
"FFN_SILU",
"FFN_GeLU",
"FFN_ADD_GeLU",
"FFN_ID_SILU",
"FLASH_ATTN",
"FLASH_ATTN_KV_UPDATE",
"FLASH_FF",
Expand All @@ -445,7 +446,7 @@ static const char* NE_OP_LABEL[NE_OP_COUNT] = {
"DEBUG",
};

static_assert(NE_OP_COUNT == 66, "NE_OP_COUNT != 66");
static_assert(NE_OP_COUNT == 67, "NE_OP_COUNT != 67");

static const char* NE_OP_SYMBOL[NE_OP_COUNT] = {
"none",
Expand Down Expand Up @@ -503,6 +504,7 @@ static const char* NE_OP_SYMBOL[NE_OP_COUNT] = {

"QKV(x)",
"ffn_silu(x)",
"ffn_id_silu(x)",
"ffn_gelu(x)",
"ffn_gelu_with_bias(x)",
"flash_attn(x)",
Expand Down

0 comments on commit 7ef7a2e

Please sign in to comment.