Commit 66979358 authored by liuchy5's avatar liuchy5
Browse files

feat:修复dsa的mqa接口兼容glm5

parent f7461a96
...@@ -121,9 +121,10 @@ def sparse_attn_indexer( ...@@ -121,9 +121,10 @@ def sparse_attn_indexer(
chunk.cu_seqlen_ke, chunk.cu_seqlen_ke,
q_fp8[chunk.token_start:chunk.token_end].shape[0], q_fp8[chunk.token_start:chunk.token_end].shape[0],
k.shape[0], k.shape[0],
64, q_fp8.shape[1],
128, q_fp8.shape[2],
True, None,
True
) )
num_rows = logits.shape[0] num_rows = logits.shape[0]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment