Skip to content

Commit 3062fed

Browse files
Apply suggestion from @gemini-code-assist[bot]
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent eb4b957 commit 3062fed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightllm/models/deepseek3_2/infer_struct.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def _init_nsa_indexing_structures(self):
6262
offset += seq_len
6363

6464
self.mem_index = torch.cat(mem_index_list, dim=0)
65-
# ks : [seq_len_q] 标志kv的起始位置
66-
# ke : [seq_len_q] 标志kv的结束位置
65+
# ks: [seq_len_q] marks the start position of kv
66+
# ke: [seq_len_q] marks the end position of kv
6767
self.ks = torch.cat(ks_list, dim=0)
6868
self.ke = torch.cat(ke_list, dim=0)
6969
self.lengths = torch.cat(lengths_list, dim=0)

0 commit comments

Comments
 (0)