Skip to content

Commit 1f2658f

Browse files
author
none
committed
fix rotary_emb
1 parent 7b518fb commit 1f2658f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightllm/models/deepseek2/triton_kernel/rotary_emb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ def _rotary_kernel(
2121
stride_sinbs,
2222
stride_sind,
2323
max_total_len,
24-
HEAD_Q,
25-
HEAD_K,
24+
HEAD_Q: tl.constexpr,
25+
HEAD_K: tl.constexpr,
2626
BLOCK_SEQ: tl.constexpr,
2727
BLOCK_DMODEL: tl.constexpr,
2828
NUM_STAGE: tl.constexpr,

0 commit comments

Comments
 (0)